Voiced now ships as a native Void Linux package: - packaging/void/template: xbps-src template - packaging/void/build-xbps.sh: builds and indexes a local .xbps repository - packaging/void/voiced.desktop: application entry Also fixes a real bug: the `custom-protocol` feature was never enabled, so releases ran in development mode and tried to reach a dev server on localhost:1420 instead of serving the embedded frontend. It is now declared in Cargo.toml and passed explicitly by every build script. The Void package output moved out of Vite's `dist/` (which is wiped on each build) to `build/void/`. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
41 lines
1.0 KiB
TOML
41 lines
1.0 KiB
TOML
[package]
|
|
name = "voiced"
|
|
version = "0.1.0"
|
|
description = "Voiced — offline invoicing desktop app by Bongbetic"
|
|
authors = ["Bongbetic"]
|
|
edition = "2021"
|
|
rust-version = "1.77"
|
|
|
|
# The `_lib` suffix keeps the library name distinct from the binary name on Windows.
|
|
[lib]
|
|
name = "voiced_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rusqlite = { version = "0.40", features = ["bundled"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
thiserror = "2"
|
|
base64 = "0.22"
|
|
|
|
[features]
|
|
# Production builds embed the frontend and serve it over the custom asset
|
|
# protocol. Without this, the app expects a dev server on localhost:1420.
|
|
# DO NOT REMOVE.
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
panic = "abort"
|
|
strip = true
|