refactor(updater): accomodate to new tauri config restructure (#924)

* refactor(updater): accomodate to new tauri config restructure

RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md

RFC#5 PR implementation: https://github.com/tauri-apps/tauri/pull/8723

* lint and update configs
This commit is contained in:
Amr Bashir
2024-02-03 14:14:39 +02:00
committed by GitHub
parent 15dc7060e8
commit 506ce4835b
12 changed files with 349 additions and 271 deletions
@@ -1,38 +1,12 @@
{
"identifier": "com.tauri.dev",
"build": {
"distDir": "../build",
"devPath": "http://localhost:5173/",
"devUrl": "http://localhost:5173/",
"frontendDist": "../build",
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"withGlobalTauri": false
"beforeBuildCommand": "pnpm build"
},
"tauri": {
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.tauri.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [],
"externalBin": [],
"copyright": "",
"category": "DeveloperTool",
"shortDescription": "",
"longDescription": "",
"deb": {
"depends": []
},
"macOS": {
"frameworks": [],
"minimumSystemVersion": "",
"exceptionDomain": ""
}
},
"app": {
"windows": [
{
"title": "Tauri App",
@@ -45,5 +19,16 @@
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}