diff --git a/resources/js/index.js b/resources/js/index.js index b50d6ba..1c333a7 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -506,7 +506,7 @@ async function setGameExe() { } async function setGrasscutterFolder() { - const folder = await Neutralino.os.showOpenDialog(localeObj.grasscutterFileDialog || 'Select Grasscutter server jar file', { + const folder = await Neutralino.os.showOpenDialog(localeObj?.grasscutterFileDialog || 'Select Grasscutter server jar file', { filters: [ { name: 'Jar files', extensions: ['jar'] } ]