remove redundant option

This commit is contained in:
SpikeHD
2022-07-13 18:15:32 -07:00
parent b903c27a22
commit fd87adc1f6
4 changed files with 5 additions and 41 deletions

View File

@@ -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', '')
}