Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ AWS_LC_SYS_CFLAGS = "-fno-lto"

[alias]
build-dist-appimage = "--config .cargo/dist.toml build -Z build-std=std,panic_abort --release --no-default-features --features dist-appimage"
build-dist-windows-modern = "--config .cargo/dist.toml build -Z build-std=std,panic_abort --release --no-default-features --features dist-windows-modern"
build-dist-windows-legacy = "--config .cargo/dist.toml build -Z build-std=std,panic_abort --release --no-default-features --features dist-windows-legacy"
build-dist-windows = "--config .cargo/dist.toml build -Z build-std=std,panic_abort --release --no-default-features --features dist-windows"
build-dist-macos = "--config .cargo/dist.toml build -Z build-std=std,panic_abort --release --no-default-features --features dist-macos"
15 changes: 5 additions & 10 deletions .cargo/dist.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ CXXFLAGS_aarch64_pc_windows_msvc = "/clang:-O3 /clang:-flto /clang:-fuse-ld=lld-

CC_i686_win7_windows_msvc = "clang-cl"
CXX_i686_win7_windows_msvc = "clang-cl"
CFLAGS_i686_win7_windows_msvc = "/clang:-O3"
CXXFLAGS_i686_win7_windows_msvc = "/clang:-O3"
AR_i686_win7_windows_msvc = "llvm-lib"
CFLAGS_i686_win7_windows_msvc = "/clang:-O3 /clang:-fuse-ld=lld-link"
CXXFLAGS_i686_win7_windows_msvc = "/clang:-O3 /clang:-fuse-ld=lld-link"

CC_x86_64_apple_darwin = "clang"
CXX_x86_64_apple_darwin = "clang++"
Expand Down Expand Up @@ -68,20 +69,14 @@ rustflags = ["-C", "linker-plugin-lto", "-C", "link-arg=-fuse-ld=lld"]

[target.x86_64-win7-windows-msvc]
linker = "lld-link"
rustflags = [
"-C",
"target-feature=+crt-static",
"-C",
"linker-plugin-lto",
"-C",
"link-arg=/FORCE:MULTIPLE",
]
rustflags = ["-C", "target-feature=+crt-static", "-C", "linker-plugin-lto"]

[target.aarch64-pc-windows-msvc]
linker = "lld-link"
rustflags = ["-C", "target-feature=+crt-static", "-C", "linker-plugin-lto"]

[target.i686-win7-windows-msvc]
linker = "lld-link"
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-apple-darwin]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
- ".cargo/*"
- "package/**"
- "dockerfiles/**"
- "Justfile"
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- 💬 When exporting a game, the format is now selectable in the dialog (thanks @davideme <https://github.com/PolyMeilex/rfd/pull/328>)

### Changed

- 💬 Windows x86 builds now use the modern (Vista+) dialogs instead of the XP ones
- 🛜 Windows x86 builds now use the windows tls instead of a bundled one

### Fixed

- 🐛 Could not export games as .gcm

### Removed

- 🔥 Since the builds don't seem to work anymore on Windows XP for some reason, I'm raising again the minimum supported windows version to Windows 7. \
I probably won't bother working on this by myself (as it's becoming increasingly difficult to test for me), but PRs are welcome

## [v6.1.11] - 2026-11-03

### Fixed
Expand Down
73 changes: 18 additions & 55 deletions Cargo.lock

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

44 changes: 10 additions & 34 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ OriginalFilename = "TinyWiiBackupManager.exe"
LegalCopyright = "Copyright © 2026 Manuel Quarneti. Licensed under GPL-3.0-only."

[features]
default = ["native-tls", "static-nod", "dialogs-rfd"]
default = ["native-tls", "static-nod"]

native-tls = ["minreq/https-native-tls"] # uses system tls
bundled-tls = ["minreq/https-rustls-probe"] # bundled tls + os certificates
bundled-tls-certs = ["minreq/https-rustls"] # bundled tls + bundled certificates
bundled-tls = ["minreq/https-rustls-probe"] # uses bundled tls + os certificates

