mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 08:47:39 +02:00
prod flag fixes
This commit is contained in:
@ -128,7 +128,7 @@ namespace HeavenStudio
|
||||
}
|
||||
ChangeMasterVolume(PersistentDataManager.gameSettings.masterVolume);
|
||||
PlayerInput.InitInputControllers();
|
||||
#if HEAVENSTUDIO_PROD
|
||||
#if HEAVENSTUDIO_PROD && !UNITY_EDITOR
|
||||
Starpelly.OS.ChangeWindowTitle("Heaven Studio");
|
||||
buildTime = Application.buildGUID.Substring(0, 8) + " " + AppInfo.Date.ToString("dd/MM/yyyy hh:mm:ss");
|
||||
#elif UNITY_EDITOR
|
||||
|
@ -503,7 +503,24 @@ namespace HeavenStudio
|
||||
new ExtensionFilter("Heaven Studio Remix File ", new string[] { "riq" }),
|
||||
};
|
||||
|
||||
#if HEAVENSTUDIO_PROD && !UNITY_EDITOR
|
||||
string lvpath = Application.dataPath;
|
||||
if (Application.platform == RuntimePlatform.OSXPlayer)
|
||||
{
|
||||
lvpath += "/../../Levels/";
|
||||
}
|
||||
else
|
||||
{
|
||||
lvpath += "/../Levels/";
|
||||
}
|
||||
if (!Directory.Exists(lvpath))
|
||||
{
|
||||
Directory.CreateDirectory(lvpath);
|
||||
}
|
||||
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", lvpath, extensions, false, (string[] paths) =>
|
||||
#else
|
||||
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", "", extensions, false, (string[] paths) =>
|
||||
#endif
|
||||
{
|
||||
var path = Path.Combine(paths);
|
||||
if (path == string.Empty)
|
||||
|
Reference in New Issue
Block a user