diff --git a/Cargo.lock b/Cargo.lock index a96362f..7c330ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -536,6 +536,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" +[[package]] +name = "either" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" + [[package]] name = "encoding_rs" version = "0.8.35" @@ -545,6 +551,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "env_home" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f84e12ccf0a7ddc17a6c41c93326024c42920d7ee630d04950e6926645c0fe" + [[package]] name = "equivalent" version = "1.0.2" @@ -1302,6 +1314,7 @@ dependencies = [ "tracing", "tracing-subscriber", "tray-icon", + "which", "windows-sys 0.59.0", ] @@ -3246,6 +3259,18 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" +[[package]] +name = "which" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d643ce3fd3e5b54854602a080f34fb10ab75e0b813ee32d00ca2b44fa74762" +dependencies = [ + "either", + "env_home", + "rustix", + "winsafe", +] + [[package]] name = "winapi" version = "0.3.9" @@ -3510,6 +3535,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "winsafe" +version = "0.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" + [[package]] name = "wit-bindgen" version = "0.57.1" diff --git a/Cargo.toml b/Cargo.toml index 5926025..c1e8ae1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,8 @@ image = { version = "0.25", default-features = false, features = ["png"] } arboard = "3" # System tray tray-icon = "0.19" +# Find executables in PATH (NSSM discovery) +which = "7" # Windows API (pour titre fenêtre active) windows-sys = { version = "0.59", features = [ "Win32_UI_WindowsAndMessaging", diff --git a/src/frontend/changelog.html b/src/frontend/changelog.html index c7997e3..89924e9 100644 --- a/src/frontend/changelog.html +++ b/src/frontend/changelog.html @@ -3,7 +3,7 @@ -Changelog — imagod-web v0.2.0+build.29-9cabfb5-dirty +Changelog — imagod-web v0.2.0+build.30-ce93740-dirty