Skip to content

Commit

Permalink
fix installer build
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Nov 3, 2023
1 parent 58a4cde commit 63fa6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VolumeControl/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ private static int Main_Impl(string[] args)
#if RELEASE_FORINSTALLER // use the application's AppData directory for the config file
Settings = new(Path.Combine(PathFinder.ApplicationAppDataPath, "VolumeControl.json"));

if (Settings.LogPath == DefaultLogPath && !CanWriteToDirectory(exeDir))
if (Settings.LogPath == Config.DefaultLogPath && !CanWriteToDirectory(exeDir))
Settings.LogPath = Path.Combine(PathFinder.ApplicationAppDataPath, "VolumeControl.log");
#else
Settings = new("VolumeControl.json");
Expand Down

0 comments on commit 63fa6bb

Please sign in to comment.