enable gtk frontend in windows (#58)

The gtk frontend can now be built in windows!
The github workflow is updated to build GTK and add it to the releases section.
This commit is contained in:
Ferdinand Schober
2023-12-24 18:00:59 +01:00
committed by GitHub
parent cdd3a3b818
commit d3fed1b769
11 changed files with 208 additions and 20 deletions

View File

@@ -109,9 +109,9 @@ impl Config {
};
let frontend = match frontend {
#[cfg(all(unix, feature = "gtk"))]
#[cfg(feature = "gtk")]
None => Frontend::Gtk,
#[cfg(any(not(feature = "gtk"), not(unix)))]
#[cfg(not(feature = "gtk"))]
None => Frontend::Cli,
Some(s) => match s.as_str() {
"cli" => Frontend::Cli,