diff --git a/frontend/index.html b/frontend/index.html index 94807f3..aeed78c 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - Mongodup + Rolens
diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index 10f56ea..0e2a44e 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -37,7 +37,7 @@ }); activeHostKey = hostKey; addressBarModalOpen = false; - WindowSetTitle(`${hosts[activeHostKey].name} - Mongodup`); + WindowSetTitle(`${hosts[activeHostKey].name} - Rolens`); } busy.end(); diff --git a/frontend/src/organisms/addressbar/welcome.svelte b/frontend/src/organisms/addressbar/welcome.svelte index 2bfb6c6..ba79bf1 100644 --- a/frontend/src/organisms/addressbar/welcome.svelte +++ b/frontend/src/organisms/addressbar/welcome.svelte @@ -9,7 +9,7 @@
-

Welcome to Mongodup!

+

Welcome to Rolens!

diff --git a/frontend/src/organisms/connection/dblist.svelte b/frontend/src/organisms/connection/dblist.svelte index ad2ae24..14e850d 100644 --- a/frontend/src/organisms/connection/dblist.svelte +++ b/frontend/src/organisms/connection/dblist.svelte @@ -36,7 +36,7 @@ }); activeHostKey = hostKey; dispatch('connected', hostKey); - WindowSetTitle(`${hosts[activeHostKey].name} - Mongodup`); + WindowSetTitle(`${hosts[activeHostKey].name} - Rolens`); } busy.end(); diff --git a/go.mod b/go.mod index 1ccb228..abde62e 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,18 @@ -module github.com/garraflavatra/mongodup +module github.com/garraflavatra/rolens go 1.18 require github.com/wailsapp/wails/v2 v2.3.1 +require ( + github.com/google/uuid v1.1.2 + go.mongodb.org/mongo-driver v1.11.1 +) + require ( github.com/bep/debounce v1.2.1 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/golang/snappy v0.0.1 // indirect - github.com/google/uuid v1.1.2 github.com/imdario/mergo v0.3.12 // indirect github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect github.com/klauspost/compress v1.13.6 // indirect @@ -32,7 +36,6 @@ require ( github.com/xdg-go/scram v1.1.1 // indirect github.com/xdg-go/stringprep v1.0.3 // indirect github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect - go.mongodb.org/mongo-driver v1.11.1 golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect diff --git a/internal/app/settings.go b/internal/app/settings.go index 5a4d760..13589b0 100644 --- a/internal/app/settings.go +++ b/internal/app/settings.go @@ -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") } diff --git a/main.go b/main.go index f4d3f00..195e1ce 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "embed" - "github.com/garraflavatra/mongodup/internal/app" + "github.com/garraflavatra/rolens/internal/app" "github.com/wailsapp/wails/v2" "github.com/wailsapp/wails/v2/pkg/options" "github.com/wailsapp/wails/v2/pkg/options/assetserver" @@ -22,7 +22,7 @@ func main() { app := app.NewApp() err := wails.Run(&options.App{ - Title: "Mongodup", + Title: "Rolens", Width: 1000, Height: 600, MinWidth: 1000, @@ -44,7 +44,7 @@ func main() { WebviewIsTransparent: true, WindowIsTranslucent: true, About: &mac.AboutInfo{ - Title: "Mongodup - MongoDB client", + Title: "Rolens - Multiplatform MongoDB client", Message: "© 2023 Romein van Buren", Icon: appIcon, }, diff --git a/wails.json b/wails.json index ed4fca2..89a39f2 100644 --- a/wails.json +++ b/wails.json @@ -1,7 +1,7 @@ { "$schema": "https://wails.io/schemas/config.v2.json", - "name": "Mongodup", - "outputfilename": "Mongodup", + "name": "Rolens", + "outputfilename": "Rolens", "frontend:install": "npm install", "frontend:build": "npm run build", "frontend:dev:watcher": "npm run dev",