mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
remove redundant option
This commit is contained in:
@@ -7,6 +7,6 @@ export async function getGameExecutable() {
|
||||
return null
|
||||
}
|
||||
|
||||
const pathArr = config.game_executable.replace(/\\/g, '/').split('/')
|
||||
const pathArr = config.game_install_path.replace(/\\/g, '/').split('/')
|
||||
return pathArr[pathArr.length - 1].replace('.exe', '')
|
||||
}
|
||||
Reference in New Issue
Block a user