[chore]: try to build a windows packaging pipeline
This commit is contained in:
parent
f7d6b6be96
commit
38dadc9150
2 changed files with 18 additions and 0 deletions
13
Cargo.toml
13
Cargo.toml
|
|
@ -69,6 +69,19 @@ features = ["wgpu"]
|
|||
# [profile.dev]
|
||||
# opt-level = 3
|
||||
|
||||
[package.metadata.packager]
|
||||
version = "0.1.0"
|
||||
identifier = "xyz.cochrun.lumina"
|
||||
icons = ["res/icons/app.ico"]
|
||||
resources = ["res"]
|
||||
category = "Video"
|
||||
|
||||
[package.metadata.packager.windows]
|
||||
allow_downgrades = true
|
||||
|
||||
[package.metadata.packager.nsis]
|
||||
installer_icon = "res/icons/app.ico"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
debug = true
|
||||
|
|
|
|||
5
justfile
5
justfile
|
|
@ -43,6 +43,11 @@ alias rr := run-release
|
|||
alias rf := run-file
|
||||
alias c := clean
|
||||
|
||||
##### Sets up and builds the exe installer with nsis
|
||||
windows-packager:
|
||||
cargo install cargo-packager --locked
|
||||
cargo build --release
|
||||
cargo packager --release -f nsis
|
||||
|
||||
##### Sets up flatpak to be able to build the lumina flatpak using all the latest pieces
|
||||
flatpak-setup: flatpak-install-sdk install-flatpak-builder-tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue