1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Renamed application to statisfy MongoDB's rights

This commit is contained in:
Romein van Buren 2023-01-20 20:46:07 +01:00
parent 05058bf363
commit 9f095697f5
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
8 changed files with 18 additions and 15 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Mongodup</title>
<title>Rolens</title>
</head>
<body>
<div id="app"></div>

View File

@ -37,7 +37,7 @@
});
activeHostKey = hostKey;
addressBarModalOpen = false;
WindowSetTitle(`${hosts[activeHostKey].name} - Mongodup`);
WindowSetTitle(`${hosts[activeHostKey].name} - Rolens`);
}
busy.end();

View File

@ -9,7 +9,7 @@
</script>
<div class="welcome">
<p class="title">Welcome to Mongodup!</p>
<p class="title">Welcome to Rolens!</p>
<button class="btn" on:click={createHost}>Create your first host</button>
</div>

View File

@ -36,7 +36,7 @@
});
activeHostKey = hostKey;
dispatch('connected', hostKey);
WindowSetTitle(`${hosts[activeHostKey].name} - Mongodup`);
WindowSetTitle(`${hosts[activeHostKey].name} - Rolens`);
}
busy.end();

9
go.mod
View File

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

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")
}

View File

@ -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,
},

View File

@ -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",