mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-16 17:38:51 +00:00
It's been one week I forgot to commit that ??!
This commit is contained in:
parent
107317afde
commit
fda9a3b1fc
@ -49,12 +49,9 @@ pub async fn listen_game_installation() {
|
|||||||
.unwrap()
|
.unwrap()
|
||||||
.block_on(async {
|
.block_on(async {
|
||||||
if GameState::get_game_dir().await.is_none() {
|
if GameState::get_game_dir().await.is_none() {
|
||||||
if let Err(e) = GameState::set_game_dir(Some(
|
if let Err(e) =
|
||||||
GameState::get_config_directory()
|
GameState::set_game_dir(Some(GameState::get_config_directory().await))
|
||||||
.await
|
.await
|
||||||
.join("babylonia-terminal-config"),
|
|
||||||
))
|
|
||||||
.await
|
|
||||||
{
|
{
|
||||||
ReportError {
|
ReportError {
|
||||||
error_message: format!("Failed to set new path : {}", e),
|
error_message: format!("Failed to set new path : {}", e),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user