From 91c8e86913545c2535d64b20a621c63aa9112675 Mon Sep 17 00:00:00 2001 From: Kittenji <41535779+ChrisFeline@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:17:03 -0400 Subject: [PATCH] Update Workflow --- .github/workflows/dotnet-desktop.yml | 2 +- Program.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);