Vite default 5173 frequently conflicts with parallel local projects. Move Tusk's vite dev server (and tauri devUrl) to 5174 so it can coexist with another project running on the default port.
45 lines
933 B
JSON
45 lines
933 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Tusk",
|
|
"version": "0.1.0",
|
|
"identifier": "com.tusk.dbm",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:5174",
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Tusk",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"minWidth": 800,
|
|
"minHeight": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; style-src 'self' 'unsafe-inline'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["deb", "rpm", "appimage", "dmg", "nsis"],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
}
|
|
}
|
|
}
|