Use the -mygames switch for DP
authorMrBougo <mrbougo@xonotic.org>
Tue, 6 Jul 2010 20:49:11 +0000 (22:49 +0200)
committerMrBougo <mrbougo@xonotic.org>
Tue, 6 Jul 2010 20:49:11 +0000 (22:49 +0200)
This only affects the game in windows, it makes the user data
directory my documents\my games\xonotic\data instead of storing
everything in the git working copy. Consistent with unix .xonotic.

all

diff --git a/all b/all
index 60afe73f6b2b5987ddfee468eccbe30bbbc6ef11..1c4838550a006c6fcc57d7be3071b08cd5ea946a 100755 (executable)
--- a/all
+++ b/all
@@ -534,7 +534,7 @@ case "$cmd" in
                                exit 1
                        fi
                fi
-               set -- "darkplaces/darkplaces$client" -nexuiz -customgamename Xonotic -customgamedirname1 data -customgamedirname2 "" -customgamescreenshotname xonotic -customgameuserdirname xonotic "$@"
+               set -- "darkplaces/darkplaces$client" -nexuiz -customgamename Xonotic -customgamedirname1 data -customgamedirname2 "" -customgamescreenshotname xonotic -customgameuserdirname xonotic -mygames "$@"
 
                # if pulseaudio is running: USE IT
                if [ -z "$SDL_AUDIODRIVER" ] && ! [ -n "$WE_HATE_OUR_USERS" ] && ! [ x"`uname`" = x"Darwin" ]; then