mirror of
https://github.com/ppy/osu
synced 2025-02-03 03:42:15 +00:00
Use environment variable for initializing osuInstallPath
This commit is contained in:
parent
cb0e698e04
commit
2866d62653
@ -163,12 +163,7 @@ namespace osu.Game.Tournament.IPC
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
stableInstallPath = "G:\\My Drive\\Main\\osu!tourney";
|
stableInstallPath = Environment.GetEnvironmentVariable("OSU_STABLE_PATH");
|
||||||
|
|
||||||
if (checkExists(stableInstallPath))
|
|
||||||
return stableInstallPath;
|
|
||||||
|
|
||||||
stableInstallPath = "G:\\My Drive\\Main\\osu!mappool";
|
|
||||||
|
|
||||||
if (checkExists(stableInstallPath))
|
if (checkExists(stableInstallPath))
|
||||||
return stableInstallPath;
|
return stableInstallPath;
|
||||||
|
Loading…
Reference in New Issue
Block a user