feat: add build script & add ico

This commit is contained in:
m1911star
2022-11-06 23:57:12 +08:00
parent afc6d2b9ec
commit d75e48996e
3 changed files with 5 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
"start": "npm run dev",
"dev": "npm run tauri dev",
"build": "npm run tauri build -- --target universal-apple-darwin",
"build:windows": "npm run tauri build -- --target x86_64-pc-windows-msvc",
"tauri": "tauri"
},
"license": "MIT",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -18,7 +18,10 @@
"all": true
},
"bundle": {
"icon": ["icons/weRead.icns"],
"icon": [
"icons/weRead.icns",
"icons/icon.ico"
],
"active": true,
"category": "DeveloperTool",
"copyright": "",