Repository navigation
Build and Release EN
zipax-bot edited this page Aug 11, 2026
·
1 revision
- Node.js 22+ (Vite 6 / React 19)
- Rust stable (Cargo workspace, edition 2021)
- Tauri CLI v2
cd zipax-cross
npm ci
npm run build # tsc + vite build (outputs to dist/)
npx tauri build # compile Rust and bundleDev mode (hot reload):
npm run tauri dev- Requires Ubuntu 22.04 or newer (WebKitGTK 4.1); Ubuntu 20.04 is not supported
- System dependencies:
sudo apt-get install -y libwebkit2gtk-4.1-0 libde265-0- deb/rpm packages declare
libde265-0(rpm:libde265) andghostscriptdependencies - The installed launch command is
zipax-app(notzipax) - Prefer AppImage on older or non-Ubuntu distributions (bundles runtime libraries)
Workflow file: .github/workflows/release.yml
-
Push a version tag:
git tag v0.25.6 && git push origin v0.25.6 -
Manual: workflow_dispatch with
versioninput (e.g.0.25.6)
| Platform | runner | Installed dependencies |
|---|---|---|
| macOS | macos-latest | brew install cmake libde265 |
| Windows | windows-latest | vcpkg libheif:x64-windows-static
|
| Linux | ubuntu-22.04 | apt: webkit2gtk-4.1, ayatana, librsvg, patchelf, nasm, cmake, libde265-dev |
- macOS:
.dmg,.app.tar.gz - Windows:
.exe(NSIS, passive install mode),.msi(WiX) - Linux:
.deb,.rpm,.AppImage - Each artifact ships with a
.sigsignature +latest.json(updater metadata)
- Windows icon validation: icon.ico must contain 16/32/48/256 DPI layers; StoreLogo corners transparent
- Windows executable validation: GUI subsystem, embedded icon, no heif.dll dynamic dependency
- Bundle size report: written to the GitHub Actions step summary
- Signing key:
TAURI_SIGNING_PRIVATE_KEY(secret), passwordTAURI_SIGNING_PRIVATE_KEY_PASSWORD - Update endpoint:
https://github.com/2716190547/zipax/releases/latest/download/latest.json - Windows install mode:
passive(no prompts)
-
cargo testpasses - Version bumped everywhere:
package.json,tauri.conf.json,Cargo.toml(workspace),package-lock.json - Update
RELEASE_NOTES.md - Push a tag or dispatch the workflow
- Verify artifacts after the build, publish the draft Release
Language / 语言:
- 简体中文 · English
- Home
- Tech-Stack
- Architecture
- Compression-Engine
- Features
- Build-and-Release
- CLI-Usage
- Ghostscript-Install
- Release-History
- Docs-Index
- Home-EN
- Tech-Stack-EN
- Architecture-EN
- Compression-Engine-EN
- Features-EN
- Build-and-Release-EN
- CLI-Usage-EN
- Ghostscript-Install-EN
- Release-History-EN
- Docs-Index-EN