mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-29 02:18:46 +03:00
Fixed settings game command default value in environment settings
This commit is contained in:
parent
c3a6cf37de
commit
bbedc288fe
1 changed files with 4 additions and 0 deletions
|
@ -230,6 +230,10 @@ impl App {
|
|||
|
||||
status_page.set_description(Some("Loading environment..."));
|
||||
|
||||
// Set game command
|
||||
self.widgets.command.set_text(&config.game.command.unwrap_or(String::new()));
|
||||
|
||||
// Add environment variables
|
||||
for (name, value) in config.game.environment {
|
||||
self.update(Actions::Add(Rc::new((name, value)))).unwrap();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue