Fix 3dmigoto path setting

Apparently broken since 1.0.21 whoops
This commit is contained in:
Thoronium
2023-04-02 01:11:07 -06:00
parent ef3ba2a045
commit 5d6bd72083
3 changed files with 3 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ pub fn install_location() -> String {
} }
#[tauri::command] #[tauri::command]
pub fn set_migoto_target(_path: String, migoto_path: String) -> bool { pub fn set_migoto_target(migoto_path: String) -> bool {
let mut migoto_pathbuf = PathBuf::from(migoto_path); let mut migoto_pathbuf = PathBuf::from(migoto_path);
migoto_pathbuf.pop(); migoto_pathbuf.pop();

View File

@@ -7,7 +7,7 @@
}, },
"package": { "package": {
"productName": "Cultivation", "productName": "Cultivation",
"version": "1.0.10" "version": "1.0.23"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {
@@ -69,7 +69,7 @@
"fullscreen": false, "fullscreen": false,
"height": 730, "height": 730,
"resizable": true, "resizable": true,
"title": "Cultivation", "title": "Cultivation: Thorny Edition",
"width": 1280, "width": 1280,
"decorations": false "decorations": false
} }

View File

@@ -191,7 +191,6 @@ export default class Options extends React.Component<IProps, IState> {
// Set game exe in Migoto ini // Set game exe in Migoto ini
invoke('set_migoto_target', { invoke('set_migoto_target', {
path: this.state.game_install_path,
migotoPath: value, migotoPath: value,
}) })
} }