mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:12:57 +08: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]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
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_filename = "ipc.txt";
|
||||||
const string file_ipc_state_filename = "ipc-state.txt";
|
const string file_ipc_state_filename = "ipc-state.txt";
|
||||||
|
Loading…
Reference in New Issue
Block a user