|
@@ -2797,12 +2797,12 @@ else:
|
|
|
configprc = ReadFile("makepanda/config.in")
|
|
configprc = ReadFile("makepanda/config.in")
|
|
|
|
|
|
|
|
if (GetTarget() == 'windows'):
|
|
if (GetTarget() == 'windows'):
|
|
|
- configprc = configprc.replace("$HOME/.panda3d", "$USER_APPDATA/Panda3D-%s" % MAJOR_VERSION)
|
|
|
|
|
|
|
+ configprc = configprc.replace("$XDG_CACHE_HOME/panda3d", "$USER_APPDATA/Panda3D-%s" % MAJOR_VERSION)
|
|
|
else:
|
|
else:
|
|
|
configprc = configprc.replace("aux-display pandadx9", "")
|
|
configprc = configprc.replace("aux-display pandadx9", "")
|
|
|
|
|
|
|
|
if (GetTarget() == 'darwin'):
|
|
if (GetTarget() == 'darwin'):
|
|
|
- configprc = configprc.replace(".panda3d/cache", "Library/Caches/Panda3D-%s" % MAJOR_VERSION)
|
|
|
|
|
|
|
+ configprc = configprc.replace("$XDG_CACHE_HOME/panda3d", "Library/Caches/Panda3D-%s" % MAJOR_VERSION)
|
|
|
|
|
|
|
|
# OpenAL is not yet working well on OSX for us, so let's do this for now.
|
|
# OpenAL is not yet working well on OSX for us, so let's do this for now.
|
|
|
configprc = configprc.replace("p3openal_audio", "p3fmod_audio")
|
|
configprc = configprc.replace("p3openal_audio", "p3fmod_audio")
|