Clean up global temp, exe dir

This commit is contained in:
Matt Nadareski
2020-12-11 22:52:28 -08:00
parent fd3f28eb7c
commit 056b0634f0
13 changed files with 23 additions and 74 deletions

View File

@@ -353,6 +353,7 @@ namespace RombaSharp.Features
// General settings
internal static string _logdir; // Log folder location
internal static string _tmpdir; // Temp folder location
internal static string _webdir; // Web frontend location
internal static string _baddir; // Fail-to-unpack file folder location
internal static int _verbosity; // Verbosity of the output
@@ -682,7 +683,7 @@ CREATE TABLE IF NOT EXISTS dat (
// Finally set all of the fields
Globals.MaxThreads = workers;
_logdir = logdir;
Globals.TempDir = tmpdir;
_tmpdir = tmpdir;
_webdir = webdir;
_baddir = baddir;
_verbosity = verbosity;