fix(tauri): update tauri to work with vite

This commit is contained in:
Alice Carroll
2024-11-09 02:04:52 +03:00
parent fc879b888c
commit e1aa54e358
4 changed files with 38 additions and 5 deletions

View File

@@ -3,9 +3,10 @@
"version": "0.1.0",
"identifier": "xyz.learnanything.desktop",
"build": {
"frontendDist": "https://dev.learn-anything.xyz",
"frontendDist": "../web/.output/public",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "bun dev"
"beforeDevCommand": "bun dev",
"beforeBuildCommand": "bun web:build"
},
"app": {
"windows": [
@@ -24,6 +25,12 @@
"bundle": {
"active": true,
"targets": "all",
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"]
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}