mirror of
https://github.com/mileswolfallen2/OmniEmu2.0.git
synced 2026-09-08 11:23:17 +00:00
still workign to make it this is just a back up
This commit is contained in:
+47
-12
@@ -4,7 +4,7 @@
|
||||
"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": "concurrently -k \"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",
|
||||
@@ -12,10 +12,14 @@
|
||||
"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",
|
||||
"prepare": "python3 scripts/generate-icons.py",
|
||||
"postinstall": "node node_modules/electron/install.js",
|
||||
"package:mac": "npm run build && electron-builder --mac --universal",
|
||||
"package:mac:x64": "npm run build && electron-builder --mac --x64",
|
||||
"package:mac:arm64": "npm run build && electron-builder --mac --arm64",
|
||||
"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",
|
||||
"package:all": "npm run build && electron-builder --mac --universal --win --linux",
|
||||
"typecheck": "tsc --noEmit -p tsconfig.main.json && tsc --noEmit -p tsconfig.renderer.json"
|
||||
},
|
||||
"author": "",
|
||||
@@ -25,7 +29,7 @@
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"@vitejs/plugin-react": "^4.4.0",
|
||||
"concurrently": "^9.1.0",
|
||||
"electron": "^33.0.0",
|
||||
"electron": "^43.1.0",
|
||||
"electron-builder": "^25.1.0",
|
||||
"typescript": "^5.7.0",
|
||||
"vite": "^6.0.0"
|
||||
@@ -38,30 +42,61 @@
|
||||
"appId": "com.omniemu.app",
|
||||
"productName": "OmniEmu",
|
||||
"directories": {
|
||||
"output": "release"
|
||||
"output": "release",
|
||||
"buildResources": "assets"
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"package.json"
|
||||
],
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "assets",
|
||||
"to": "assets",
|
||||
"filter": [
|
||||
"*.png",
|
||||
"*.icns",
|
||||
"*.ico"
|
||||
]
|
||||
}
|
||||
],
|
||||
"mac": {
|
||||
"category": "public.app-category.utilities",
|
||||
"target": ["dmg", "zip"],
|
||||
"icon": "assets/icon.png",
|
||||
"target": [
|
||||
"dmg",
|
||||
"zip"
|
||||
],
|
||||
"artifactName": "${productName}-${version}-mac-${arch}.${ext}",
|
||||
"hardenedRuntime": true
|
||||
"hardenedRuntime": false
|
||||
},
|
||||
"win": {
|
||||
"target": ["nsis", "zip"],
|
||||
"icon": "assets/icon.png",
|
||||
"target": [
|
||||
"nsis",
|
||||
"zip"
|
||||
],
|
||||
"artifactName": "${productName}-${version}-win-${arch}.${ext}"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true
|
||||
"oneClick": true,
|
||||
"allowToChangeInstallationDirectory": false,
|
||||
"createDesktopShortcut": true,
|
||||
"createStartMenuShortcut": true
|
||||
},
|
||||
"linux": {
|
||||
"target": ["AppImage", "deb"],
|
||||
"category": "Utility",
|
||||
"icon": "assets/icon.png",
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb"
|
||||
],
|
||||
"category": "Game",
|
||||
"artifactName": "${productName}-${version}-linux-${arch}.${ext}"
|
||||
}
|
||||
},
|
||||
"allowScripts": {
|
||||
"[email protected]": true,
|
||||
"[email protected]": true,
|
||||
"[email protected]": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user