Fix ForgeInstallerCLI path for mac.

This commit is contained in:
Kamesuta 2023-10-23 03:22:22 +09:00
parent 020eeefcae
commit 6f9a5c65cc

View File

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