Code cleanup.
This commit is contained in:
@@ -115,9 +115,9 @@ namespace Cryville.Crtr {
|
||||
InputManager = new InputManager();
|
||||
|
||||
#if UNITY_EDITOR_WIN
|
||||
ffmpeg.RootPath = Application.dataPath + "/Plugins/Windows";
|
||||
ffmpeg.RootPath = Path.Combine(Application.dataPath, "Plugins", "Windows");
|
||||
#elif UNITY_STANDALONE_WIN
|
||||
ffmpeg.RootPath = Application.dataPath + "/Plugins/x86_64";
|
||||
ffmpeg.RootPath = Path.Combine(Application.dataPath, "Plugins", "x86_64");
|
||||
#elif UNITY_ANDROID
|
||||
ffmpeg.RootPath = "";
|
||||
#else
|
||||
@@ -164,7 +164,7 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
}
|
||||
|
||||
var dir = new DirectoryInfo(Settings.Default.GameDataPath + "/charts");
|
||||
var dir = new DirectoryInfo(Path.Combine(Settings.Default.GameDataPath, "charts"));
|
||||
if (!dir.Exists || Settings.Default.LastRunVersion != Application.version) {
|
||||
Directory.CreateDirectory(dir.FullName);
|
||||
var defaultData = Resources.Load<TextAsset>("default");
|
||||
|
Reference in New Issue
Block a user