Repository navigation
Go + Wails phase 4: installers, release, self-update, macOS menu, drafts migration; remove src-tauri - #48
Merged
Conversation
…om the Tauri webview
…alls, .app, deb, rpm, AppImage, Arch); CI upgrade tests
…files in the deb upgrade test internal/menubar imports Wails, which links GTK through cgo on Linux, so go vet, go test and govulncheck need the headers and the gtk3 tag. The Tauri .deb lists its directories without a trailing slash, so the file comparison now skips directory entries by mode.
The *.key ignore rule kept it out of the repository, so the updater tests failed on a fresh checkout. It is a test-only key; the signature fixtures were made with it.
The README lists macOS 12 as the minimum and drops the MSI. The changelog tells users on macOS 10.13 to 11 to keep 0.5.7, since the Tauri updater cannot hold the update back by OS version. CI checks LSMinimumSystemVersion and the minos of both slices.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #47. Stacked on #46 (phase 3).
What changes
packaging/,release.yml). The release publishes the same files under the same names as before, built from the Go app:Windows: a new NSIS setup with the Tauri layout:
%LOCALAPPDATA%\LowQuery\lowquery.exeplusuninstall.exe;HKCUuninstall and app keys, and the Start Menu shortcut with AppUserModelIDdev.lowbloat.lowquery;/P /UPDATE /R /ARGS.There is also a portable zip.
macOS: a universal
.appwith executablelowqueryand iddev.lowbloat.lowquery, ad-hoc signed. The DMG and.app.tar.gzare rooted atLowQuery.app/.Linux:
.deband.rpmwith packagelow-queryand/usr/bin/lowquery, as in the Tauri packages;wails3plus linuxdeploy, pinned and checksummed;Updater files are signed by
tools/updatesign. Its signatures are Tauri-compatible (minisign, same key,-app-version), so Tauri installs accept the Go build through their own updater.Windows executable resources: a
.sysowith the icon, version info and a manifest (PerMonitorV2, Common Controls 6).internal/updater):latest.jsonand key as before;/P /UPDATE /R, a bundle swap on macOS, AppImage replacement, orpkexec dpkg/rpm;internal/menubar,set_app_menu): native app, Edit and Window menus around the interface's own menus; clicks come back asapp-menuevents.internal/legacystore,legacy_storage):src-tauri, about 83k lines;@tauri-apps/*packages;crypto/tls,net/httpandcrypto/x509, on paths the app calls. With 1.26.11 it finds none.CI added
windows-setup:lowquery mcpanswers;linux-packages:.deb;dpkg -iover the 0.5.7.deb, and withrpm -Uin Fedora over the 0.5.7.rpm;macos-app: checks the universal binary, Info.plist, signature and tarball layout, and thatlowquery mcpanswers.Verified locally
go vet, the full Go test suite (with PostgreSQL), svelte-check (0 errors),bun test(100), the production bundle andactionlintall pass.update_policyreports a dev copy as portable.Not verified yet