Fix: Unable to get app version on tauri v2

This commit is contained in:
Pinguin2001 2024-11-06 19:40:57 +01:00
parent 0280b3c542
commit a5a7dbd0a3
2 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,7 @@
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@tauri-apps/api": "^2.0.3",
"simple-icons": "^13.15.0",
"svelte-fa": "^4.0.3"
},

View File

@ -0,0 +1,11 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:default",
"core:app:allow-version"
]
}