public static void SaveSettingsAsync() { if (Settings != null) { Settings.SaveAsync(ApplicationConfigFilePath); } UploadersConfigSaveAsync(); if (HotkeysConfig != null) { HotkeysConfig.SaveAsync(HotkeysConfigFilePath); } }
public static void SaveSettings() { if (Settings != null) { Settings.Save(ApplicationConfigFilePath); } if (UploadersConfig != null) { UploadersConfig.Save(UploadersConfigFilePath); } if (HotkeysConfig != null) { HotkeysConfig.Save(HotkeysConfigFilePath); } }
public static void LoadHotkeySettings() { HotkeysConfig = HotkeysConfig.Load(HotkeysConfigFilePath); }