diff --git a/.gitea/workflows/desktop.yml b/.gitea/workflows/desktop.yml
index b23d17f..68e74fc 100644
--- a/.gitea/workflows/desktop.yml
+++ b/.gitea/workflows/desktop.yml
@@ -37,12 +37,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev
- - run: CGO_ENABLED=1 go build -o build/bin/oikos-desktop .
+ - run: CGO_ENABLED=1 go build -o build/bin/Oikos .
working-directory: cmd/desktop
- run: |
cd cmd/desktop/build/bin
- tar czf oikos-desktop-linux-amd64.tar.gz oikos-desktop
+ tar czf oikos-desktop-linux-amd64.tar.gz Oikos
sha256sum oikos-desktop-linux-amd64.tar.gz > oikos-desktop-linux-amd64.tar.gz.sha256
- uses: actions/upload-artifact@v4
diff --git a/.gitignore b/.gitignore
index a726c26..400e85a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,4 +21,4 @@ web/node_modules/
# Wails desktop app — frontend copy for embedding
cmd/desktop/frontend/dist/
cmd/desktop/build/
-cmd/desktop/oikos-desktop
+cmd/desktop/Oikos
diff --git a/Makefile b/Makefile
index 4758759..a26b1bd 100644
--- a/Makefile
+++ b/Makefile
@@ -56,28 +56,28 @@ desktop: ui ## Build the Wails desktop app for the current platform
rm -rf cmd/desktop/frontend/dist
mkdir -p cmd/desktop/frontend/dist
cp -r web/dist/* cmd/desktop/frontend/dist/
- cd cmd/desktop && CGO_ENABLED=1 go build -o build/bin/oikos-desktop .
+ cd cmd/desktop && CGO_ENABLED=1 go build -o build/bin/Oikos .
desktop-package: desktop ## Build + package the desktop app (zip on macOS, tar.gz on Linux)
@case $$(uname -s) in \
Darwin) \
- APP="cmd/desktop/build/bin/oikos-desktop.app"; \
+ APP="cmd/desktop/build/bin/Oikos.app"; \
rm -rf "$$APP"; \
mkdir -p "$$APP/Contents/MacOS"; \
mkdir -p "$$APP/Contents/Resources"; \
- cp cmd/desktop/build/bin/oikos-desktop "$$APP/Contents/MacOS/oikos-desktop"; \
+ cp cmd/desktop/build/bin/Oikos "$$APP/Contents/MacOS/Oikos"; \
cp cmd/desktop/icon.icns "$$APP/Contents/Resources/icon.icns"; \
sed 's/$$(VERSION)/0.1.0/' cmd/desktop/Info.plist.template > "$$APP/Contents/Info.plist"; \
- cd cmd/desktop/build/bin && zip -r oikos-desktop-darwin-$$(uname -m).zip oikos-desktop.app ;; \
+ cd cmd/desktop/build/bin && zip -r oikos-desktop-darwin-$$(uname -m).zip Oikos.app ;; \
Linux) \
- cd cmd/desktop/build/bin && tar czf oikos-desktop-linux-$$(uname -m).tar.gz oikos-desktop ;; \
+ cd cmd/desktop/build/bin && tar czf oikos-desktop-linux-$$(uname -m).tar.gz Oikos ;; \
esac
@echo "Package: cmd/desktop/build/bin/"
install: desktop-package ## Install to /Applications
- rm -rf /Applications/oikos-desktop.app
- cp -r cmd/desktop/build/bin/oikos-desktop.app /Applications/
- @echo "Installed to /Applications/oikos-desktop.app"
+ rm -rf /Applications/Oikos.app
+ cp -r cmd/desktop/build/bin/Oikos.app /Applications/
+ @echo "Installed to /Applications/Oikos.app"
clean:
rm -f $(BINARY)
diff --git a/cmd/desktop/Info.plist.template b/cmd/desktop/Info.plist.template
index 2254f19..5c153df 100644
--- a/cmd/desktop/Info.plist.template
+++ b/cmd/desktop/Info.plist.template
@@ -5,7 +5,7 @@
CFBundleDevelopmentRegion
en
CFBundleExecutable
- oikos-desktop
+ Oikos
CFBundleIdentifier
com.hubris.oikos-desktop
CFBundleIconFile
diff --git a/cmd/desktop/Taskfile.yml b/cmd/desktop/Taskfile.yml
index b612dd6..0548f72 100644
--- a/cmd/desktop/Taskfile.yml
+++ b/cmd/desktop/Taskfile.yml
@@ -4,7 +4,7 @@ tasks:
build:
summary: Build the Oikos desktop app
cmds:
- - go build -o build/bin/oikos-desktop .
+ - go build -o build/bin/Oikos .
env:
CGO_ENABLED: 1
diff --git a/cmd/desktop/main.go b/cmd/desktop/main.go
index 7aad4a1..45aee89 100644
--- a/cmd/desktop/main.go
+++ b/cmd/desktop/main.go
@@ -604,12 +604,12 @@ func doUpdate(downloadURL string) error {
return fmt.Errorf("unzip: %w: %s", err, out)
}
- newApp := filepath.Join(extractDir, "oikos-desktop.app")
+ newApp := filepath.Join(extractDir, "Oikos.app")
if _, err := os.Stat(newApp); err != nil {
return fmt.Errorf("extracted app not found: %w", err)
}
- currentApp := "/Applications/oikos-desktop.app"
+ currentApp := "/Applications/Oikos.app"
if _, err := os.Stat(currentApp); os.IsNotExist(err) {
if exe, err := os.Executable(); err == nil {
currentApp = filepath.Dir(filepath.Dir(filepath.Dir(exe)))