Files
archr-flasher/src-tauri/Cargo.toml
T
Douglas Teles 213fc5723c flasher: find SD cards in the built-in Mac reader, ease Gatekeeper
macOS disk discovery only asked diskutil for external disks, but the
built-in SDXC slot on Macs enumerates as internal, so the picker came
up empty for anyone using the native reader. Enumerate every physical
whole disk and decide per disk from Removable Media / Ejectable
instead, still excluding the boot disk and fixed internal drives, and
raise the size ceiling that silently hid 256GB+ cards to 2TB.

Sign the macOS bundles with the ad-hoc identity (Apple Silicon kills
completely unsigned binaries with the misleading damaged-app dialog)
and document the one-time xattr quarantine clear in the README, since
proper notarization needs a paid Apple Developer account.

Bump to 1.3.6.
2026-07-08 11:25:54 -03:00

43 lines
1.2 KiB
TOML

[package]
name = "archr-flasher"
version = "1.3.6"
description = "Arch R SD Card Flasher"
authors = ["Arch R Linux"]
edition = "2024"
default-run = "archr-flasher"
# The GUI app is the only binary in this crate. The privileged
# disk-write helper is NOT a separate binary; it runs as the
# `__flash-write` subcommand of this same binary (see src/flashwrite.rs).
# Keeping a single binary is deliberate: a second [[bin]] made the Tauri
# bundler ship the wrong executable, so the installed app would not
# start. Declared explicitly + default-run to lock the choice in.
[[bin]]
name = "archr-flasher"
path = "src/main.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
cc = "1"
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-shell = "2"
tauri-plugin-dialog = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.12", features = ["json", "stream"] }
tokio = { version = "1", features = ["full"] }
xz2 = "0.1"
flate2 = "1"
sys-locale = "0.3"
sha2 = "0.10"
fs2 = "0.4"
md-5 = "0.10"
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]