chore: update tauri config & Makefile (#133)

* chore: add make commands

* chore: update tauri config
This commit is contained in:
Medcl
2025-02-10 15:55:45 +08:00
committed by GitHub
parent f006adccac
commit cf9c9cddc9
2 changed files with 29 additions and 5 deletions

View File

@@ -41,6 +41,31 @@ build-mac-universal-dmg:
@echo "Building the desktop dmg package..."
pnpm tauri build --target universal-apple-darwin --bundles dmg
# Build nsis package for Windows
build-win-nsis: install-dependencies
@echo "Building the desktop nsis package..."
pnpm tauri build --bundles nsis
# Build msi package for Windows
build-win-msi: install-dependencies
@echo "Building the desktop msi package..."
pnpm tauri build --bundles msi
# Build deb package for Linux
build-linux-deb: install-dependencies
@echo "Building the desktop deb package..."
pnpm tauri build --bundles deb
# Build rpm package for Linux
build-linux-rpm: install-dependencies
@echo "Building the desktop rpm package..."
pnpm tauri build --bundles rpm
# Build appimage package for Linux
build-linux-appimage: install-dependencies
@echo "Building the desktop appimage package..."
pnpm tauri build --bundles appimage
# Combined: Install dependencies, start dev, and build app
dev-build: install-dependencies start-dev build-app
@echo "Development and build process completed."

View File

@@ -124,9 +124,11 @@
},
"window": {},
"updater": {
"pubkey": "",
"dialog": true,
"active": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5RjNFQUM3NDdGMjgzNUIKUldSYmcvSkh4K3J6eWFrYlRGTjFPZTJXQWIyMGJtWjdLVUplZm9kcHcvdWQ0aTZjMUYvOUJ5K08K",
"endpoints": [
"https://api.coco.rs/update"
"https://api.coco.rs/update/{{target}}/{{current_version}}"
]
},
"websocket": {},
@@ -140,9 +142,6 @@
"pathPrefix": [
"/open"
]
},
{
"host": "localhost:9000"
}
],
"desktop": {