diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-12-14 00:44:53 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-12-14 00:44:53 +0300 |
commit | fdc554bd182485b786f3b74a2faa2208a29e880b (patch) | |
tree | 124116ad604fe3129ba896dd2669c9d765b1c175 | |
parent | efc9b488c92f07607903e8d740ee79b7eadc9b7b (diff) |
nestiler-colors.json path fix
-rw-r--r-- | NesTiler/Config.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NesTiler/Config.cs b/NesTiler/Config.cs index 2f4a327..c4c8225 100644 --- a/NesTiler/Config.cs +++ b/NesTiler/Config.cs @@ -52,7 +52,7 @@ namespace com.clusterrr.Famicom.NesTiler {
ColorsFile = Path.Combine(Path.GetDirectoryName(Process.GetCurrentProcess().MainModule!.FileName)!, DEFAULT_COLORS_FILE);
if (!File.Exists(ColorsFile))
- Path.Combine(AppContext.BaseDirectory, DEFAULT_COLORS_FILE);
+ ColorsFile = Path.Combine(AppContext.BaseDirectory, DEFAULT_COLORS_FILE);
if (!File.Exists(ColorsFile) && !OperatingSystem.IsWindows())
ColorsFile = Path.Combine("/etc", DEFAULT_COLORS_FILE);
}
|