mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 04:57:38 -04:00
bef44470c6
Fixes #303 by checking for the installation and directing the user to go install it themselves, avoids complicated installer editing which is good, i can now pursue getting that translated and switching to NSIS (i think doing the VCC installation would have been easier with the wix installer). However this is also better because it will check when the game is installed rather than the launcher itself (you could imagine a user removing the runtime after installing the launcher). ![Screenshot 2024-02-10 170813](https://github.com/open-goal/launcher/assets/13153231/2155819d-400b-41ba-97aa-c5f6c95ce427)
80 lines
1.7 KiB
JSON
80 lines
1.7 KiB
JSON
{
|
|
"package": {
|
|
"productName": "OpenGOAL-Launcher",
|
|
"version": "2.4.1"
|
|
},
|
|
"build": {
|
|
"distDir": "../dist",
|
|
"devPath": "http://localhost:3000/",
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build"
|
|
},
|
|
"tauri": {
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": [
|
|
"msi",
|
|
"appimage",
|
|
"app",
|
|
"dmg",
|
|
"updater"
|
|
],
|
|
"identifier": "OpenGOAL-Launcher",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"copyright": "",
|
|
"category": "DeveloperTool",
|
|
"shortDescription": "",
|
|
"longDescription": "",
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": ""
|
|
}
|
|
},
|
|
"allowlist": {
|
|
"all": true,
|
|
"clipboard": {
|
|
"writeText": true
|
|
},
|
|
"fs": {
|
|
"scope": [
|
|
"$APP/",
|
|
"$APP/iso/*",
|
|
"$APP/*",
|
|
"$APP/**/*",
|
|
"$RESOURCE/**/*"
|
|
]
|
|
},
|
|
"protocol": {
|
|
"asset": true,
|
|
"assetScope": ["**"]
|
|
},
|
|
"os": {
|
|
"all": true
|
|
}
|
|
},
|
|
"windows": [
|
|
{
|
|
"title": "OpenGOAL Launcher - Splash",
|
|
"label": "splashscreen",
|
|
"width": 200,
|
|
"height": 300,
|
|
"center": true,
|
|
"decorations": false,
|
|
"transparent": true,
|
|
"resizable": false,
|
|
"fullscreen": false,
|
|
"url": "./src/splash/index.html",
|
|
"visible": true,
|
|
"focus": true
|
|
}
|
|
]
|
|
}
|
|
}
|