(f3d83a912) Disabled: Separate mac path to test if editing the actual application folder when using steam is OK

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:32:38 +03:00
parent 2215c2fba0
commit 9f87239724
13 changed files with 419 additions and 83 deletions
@@ -159,14 +159,14 @@ namespace Barotrauma
public GameMain()
{
#if !DEBUG && OSX
/*#if !DEBUG && OSX
// Use a separate path for content that's editable due to macOS's .app bundles crashing when edited during runtime
string macPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "Library/Barotrauma");
Directory.SetCurrentDirectory(macPath);
Content.RootDirectory = macPath + "/Content";
#else
#else*/
Content.RootDirectory = "Content";
#endif
/*#endif*/
GraphicsDeviceManager = new GraphicsDeviceManager(this);