mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-29 00:20:21 +00:00
Merge pull request #2684 from isoraqathedh/patch-1
Pass command line arguments through to the executable
This commit is contained in:
commit
53ad5cb436
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user