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
+8 -9
View File
@@ -1,15 +1,10 @@
{
"$schema": "../../../node_modules/.pnpm/@tauri-apps+cli@2.0.0-alpha.17/node_modules/@tauri-apps/cli/schema.json",
"identifier": "studio.tauri.example",
"build": {
"distDir": ".",
"devPath": "http://localhost:4000"
"frontendDist": ".",
"devUrl": "http://localhost:4000"
},
"tauri": {
"bundle": {
"identifier": "studio.tauri.example",
"active": true,
"icon": ["../../../examples/api/src-tauri/icons/icon.png"]
},
"app": {
"windows": [
{
"title": "Tauri App"
@@ -18,5 +13,9 @@
"security": {
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: http://tauri.localhost 'unsafe-eval' 'unsafe-inline' 'self'"
}
},
"bundle": {
"active": true,
"icon": ["../../../examples/api/src-tauri/icons/icon.png"]
}
}