Update run.sh

Pass command line arguments through to the executable
This commit is contained in:
isoraqathedh 2019-06-08 21:21:22 +08:00 committed by GitHub
parent 86850ef5d0
commit d87bd4b588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,12 @@ deploy() {
runmmc() { runmmc() {
cd ${INSTDIR} cd ${INSTDIR}
./MultiMC ./MultiMC "$@"
} }
if [[ ! -f ${INSTDIR}/MultiMC ]]; then if [[ ! -f ${INSTDIR}/MultiMC ]]; then
deploy deploy
runmmc runmmc "$@"
else else
runmmc runmmc "$@"
fi fi