diff --git a/Cargo.toml b/Cargo.toml index 862cb8c..f587b05 100644 --- a/Cargo.toml +++ b/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 diff --git a/justfile b/justfile index a890d3e..0426446 100644 --- a/justfile +++ b/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