Fix OIDC login in desktop: sync apiUrl before startLogin, add app icon
- Config.svelte: call setConfig() before startLogin() so fetchConfig uses the user-entered server URL - Makefile: copy icon.icns into .app bundle Resources - Info.plist: add CFBundleIconFile entry
This commit is contained in:
1
Makefile
1
Makefile
@@ -66,6 +66,7 @@ desktop-package: desktop ## Build + package the desktop app (zip on macOS, tar
|
||||
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/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 ;; \
|
||||
Linux) \
|
||||
|
||||
Reference in New Issue
Block a user