fix missing grasscutter file dialog lang option

This commit is contained in:
SpikeHD 2022-05-19 00:09:16 -07:00
parent b0638e7b76
commit 224a8b9041

View File

@ -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'] }
]