DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
69 stars 9 forks source link

Icon change in the menu of macOS/Windows doesn't work #144

Closed teon closed 5 months ago

filipslezaklab commented 6 months ago

Tauri is unable to resolve the path to the icon. Try path builder instead of &str

teon commented 6 months ago

@filipslezaklab @blazej-teonite on Linux after chaging the icon to black, client crashed and desnt want to start, log:

thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.16.5/src/platform_impl/linux/icon.rs:59:40:
called `Result::unwrap()` on an `Err` value: Parameter(ParameterError { inner: ImageBufferSize { expected: 4096, actual: 2048 } })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace