mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-27 07:36:59 +00:00
- Updated import paths for Kugou and Kuwo instructions to reflect new directory structure. - Introduced new key management functionalities for Kugou, including key import and selection logic. - Added comprehensive instructions for both Kugou and Kuwo key handling across various platforms. - Implemented Redux selectors for managing staging and production keys for Kugou and Kuwo. - Enhanced documentation and tests for new features and key management processes.
17 lines
797 B
TypeScript
17 lines
797 B
TypeScript
import { AndroidADBPullInstruction } from '~/components/AndroidADBPullInstruction/AndroidADBPullInstruction';
|
|
import { InstructionsPC } from './InstructionsPC';
|
|
import { InstructionsIOS } from './InstructionsIOS';
|
|
import { InstructionsTabs, InstructionTab } from '~/components/InstructionsTabs';
|
|
|
|
export function KWMv2AllInstructions() {
|
|
const ANDROID_DIR = '/data/data/cn.kuwo.player/files/mmkv';
|
|
const ANDROID_FILE = 'cn.kuwo.player.mmkv.defaultconfig';
|
|
const tabs: InstructionTab[] = [
|
|
{ id: 'android', label: '安卓', content: <AndroidADBPullInstruction dir={ANDROID_DIR} file={ANDROID_FILE} /> },
|
|
{ id: 'ios', label: 'iOS', content: <InstructionsIOS /> },
|
|
{ id: 'windows', label: 'Windows', content: <InstructionsPC /> },
|
|
];
|
|
|
|
return <InstructionsTabs tabs={tabs} />;
|
|
}
|