mirror of
https://github.com/mileswolfallen2/OmniEmu2.0.git
synced 2026-09-08 11:23:17 +00:00
- Implement IPC handlers for system info, emulator management, ROM scanning, and settings. - Create platform utilities to retrieve system information. - Develop preload script to expose API to renderer process. - Establish settings management with file read/write capabilities. - Build main application layout with React, including sidebar navigation and multiple pages (Dashboard, Emulators, Library, Settings). - Design and implement styles for a cohesive user interface. - Add type definitions for shared data structures between main and renderer processes. - Configure TypeScript and Vite for building the application.
68 lines
2.0 KiB
JSON
68 lines
2.0 KiB
JSON
{
|
|
"name": "omniemu2",
|
|
"version": "0.1.0",
|
|
"description": "Cross-platform emulator manager, game launcher and ROM manager",
|
|
"main": "dist/main/index.js",
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:main\" \"npm run dev:renderer\"",
|
|
"dev:main": "tsc -p tsconfig.main.json --watch",
|
|
"dev:renderer": "vite",
|
|
"build": "npm run build:renderer && npm run build:main",
|
|
"build:main": "tsc -p tsconfig.main.json",
|
|
"build:renderer": "vite build",
|
|
"start": "electron dist/main/index.js",
|
|
"preview": "npm run build && npm run start",
|
|
"package:mac": "npm run build && electron-builder --mac",
|
|
"package:win": "npm run build && electron-builder --win",
|
|
"package:linux": "npm run build && electron-builder --linux",
|
|
"package:all": "npm run build && electron-builder --mac --win --linux",
|
|
"typecheck": "tsc --noEmit -p tsconfig.main.json && tsc --noEmit -p tsconfig.renderer.json"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.4.0",
|
|
"concurrently": "^9.1.0",
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^25.1.0",
|
|
"typescript": "^5.7.0",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.omniemu.app",
|
|
"productName": "OmniEmu",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/**/*",
|
|
"package.json"
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.utilities",
|
|
"target": ["dmg", "zip"],
|
|
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
|
"hardenedRuntime": true
|
|
},
|
|
"win": {
|
|
"target": ["nsis", "zip"],
|
|
"artifactName": "${productName}-${version}-win-${arch}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"linux": {
|
|
"target": ["AppImage", "deb"],
|
|
"category": "Utility",
|
|
"artifactName": "${productName}-${version}-linux-${arch}.${ext}"
|
|
}
|
|
}
|
|
}
|