Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed Aug 8, 2024
1 parent 55584c9 commit ba45aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/ColorMC.Gui/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public App()
WindowManager.ShowError(temp, e.ExceptionObject as Exception);
};

ColorMCGui.StartLock();
if (SystemInfo.Os != OsType.Android)
{
ColorMCGui.StartLock();
}
}

//public static TopLevel? TopLevel { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/ColorMC.Gui/ColorMCGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ public static void StartPhone(string local)
s_arg.Local = RunDir;
ColorMCCore.Init(s_arg);
GuiConfigUtils.Init(RunDir);
FrpConfigUtils.Init(RunDir);
}

public static void SetRuntimeState(bool aot, bool min)
Expand Down

0 comments on commit ba45aa9

Please sign in to comment.