mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-09-29 08:41:43 +13:00
mark constants as readonly
This commit is contained in:
parent
519d03c0f3
commit
d97b5c89e0
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ namespace ModAssistant
|
|||
private const string ModelSaberURLPrefix = "https://modelsaber.com/files/";
|
||||
private const string BeatSaverURLPrefix = "https://beatsaver.com";
|
||||
|
||||
private static string BeatSaberPath = App.BeatSaberInstallDirectory;
|
||||
private static readonly string BeatSaberPath = App.BeatSaberInstallDirectory;
|
||||
|
||||
private const string CustomAvatarsFolder = "CustomAvatars";
|
||||
private const string CustomSabersFolder = "CustomSabers";
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace ModAssistant
|
|||
{
|
||||
class Updater
|
||||
{
|
||||
private static string APILatestURL = "https://api.github.com/repos/Assistant/ModAssistant/releases/latest";
|
||||
private static readonly string APILatestURL = "https://api.github.com/repos/Assistant/ModAssistant/releases/latest";
|
||||
|
||||
private static Update LatestUpdate;
|
||||
private static Version CurrentVersion;
|
||||
|
|
Loading…
Reference in a new issue