diff options
author | Remy Raes <contact@remyraes.com> | 2022-09-20 23:35:47 +0200 |
---|---|---|
committer | Remy Raes <contact@remyraes.com> | 2022-09-20 23:35:47 +0200 |
commit | 21cd1112de9ffc23ff48df990cdaf4b54dfb511f (patch) | |
tree | 489df8e381fbe3553c3a6e63016ecf5bff5ff4a5 /src-tauri | |
parent | 2e622c0989f6abe35e6d8bbd20d523a37e87d923 (diff) | |
download | FlightCore-21cd1112de9ffc23ff48df990cdaf4b54dfb511f.tar.gz FlightCore-21cd1112de9ffc23ff48df990cdaf4b54dfb511f.zip |
build: add new tauri configuration
Diffstat (limited to 'src-tauri')
-rw-r--r-- | src-tauri/tauri.conf.json | 6 | ||||
-rw-r--r-- | src-tauri/tauri.conf.json.old | 69 |
2 files changed, 72 insertions, 3 deletions
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 712e1856..ff4a4761 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,9 +1,9 @@ { "$schema": "../node_modules/@tauri-apps/cli/schema.json", "build": { - "beforeBuildCommand": "", - "beforeDevCommand": "", - "devPath": "http://localhost:8080/", + "beforeBuildCommand": "cd src-vue && npm run build", + "beforeDevCommand": "cd src-vue && npm run dev", + "devPath": "http://localhost:5173/", "distDir": "../dist" }, "package": { diff --git a/src-tauri/tauri.conf.json.old b/src-tauri/tauri.conf.json.old new file mode 100644 index 00000000..712e1856 --- /dev/null +++ b/src-tauri/tauri.conf.json.old @@ -0,0 +1,69 @@ +{ + "$schema": "../node_modules/@tauri-apps/cli/schema.json", + "build": { + "beforeBuildCommand": "", + "beforeDevCommand": "", + "devPath": "http://localhost:8080/", + "distDir": "../dist" + }, + "package": { + "productName": "flightcore", + "version": "0.1.2" + }, + "tauri": { + "allowlist": { + "all": true + }, + "bundle": { + "active": true, + "category": "DeveloperTool", + "copyright": "", + "deb": { + "depends": [] + }, + "externalBin": [], + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "identifier": "com.github.geckoeidechse.flightcore", + "longDescription": "", + "macOS": { + "entitlements": null, + "exceptionDomain": "", + "frameworks": [], + "providerShortName": null, + "signingIdentity": null + }, + "resources": [], + "shortDescription": "", + "targets": "all", + "windows": { + "certificateThumbprint": null, + "digestAlgorithm": "sha256", + "timestampUrl": "" + } + }, + "security": { + "csp": null + }, + "updater": { + "active": true, + "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEVBNjM3NzJGRDgxMTU4NUUKUldSZVdCSFlMM2RqNmdhK3pIZjhEYWg2WnZGSFJqdkhLSHNOSjNhaW5VQVFLaHV3YWFDTnFKWWQK", + "endpoints": [ + "https://github.com/GeckoEidechse/FlightCore/releases/latest/download/latest-release.json" + ], + "dialog": true + }, + "windows": [ + { + "fullscreen": false, + "resizable": true, + "title": "FlightCore" + } + ] + } +}
\ No newline at end of file |