- Bump the version to 1.0.0 in package.json, Cargo.toml, tauri.conf.json and the Void template. Fingerprint goldens are unchanged. - Rewrite the README: features, data paths on Linux and Windows, backup and restore (backups contain the ERPNext API secret), bundled fonts and licences, font overrides, the ERPNext recipe, build and packaging commands, gates and known limitations. - Add docs/RELEASE.md with the release steps and a manual first-run checklist. - Void template: use a plain npm ci (the optional-dependency omit breaks vite and tsc), and note vendoring and that no OpenSSL is needed. Verified: build-xbps.sh builds voiced-1.0.0_1; it installs and removes cleanly in a clean void-glibc container with fonts, licences and fc-cache handling in place. The cross-compiled NSIS installer is 11.45 MiB and has not been run on Windows.
This commit is contained in:
+10
-4
@@ -21,11 +21,14 @@
|
||||
# not install them. Copy them next to the template (see the commands above).
|
||||
# The stock x11-fonts trigger enabled by font_dirs does not run fc-cache
|
||||
# unless mkfontdir and mkfontscale are installed, hence these scripts.
|
||||
# * If the build machine is offline, pre-populate the npm cache and Cargo
|
||||
# registry in the masterdir before building.
|
||||
# * xbps-src builds without network access: vendor the crates (`cargo vendor`
|
||||
# in src-tauri/ plus a .cargo/config.toml pointing at vendor/) and pre-populate
|
||||
# the npm cache in the source archive or masterdir before building.
|
||||
# * No openssl-devel: the ERPNext client uses rustls (ring); reqwest and zip are
|
||||
# pure Rust and need no extra system libraries.
|
||||
#
|
||||
pkgname=voiced
|
||||
version=0.1.0
|
||||
version=1.0.0
|
||||
revision=1
|
||||
archs="x86_64*"
|
||||
hostmakedepends="rust nodejs pkg-config"
|
||||
@@ -43,7 +46,10 @@ compression="zstd"
|
||||
font_dirs="/usr/share/fonts/voiced"
|
||||
|
||||
do_build() {
|
||||
npm install --include=dev --no-audit --no-fund
|
||||
# Not --omit=optional: that also drops rollup's and esbuild's native binaries (they are
|
||||
# optional dependencies), so vite fails; and tsc in `npm run build` type-checks the
|
||||
# @napi-rs/canvas test helpers, so that package must be installed too.
|
||||
npm ci --no-audit --no-fund
|
||||
npm run build
|
||||
cd src-tauri
|
||||
# `custom-protocol` embeds the frontend for production; without it the app
|
||||
|
||||
Reference in New Issue
Block a user