1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-20 22:48:02 +00:00

Renamed application to statisfy MongoDB's rights

This commit is contained in:
2023-01-20 20:46:07 +01:00
parent 05058bf363
commit 9f095697f5
8 changed files with 18 additions and 15 deletions

View File

@ -33,11 +33,11 @@ func appDataDirectory() (string, error) {
switch goRuntime.GOOS {
case "windows":
prefDir = filepath.Join(homeDir, "/AppData/Local/Mongodup")
prefDir = filepath.Join(homeDir, "/AppData/Local/Rolens")
case "darwin":
prefDir = filepath.Join(homeDir, "/Library/Application Support/Mongodup")
prefDir = filepath.Join(homeDir, "/Library/Application Support/Rolens")
case "linux":
prefDir = filepath.Join(homeDir, "/.config/Mongodup")
prefDir = filepath.Join(homeDir, "/.config/Rolens")
default:
err = errors.New("unsupported platform")
}