yoink viper back out of code, simplify some config logic

This commit is contained in:
Dane Everitt
2021-01-14 20:11:01 -08:00
parent 9480ccdbba
commit 80faea3286
11 changed files with 527 additions and 602 deletions

View File

@@ -326,7 +326,7 @@ func (ip *InstallationProcess) BeforeExecute() error {
// Returns the log path for the installation process.
func (ip *InstallationProcess) GetLogPath() string {
return filepath.Join(config.Get().System.GetInstallLogPath(), ip.Server.Id()+".log")
return filepath.Join(config.Get().System.LogDirectory, "/install", ip.Server.Id()+".log")
}
// Cleans up after the execution of the installation process. This grabs the logs from the