Skip to content

Commit

Permalink
CI/CD: Platform specific tauri conf
Browse files Browse the repository at this point in the history
  • Loading branch information
girogio committed Feb 13, 2024
1 parent 62f8327 commit 4690df5
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
File renamed without changes.
46 changes: 46 additions & 0 deletions backend/tauri.macos.conf.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]",
"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
}
]
}
}
46 changes: 46 additions & 0 deletions backend/tauri.windows.conf.json.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]",
"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
}
]
}
}

0 comments on commit 4690df5

Please sign in to comment.