From 21cd1112de9ffc23ff48df990cdaf4b54dfb511f Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Tue, 20 Sep 2022 23:35:47 +0200 Subject: build: add new tauri configuration --- src-tauri/tauri.conf.json | 6 ++-- src-tauri/tauri.conf.json.old | 69 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 src-tauri/tauri.conf.json.old 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 -- cgit v1.2.3