Skip to content

Commit

Permalink
🔖 Release v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Quarneti committed Feb 17, 2024
1 parent 80949c9 commit 2789d46
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
with:
targets: x86_64-pc-windows-gnu
- run: |
cargo install cargo-bundle
cargo bundle --release --target x86_64-pc-windows-gnu
Move-Item ./target/x86_64-pc-windows-gnu/release/bundle/msi/TinyWiiBackupManager.msi ./TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.msi
cargo build --release --target x86_64-pc-windows-gnu
Move-Item ./target/x86_64-pc-windows-gnu/release/tiny-wii-backup-manager.exe ./TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.exe
Compress-Archive ./TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.exe TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.zip
- uses: softprops/action-gh-release@v1
with:
files: TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.msi
files: TinyWiiBackupManager-${{github.ref_name}}-Windows-x86_64.zip
23 changes: 21 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tiny-wii-backup-manager"
version = "0.3.5"
version = "0.3.6"
authors = ["Manuel Quarneti <manuelquarneti@protonmail.com>"]
edition = "2021"
license = "GPL-2.0-only"
Expand Down Expand Up @@ -31,6 +31,9 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
open = "5.0"

[build-dependencies]
winres = "0.1"

[profile.release]
strip = true
opt-level = "z"
Expand Down
11 changes: 11 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use {
std::{env, io},
winres::WindowsResource,
};

fn main() -> io::Result<()> {
if env::var_os("CARGO_CFG_WINDOWS").is_some() {
WindowsResource::new().set_icon("logo.ico").compile()?;
}
Ok(())
}
Binary file added logo.ico
Binary file not shown.

0 comments on commit 2789d46

Please sign in to comment.