# bundled compression libraries
static-nod = [
Expand All @@ -27,29 +26,10 @@ static-nod = [
"nod/compress-zstd-static",
]

dialogs-rfd = ["dep:rfd"] # modern
dialogs-tfd = ["dep:tinyfiledialogs"] # legacy

yy-thunks = []
vc-ltl5 = []

dist-appimage = ["bundled-tls", "static-nod", "dialogs-rfd"]
dist-flatpak = ["native-tls", "dialogs-rfd"]
dist-windows-modern = [
"native-tls",
"static-nod",
"dialogs-rfd",
"yy-thunks",
"vc-ltl5",
]
dist-windows-legacy = [
"bundled-tls-certs",
"static-nod",
"dialogs-tfd",
"yy-thunks",
"vc-ltl5",
]
dist-macos = ["native-tls", "static-nod", "dialogs-rfd"]
dist-appimage = ["bundled-tls", "static-nod"]
dist-flatpak = ["native-tls"]
dist-windows = ["native-tls", "static-nod"]
dist-macos = ["native-tls", "static-nod"]

[dependencies]
iced = { version = "0.14", default-features = false, features = [
Expand Down Expand Up @@ -101,26 +81,22 @@ nod = { git = "https://github.com/wiidev/nod.git", branch = "fix-block-handling"
] }
semver = "1"
humantime = "2"
rfd = { version = "0.18", optional = true }
tinyfiledialogs = { version = "3", default-features = false, optional = true }
rfd = "0.18"
self_cell = "1.3" # free dependency: also dependency of cosmic-text

[target.'cfg(any(target_os = "linux", target_arch = "aarch64"))'.dependencies]
[target.'cfg(any(target_os = "linux", all(target_os = "macos", target_arch = "aarch64")))'.dependencies]
mundy = { version = "0.2", default-features = false, features = [
"accent-color",
"color-scheme",
] }

[target.'cfg(not(any(target_os = "linux", target_arch = "aarch64")))'.dependencies]
dark-light = { version = "3", default-features = false }

[target.'cfg(target_os = "windows")'.dependencies]
wgpu = { version = "27.0", default-features = false, features = [
"std",
"parking_lot",
"dx12",
] }
winsafe = { version = "0.0.29", features = ["dwm"] }
winsafe = { version = "0.0.29", features = ["dwm", "advapi"] }

[target.'cfg(target_os = "linux")'.dependencies]
wgpu = { version = "27.0", default-features = false, features = [
Expand All @@ -139,7 +115,7 @@ wgpu = { version = "27.0", default-features = false, features = [
[build-dependencies]
hex = { version = "0.4", default-features = false }
winresource = "0.1"
sevenz-rust2 = { version = "0.24", default-features = false, features = [
sevenz-rust2 = { version = "0.25", default-features = false, features = [
"util",
] }
zip = { version = "9", default-features = false, features = [
Expand Down
10 changes: 5 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ package-linux-i686: (_package-linux "i686")
# -------

[windows]
_build-windows target arch variant:
cargo build-dist-windows-{{variant}} --target {{target}}
_build-windows target arch:
cargo build-dist-windows --target {{target}}
New-Item -ItemType Directory -Force -Path out | Out-Null
Copy-Item -Path target\{{target}}\release\TinyWiiBackupManager.exe -Destination out\TinyWiiBackupManager-windows-{{arch}}.exe

[windows]
build-windows-x64: (_build-windows "x86_64-win7-windows-msvc" "x64" "modern")
build-windows-x64: (_build-windows "x86_64-win7-windows-msvc" "x64")
[windows]
build-windows-arm64: (_build-windows "aarch64-pc-windows-msvc" "arm64" "modern")
build-windows-arm64: (_build-windows "aarch64-pc-windows-msvc" "arm64")
[windows]
build-windows-x86: (_build-windows "i686-win7-windows-msvc" "x86" "legacy")
build-windows-x86: (_build-windows "i686-win7-windows-msvc" "x86")

# just a copy
[windows]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- **Lightweight & fast**: Native app written in Rust and Iced, no Electron!
- **Vast platform support**:
- :window: Windows XP+ | x86 (32-bit), x64 (64-bit), arm64 (Qualcomm Snapdragon etc.)
- :window: Windows 7+ | x86 (32-bit), x64 (64-bit), arm64 (Qualcomm Snapdragon etc.)
- :apple: macOS 10.12+ | x86_64 (Intel), arm64 (Apple Silicon/M1+)
- :penguin: Linux ~2014+ | x86 (32-bit), x86_64 (64-bit), arm64 (Raspberry PIs etc.)

Expand Down
Loading
Loading