Fix ForgeInstallerCLI path for mac.

pull/304/head
Kamesuta 2023-10-23 03:22:22 +09:00
parent 020eeefcae
commit 6f9a5c65cc
1 changed files with 1 additions and 1 deletions

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')
}