Don’t hard fail if stable install is missing

This commit is contained in:
Dean Herbert 2018-11-17 13:36:36 +09:00
parent 87243a72d3
commit 7f7d4ef442

View File

@ -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";