Steps taken: 1. install tauri via cargo install tauri-cli 2. see errors when running cargo tauri build 3. run cargo tauri migrate as recommended by docs https://tauri.app/start/migrate/from-tauri-1/ 4. manually fix some .ts includes as recommeneded by docs https://tauri.app/start/migrate/from-tauri-1/#migrate-to-core-module 5. successfully build using cargo tauri build
37 lines
No EOL
732 B
JSON
37 lines
No EOL
732 B
JSON
{
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1420"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"productName": "rqbit-desktop",
|
|
"mainBinaryName": "rqbit-desktop",
|
|
"identifier": "com.rqbit.desktop",
|
|
"plugins": {},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"fullscreen": false,
|
|
"resizable": true,
|
|
"title": "rqbit",
|
|
"width": 1024,
|
|
"height": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
}
|
|
} |