rename project to EliteBGS

This commit is contained in:
2021-11-10 21:24:39 +01:00
parent f159b29191
commit df4b5d6914
32 changed files with 62 additions and 69 deletions

View File

@@ -1,6 +1,6 @@
using System.ComponentModel;
namespace NonaBGS.Util {
namespace EliteBGS.Util {
public class AppConfig : INotifyPropertyChanged {
private static readonly string default_journal_location = "%UserProfile%\\Saved Games\\Frontier Developments\\Elite Dangerous";
private string journal_location = default_journal_location;
@@ -17,7 +17,7 @@ namespace NonaBGS.Util {
}
public string JournalLocation {
get {
get {
if (journal_location == null) {
return DefaultJournalLocation;
}

View File

@@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using NonaBGS.BGS;
using EliteBGS.BGS;
namespace NonaBGS.Util {
namespace EliteBGS.Util {
public class Config {
private string config_folder = null;
private string objectives_file = null;
@@ -31,7 +31,7 @@ namespace NonaBGS.Util {
public AppConfig Global => global_config;
private void DetermineConfigFolder() {
string folder = Environment.ExpandEnvironmentVariables("%appdata%\\NonaBGS");
string folder = Environment.ExpandEnvironmentVariables("%appdata%\\EliteBGS");
if (!Directory.Exists(folder)) {
Directory.CreateDirectory(folder);