Skip to content

Commit 55f3398

Browse files
committed
Fixed fabric download #3
1 parent 0e89ef0 commit 55f3398

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simplelauncher",
3-
"version": "0.3.6",
3+
"version": "0.3.8",
44
"description": "Launcher for SimpleClient",
55
"main": "src/main.js",
66
"scripts": {

src/download/fabricdownloader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ const downloadFabric = async (version, meta) => {
2020
log('Executing Fabric installer...')
2121
const args = ['-jar', fabricInstallerFile, 'client', '-dir', getMinecraftDir(), '-mcversion', version.minecraft_version, '-loader', version.fabric_version, '-noprofile']
2222
if (spawnSync(join(getJavaPath(meta.javaVersion.component), 'bin', 'javaw'), args, {
23-
cwd: getDirectory(),
24-
env: {PATH: env.PATH + separator + getJavaPath(meta.javaVersion.component)}
23+
cwd: getDirectory()
2524
}).signal != 0) return false
2625
log('Successfully installed Fabric Loader')
2726
}

0 commit comments

Comments
 (0)