diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 911a279..234aaeb 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -8,7 +8,7 @@ on: - '**.png' # Ignore image files - '**.bat' # Ignore batch files - '**.gif' # Ignore gif files - # - '**.yml' # Ignore yaml files + - '**.yml' # Ignore yaml files jobs: diff --git a/Program.cs b/Program.cs index 8c01253..54868a0 100644 --- a/Program.cs +++ b/Program.cs @@ -12,6 +12,7 @@ namespace ToNSaveManager internal static class Program { internal const string ProgramName = "ToNSaveManager"; + internal static readonly string ProgramDirectory = AppContext.BaseDirectory ?? string.Empty; internal static readonly string DataLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), ProgramName); internal static readonly string LegacyDataLocation = Path.Combine(LogWatcher.GetVRChatDataLocation(), ProgramName);