Automatically generate tauri icons from single source file
This commit is contained in:
parent
431f789f42
commit
1ce0afdf68
|
@ -26,3 +26,4 @@ packages/server/attachments
|
|||
/data
|
||||
packages/extension/dist
|
||||
packages/tauri/dist
|
||||
packages/tauri/src-tauri/icons
|
||||
|
|
|
@ -7,14 +7,13 @@
|
|||
"distDir": "../dist",
|
||||
"devPath": "http://localhost:8080",
|
||||
"beforeDevCommand": "webpack serve",
|
||||
"beforeBuildCommand": "webpack"
|
||||
"beforeBuildCommand": "npm run tauri icon -i ../../assets/app-icon.png && webpack"
|
||||
},
|
||||
"tauri": {
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"identifier": "app.padloc",
|
||||
"icon": ["icons/icon.png", "icons/icon.icns", "icons/icon.ico"],
|
||||
"resources": [],
|
||||
"externalBin": [],
|
||||
"copyright": "",
|
||||
|
|
Loading…
Reference in New Issue