mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 01:13:39 +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,
|
auth::generate_authorization_header, error::RemoteAccessError, requests::generate_url,
|
||||||
utils::DROP_CLIENT_ASYNC,
|
utils::DROP_CLIENT_ASYNC,
|
||||||
};
|
};
|
||||||
use reqwest::StatusCode;
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::fs::remove_dir_all;
|
use std::fs::remove_dir_all;
|
||||||
use std::thread::spawn;
|
use std::thread::spawn;
|
||||||
|
|||||||
@@ -371,6 +371,7 @@ impl ProcessManager<'_> {
|
|||||||
let emulator_install_dir = match emulator_game_status {
|
let emulator_install_dir = match emulator_game_status {
|
||||||
GameDownloadStatus::Installed {
|
GameDownloadStatus::Installed {
|
||||||
install_type: InstalledGameType::Installed,
|
install_type: InstalledGameType::Installed,
|
||||||
|
install_dir,
|
||||||
..
|
..
|
||||||
} => Ok(install_dir),
|
} => Ok(install_dir),
|
||||||
GameDownloadStatus::Installed {
|
GameDownloadStatus::Installed {
|
||||||
|
|||||||
Reference in New Issue
Block a user