From 224a8b9041d6857cc0d63c2b37e6a7c19d04fbc8 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Thu, 19 May 2022 00:09:16 -0700 Subject: [PATCH] fix missing grasscutter file dialog lang option --- resources/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] } ]