From 8719103462d727953beeff9aa21c0c8b79875ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 14 Jul 2022 18:19:41 +0200 Subject: [PATCH] Manager: set default storage path to "" to trigger the first-time wizard Trigger the first-time wizard on first-time runs of Flamenco, by defaulting the storage path to the empty string. The wizard can always be triggered with the `-wizard` CLI argument. This is just for detection of first-time / unconfigured runs. --- internal/manager/config/defaults.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/manager/config/defaults.go b/internal/manager/config/defaults.go index fe5e2fd2..e547e90f 100644 --- a/internal/manager/config/defaults.go +++ b/internal/manager/config/defaults.go @@ -22,8 +22,7 @@ var defaultConfig = Conf{ DatabaseDSN: "flamenco-manager.sqlite", SSDPDiscovery: true, LocalManagerStoragePath: "./flamenco-manager-storage", - SharedStoragePath: "./flamenco-shared-storage", - // SharedStoragePath: "", // Empty string means "first run", and should trigger the config wizard. + SharedStoragePath: "", // Empty string means "first run", and should trigger the config wizard. Shaman: shaman_config.Config{ // Enable Shaman by default, except on Windows where symlinks are still tricky.