Perform elevated check asynchronously, use a separate function w/ switch statement

This commit is contained in:
Christine Chen
2021-04-26 22:37:08 -04:00
parent c3bad1d4c5
commit a2723f3f57
3 changed files with 35 additions and 17 deletions

View File

@ -9,7 +9,7 @@ using System.Reflection;
using System.Runtime.Versioning;
using System.Threading.Tasks;
using Microsoft.Win32;
using osu.Desktop.Admin;
using osu.Desktop.Security;
using osu.Desktop.Overlays;
using osu.Framework.Platform;
using osu.Game;