mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-16 01:14:58 +12:00
don't check for updates when running debug
This commit is contained in:
parent
ad62d5ecbd
commit
b268d472bf
|
@ -20,6 +20,10 @@ namespace ModAssistant
|
|||
|
||||
public static async Task<bool> CheckForUpdate()
|
||||
{
|
||||
#if DEBUG
|
||||
return false;
|
||||
#endif
|
||||
|
||||
var resp = await HttpClient.GetAsync(APILatestURL);
|
||||
var body = await resp.Content.ReadAsStringAsync();
|
||||
LatestUpdate = JsonSerializer.Deserialize<Update>(body);
|
||||
|
|
Loading…
Reference in a new issue