Merge pull request #13 from LudovicTOURMAN/patch-1

Fix shell variables
This commit is contained in:
Alexander Popov 2020-10-15 02:01:42 +03:00 committed by GitHub
commit e37a9fe8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ MC_DIR=~/.minecraft
# Are stored here... # Are stored here...
# saves/, resourcepacks/ and screenshots/ dirs # saves/, resourcepacks/ and screenshots/ dirs
# and options.txt and servers.dat files # and options.txt and servers.dat files
GAME_DIR=%MC_DIR GAME_DIR=$MC_DIR
# Assets location # Assets location
ASSETS_DIR=$MC_DIR/assets ASSETS_DIR=$MC_DIR/assets
@ -38,7 +38,7 @@ net.minecraft.client.main.Main \
--username $PLAYER_NAME \ --username $PLAYER_NAME \
--version $GAME_VERSION \ --version $GAME_VERSION \
--accessToken 0 --userProperties {} \ --accessToken 0 --userProperties {} \
--gameDir %GAME_DIR% \ --gameDir $GAME_DIR \
--assetsDir $ASSETS_DIR \ --assetsDir $ASSETS_DIR \
--assetIndex $ASSETS_INDEX \ --assetIndex $ASSETS_INDEX \
--width $WINDOW_W --height $WINDOW_H --width $WINDOW_W --height $WINDOW_H