From 4690df5129afaf8f640bfca51e4ff13d055b26dd Mon Sep 17 00:00:00 2001 From: girogio Date: Tue, 13 Feb 2024 23:09:24 +0100 Subject: [PATCH] CI/CD: Platform specific tauri conf --- ...{tauri.conf.json => tauri.linux.conf.json} | 0 backend/tauri.macos.conf.json | 46 +++++++++++++++++++ backend/tauri.windows.conf.json.json | 46 +++++++++++++++++++ 3 files changed, 92 insertions(+) rename backend/{tauri.conf.json => tauri.linux.conf.json} (100%) create mode 100644 backend/tauri.macos.conf.json create mode 100644 backend/tauri.windows.conf.json.json diff --git a/backend/tauri.conf.json b/backend/tauri.linux.conf.json similarity index 100% rename from backend/tauri.conf.json rename to backend/tauri.linux.conf.json diff --git a/backend/tauri.macos.conf.json b/backend/tauri.macos.conf.json new file mode 100644 index 00000000..3a433a2f --- /dev/null +++ b/backend/tauri.macos.conf.json @@ -0,0 +1,46 @@ +{ + "build": { + "beforeDevCommand": "cd frontend ; npm i; npm run dev", + "beforeBuildCommand": "cd frontend ; npm i; npm run build", + "devPath": "http://localhost:1420", + "distDir": "../frontend/dist", + "withGlobalTauri": true + }, + "package": { + "productName": "Avail", + "version": "0.0.1" + }, + "tauri": { + "bundle": { + "active": true, + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "identifier": "com.avail.wallet", + "targets": "all", + "macOS": { + "signingIdentity": "WTK34UZPZK", + "entitlements": "/Users/zk/Avail/Apple/plists/entitlements.plist", + "exceptionDomain": "" + } + }, + "security": { + "csp": null + }, + "windows": [ + { + "fullscreen": false, + "resizable": true, + "title": "Avail", + "width": 1125, + "height": 800, + "minWidth": 843.75, + "minHeight": 600 + } + ] + } +} \ No newline at end of file diff --git a/backend/tauri.windows.conf.json.json b/backend/tauri.windows.conf.json.json new file mode 100644 index 00000000..34d0a46d --- /dev/null +++ b/backend/tauri.windows.conf.json.json @@ -0,0 +1,46 @@ +{ + "build": { + "beforeDevCommand": "cd cd .\\frontend\\ & npm i & npm run dev", + "beforeBuildCommand": "cd .\\frontend\\ & npm i & npm run build", + "devPath": "http://localhost:1420", + "distDir": "..\\frontend\\dist", + "withGlobalTauri": true + }, + "package": { + "productName": "Avail", + "version": "0.0.1" + }, + "tauri": { + "bundle": { + "active": true, + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "identifier": "com.avail.wallet", + "targets": "all", + "macOS": { + "signingIdentity": "WTK34UZPZK", + "entitlements": "/Users/zk/Avail/Apple/plists/entitlements.plist", + "exceptionDomain": "" + } + }, + "security": { + "csp": null + }, + "windows": [ + { + "fullscreen": false, + "resizable": true, + "title": "Avail", + "width": 1125, + "height": 800, + "minWidth": 843.75, + "minHeight": 600 + } + ] + } +}