mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-17 23:41:47 +03:00
parent
cb701aaf3f
commit
206af9da32
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,6 @@ fn main() {
|
|||
|
||||
// Init app window and show it
|
||||
application.connect_activate(move |app| {
|
||||
let config = lib::config::get().expect("Failed to load config");
|
||||
|
||||
// Apply CSS styles to the application
|
||||
let provider = CssProvider::new();
|
||||
|
||||
|
@ -93,6 +91,8 @@ fn main() {
|
|||
}
|
||||
|
||||
else {
|
||||
let config = lib::config::get().expect("Failed to load config");
|
||||
|
||||
// Create wine builds folder
|
||||
if !Path::new(&config.game.wine.builds).exists() {
|
||||
fs::create_dir_all(config.game.wine.builds)
|
||||
|
|
Loading…
Reference in a new issue