Created
July 17, 2016 19:18
-
-
Save shuhaowu/81f5baaf32cfb0c8c7dc85772f4d97ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SAVE_BASE=~/Seafile/Public/gamesaves/RimWorld | |
switch_save() { | |
version=$1 | |
cd ~/.config/unity3d/Ludeon\ Studios | |
rm RimWorld | |
ln -s ${SAVE_BASE}${version}$2 RimWorld | |
} | |
rimworld_13() { | |
switch_save 13 $1 | |
cd ~/apps/RimWorld1135Linux/ | |
./start_RimWorld.sh | |
} | |
rimworld_14() { | |
switch_save 14 $1 | |
cd ~/apps/RimWorld1234Linux/ | |
./start_RimWorld.sh | |
} | |
set -x | |
rimworld_$1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment