Compare commits

..

2 Commits

Author SHA1 Message Date
Kamesuta
6f0ab3a130
Merge 6f9a5c65cc into ab7e3c301c 2023-10-22 18:22:31 +00:00
Kamesuta
6f9a5c65cc Fix ForgeInstallerCLI path for mac. 2023-10-23 03:22:22 +09:00

View File

@ -558,7 +558,7 @@ async function dlAsync(login = true) {
} else { } else {
const exePath = remote.app.getPath('exe') const exePath = remote.app.getPath('exe')
if(process.platform === 'darwin'){ if(process.platform === 'darwin'){
wrapperPath = join(exePath, '..', '..', 'Contents', 'Resources', 'libraries', 'java', 'ForgeInstallerCLI.jar') wrapperPath = join(exePath, '..', '..', 'Resources', 'libraries', 'java', 'ForgeInstallerCLI.jar')
} else { } else {
wrapperPath = join(exePath, '..', 'resources', 'libraries', 'java', 'ForgeInstallerCLI.jar') wrapperPath = join(exePath, '..', 'resources', 'libraries', 'java', 'ForgeInstallerCLI.jar')
} }