diff --git a/README.md b/README.md index 5af57b6..1353491 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,8 @@ AudioSort/ │ │ └── hooks/ # Custom React hooks │ ├── preload/ # Electron preload scripts │ └── shared/ # Shared types and IPC definitions -├── data/ # User data directory (created at runtime) -├── UCS.csv # Universal Category System catalog +├── data/ +│ └── UCS.csv # Universal Category System catalog └── repoimages/ # Documentation assets ``` @@ -138,22 +138,12 @@ AudioSort/ ### Scripts ```bash -npm run dev # Start development server with hot reload -npm run build # Build renderer and main process -npm run lint # Type-check with TypeScript -npm run test # Run test suite -npm run pack # Package without installer -npm run dist # Create distributable -npm run dist:win # Create Windows installer -``` - -### Testing -```bash -npm test # Run all tests -npm run test:database # Database service tests -npm run test:library # Library service tests -npm run test:search # Search service tests -npm run test:tag # Tag service tests +npm run dev # Start development server with hot reload +npm run build # Build renderer and main process +npm run lint # Type-check with TypeScript +npm run pack # Package without installer +npm run dist # Create distributable +npm run dist:win # Create Windows installer ``` ## Configuration diff --git a/UCS.csv b/data/UCS.csv similarity index 100% rename from UCS.csv rename to data/UCS.csv diff --git a/package.json b/package.json index 36e144f..630fc93 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "productName": "AudioSort", "files": [ "dist/**/*", - "UCS.csv" + "data/**/*" ], "directories": { "output": "release" @@ -63,8 +63,8 @@ }, "extraResources": [ { - "from": "UCS.csv", - "to": "UCS.csv" + "from": "data/UCS.csv", + "to": "data/UCS.csv" } ] } diff --git a/src/main/MainApp.ts b/src/main/MainApp.ts index a0f60a0..1b517e9 100644 --- a/src/main/MainApp.ts +++ b/src/main/MainApp.ts @@ -41,7 +41,7 @@ export class MainApp { this.searchService ); - const catalogPath = this.resolveResourcePath('UCS.csv'); + const catalogPath = this.resolveResourcePath(path.join('data', 'UCS.csv')); await this.libraryService.ensureCategoriesLoaded(catalogPath); await this.libraryService.scanLibrary(); diff --git a/test.wav b/test.wav deleted file mode 100644 index 6b60151..0000000 Binary files a/test.wav and /dev/null differ