/// <summary> /// Sets up the paths for this game mode. /// </summary> protected override void SetupPaths() { base.SetupPaths(); AdditionalPaths["PluginsFile"] = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "FalloutNV/plugins.txt"); AdditionalPaths.Remove("DLCDir"); }
public MainViewModel() { AdditionalPaths = Properties.UserSettings.Default.AdditionalPaths.Split(';').ToList(); AdditionalPaths.Add("New path..."); Refresh(); }
internal void SaveUserSetting() { Properties.UserSettings.Default.AdditionalPaths = string.Join(";", AdditionalPaths.Where(p => p != "New path...")); Properties.UserSettings.Default.Save(); }