mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-18 07:51: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
|
// Init app window and show it
|
||||||
application.connect_activate(move |app| {
|
application.connect_activate(move |app| {
|
||||||
let config = lib::config::get().expect("Failed to load config");
|
|
||||||
|
|
||||||
// Apply CSS styles to the application
|
// Apply CSS styles to the application
|
||||||
let provider = CssProvider::new();
|
let provider = CssProvider::new();
|
||||||
|
|
||||||
|
@ -93,6 +91,8 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
let config = lib::config::get().expect("Failed to load config");
|
||||||
|
|
||||||
// Create wine builds folder
|
// Create wine builds folder
|
||||||
if !Path::new(&config.game.wine.builds).exists() {
|
if !Path::new(&config.game.wine.builds).exists() {
|
||||||
fs::create_dir_all(config.game.wine.builds)
|
fs::create_dir_all(config.game.wine.builds)
|
||||||
|
|
Loading…
Reference in a new issue