mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
chore: update tauri config & Makefile (#133)
* chore: add make commands * chore: update tauri config
This commit is contained in:
25
Makefile
25
Makefile
@@ -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."
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user