File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 8080 if : runner.os == 'Linux'
8181 run : |
8282 sudo apt-get update
83- sudo apt-get install -y libxkbcommon-dev libwayland-dev
83+ sudo apt-get install -y libxkbcommon-dev libwayland-dev libgtk-3-dev
8484
8585 - name : Build GUI
8686 run : cargo build --release --manifest-path mp3rgui/Cargo.toml --target ${{ matrix.target }}
Original file line number Diff line number Diff line change @@ -11,10 +11,17 @@ repository = "https://github.com/M-Igashi/mp3rgain"
1111eframe = " 0.31"
1212egui = " 0.31"
1313egui_extras = { version = " 0.31" , features = [" all_loaders" ] }
14- rfd = " 0.15"
1514image = { version = " 0.25" , default-features = false , features = [" png" ] }
1615mp3rgain = { path = " .." }
1716
17+ # Linux: use GTK3 backend to avoid ashpd/xdg-portal compilation issues
18+ [target .'cfg(target_os = "linux")' .dependencies ]
19+ rfd = { version = " 0.15" , default-features = false , features = [" gtk3" ] }
20+
21+ # macOS/Windows: use native file dialogs
22+ [target .'cfg(not(target_os = "linux"))' .dependencies ]
23+ rfd = " 0.15"
24+
1825[target .'cfg(windows)' .build-dependencies ]
1926winresource = " 0.1"
2027
You can’t perform that action at this time.
0 commit comments