mirror of
https://github.com/ppy/osu
synced 2025-02-17 02:47:19 +00:00
Don’t hard fail if stable install is missing
This commit is contained in:
parent
87243a72d3
commit
7f7d4ef442
@ -27,7 +27,18 @@ namespace osu.Game.Tournament.IPC
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
var stable = new StableStorage();
|
||||
|
||||
StableStorage stable;
|
||||
|
||||
try
|
||||
{
|
||||
stable = new StableStorage();
|
||||
}
|
||||
catch
|
||||
{
|
||||
Logger.Log("Stable installation could not be found; disabling file based IPC");
|
||||
return;
|
||||
}
|
||||
|
||||
const string file_ipc_filename = "ipc.txt";
|
||||
const string file_ipc_state_filename = "ipc-state.txt";
|
||||
|
Loading…
Reference in New Issue
Block a user