filoozom
b9ec30ebdb
Update config.go
2014-03-04 11:29:51 +01:00
filoozom
428164f395
Update config.go to handle default slices correctly
2014-03-04 11:25:10 +01:00
filoozom
b4a1aadd1b
Fix divided by zero when the sync folder is empty (tot = 0)
2014-03-03 08:47:52 +01:00
filoozom
8f41d90ab1
Delete cfgFile before renaming it on Windows
2014-03-03 08:46:20 +01:00
filoozom
043dea760f
Set the right config and home dir for each OS
...
Use %AppData%\syncthing for the config files and %USERPROFILE%\Sync as sync folder for Windows.
2014-03-02 23:49:51 +01:00
filoozom
23593c3d20
Update getHomeDir() to use "os/user"
...
os.Getenv("HOME") doesn't work properly on Windows (and maybe other systems?) and the package "os/user" gives us a convenient way to find the home directory for every OS.
2014-03-02 16:07:12 +01:00