mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-25 22:56:59 +00:00
refactor: reorganize Kugou and Kuwo imports, add key management features
- 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.
This commit is contained in:
1 parent
a9a937bc5e
commit
7a11d4f941
58 files changed
+522
-311
No files matched your search
@@ -1,16 +1,11 @@
|
||||
import { getFileName } from './pathHelper';
|
||||
import { SQLDatabase, SQLStatic, loadSQL } from './sqlite';
|
||||
import { KuGou } from '@unlock-music/crypto';
|
||||
import type { StagingQMCv2Key } from '~/features/qmc/types';
|
||||
import type { StagingKugouKey } from '~/features/kugou/types';
|
||||
|
||||
export interface QMAndroidKeyEntry {
|
||||
name: string;
|
||||
ekey: string;
|
||||
}
|
||||
|
||||
export type KugouKeyEntry = {
|
||||
audioHash: string;
|
||||
ekey: string;
|
||||
};
|
||||
export type QMAndroidKeyEntry = Omit<StagingQMCv2Key, 'id'>;
|
||||
export type KugouKeyEntry = Omit<StagingKugouKey, 'id'>;
|
||||
|
||||
export class DatabaseKeyExtractor {
|
||||
private static _instance: DatabaseKeyExtractor;
|
||||
|
||||
Reference in new issue
Block a user