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.
This commit is contained in:
Sybren A. Stüvel 2022-07-14 18:19:41 +02:00
parent b35af5de9f
commit 8719103462

View File

@ -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.