mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 12:53:18 +12:00
ignore unreachable code warnings on autoupdater
This commit is contained in:
parent
5901ffb5de
commit
688857aea9
|
@ -18,6 +18,7 @@ namespace ModAssistant
|
|||
private static readonly string NewExe = Path.Combine(Path.GetDirectoryName(Utils.ExePath), "ModAssistant.exe");
|
||||
private static readonly string Arguments = App.Arguments;
|
||||
|
||||
#pragma warning disable CS0162 // Unreachable code detected
|
||||
public static async Task<bool> CheckForUpdate()
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -33,6 +34,7 @@ namespace ModAssistant
|
|||
|
||||
return (LatestVersion > CurrentVersion);
|
||||
}
|
||||
#pragma warning restore CS0162 // Unreachable code detected
|
||||
|
||||
public static async Task Run()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue