Tweak new folder defaults
This commit is contained in:
parent
c19eff4872
commit
b3a2bf367b
@ -54,7 +54,7 @@ var locations = map[locationEnum]string{
|
|||||||
locPanicLog: "${config}/panic-${timestamp}.log",
|
locPanicLog: "${config}/panic-${timestamp}.log",
|
||||||
locAuditLog: "${config}/audit-${timestamp}.log",
|
locAuditLog: "${config}/audit-${timestamp}.log",
|
||||||
locGUIAssets: "${config}/gui",
|
locGUIAssets: "${config}/gui",
|
||||||
locDefFolder: "${home}/Sync",
|
locDefFolder: "${home}/Sync/",
|
||||||
}
|
}
|
||||||
|
|
||||||
// expandLocations replaces the variables in the location map with actual
|
// expandLocations replaces the variables in the location map with actual
|
||||||
|
|||||||
@ -961,6 +961,7 @@ func defaultConfig(myName string) config.Configuration {
|
|||||||
RescanIntervalS: 60,
|
RescanIntervalS: 60,
|
||||||
MinDiskFreePct: 1,
|
MinDiskFreePct: 1,
|
||||||
Devices: []config.FolderDeviceConfiguration{{DeviceID: myID}},
|
Devices: []config.FolderDeviceConfiguration{{DeviceID: myID}},
|
||||||
|
AutoNormalize: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
newCfg.Devices = []config.DeviceConfiguration{
|
newCfg.Devices = []config.DeviceConfiguration{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user