mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 16:14:48 +01:00
Fix 3dmigoto path setting
Apparently broken since 1.0.21 whoops
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user