mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-06-22 04:11:37 +10:00
Fix emulator path calculation (#188)
Fixes a typo that makes the emulator executable append to the **game** install dir, not the **emulator** install dir.
This commit is contained in:
@@ -9,7 +9,6 @@ use remote::{
|
||||
auth::generate_authorization_header, error::RemoteAccessError, requests::generate_url,
|
||||
utils::DROP_CLIENT_ASYNC,
|
||||
};
|
||||
use reqwest::StatusCode;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fs::remove_dir_all;
|
||||
use std::thread::spawn;
|
||||
|
||||
@@ -371,6 +371,7 @@ impl ProcessManager<'_> {
|
||||
let emulator_install_dir = match emulator_game_status {
|
||||
GameDownloadStatus::Installed {
|
||||
install_type: InstalledGameType::Installed,
|
||||
install_dir,
|
||||
..
|
||||
} => Ok(install_dir),
|
||||
GameDownloadStatus::Installed {
|
||||
|
||||
Reference in New Issue
Block a user