Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ else
endif
OS := $(shell uname -s)

# Updater artifacts (.tar.gz/.zip + .sig) require the signing key, so only
# enable them when TAURI_SIGNING_PRIVATE_KEY is set (release CI). Without it,
# plain bundles are built and local/fork-PR builds keep working.
TAURI_BUILD_ARGS :=
ifdef TAURI_SIGNING_PRIVATE_KEY
TAURI_BUILD_ARGS += --config '{"bundle":{"createUpdaterArtifacts":true}}'
endif

build: prebuild
npm run tauri build
npm run tauri build -- $(TAURI_BUILD_ARGS)

dev: prebuild
npm run tauri dev
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"plugins": {
"updater": {
"pubkey": "",
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERDOEZGQzlEN0NERDlGQjAKUldTd245MThuZnlQM0Q1Z0JuT0RZU0JEVUxlT0x5TGc0Q09YbVZadHFwRllsRDFRMFJ2eTFtUEYK",
"endpoints": [
"https://github.com/ActivityWatch/activitywatch/releases/latest/download/latest.json"
],
Expand Down