Compare commits

3 Commits

Author SHA1 Message Date
Sovran_Systems
25b758304d Merge pull request #81 from naturallaw777/copilot/add-sovran-hub-desktop-entry
Add sovran-hub.desktop entry and icon for GNOME dock
2026-04-05 11:58:33 -05:00
copilot-swe-agent[bot]
536eb0deb1 Add sovran-hub.desktop entry and icon to GNOME dock
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/42720669-f980-4f13-989e-0728ea9307de

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
2026-04-05 16:52:40 +00:00
copilot-swe-agent[bot]
a390c4711a Initial plan 2026-04-05 16:51:21 +00:00

View File

@@ -230,6 +230,22 @@ let
install -d $out/share/sovran-hub/icons install -d $out/share/sovran-hub/icons
cp icons/* $out/share/sovran-hub/icons/ 2>/dev/null || true cp icons/* $out/share/sovran-hub/icons/ 2>/dev/null || true
install -d $out/share/icons/hicolor/scalable/apps
cp sovran_systemsos_web/static/logo-light.svg $out/share/icons/hicolor/scalable/apps/sovran-hub.svg
install -d $out/share/applications
cat > $out/share/applications/sovran-hub.desktop <<DESKTOP
[Desktop Entry]
Type=Application
Name=Sovran Hub
Comment=Open Sovran_SystemsOS Hub dashboard
Exec=xdg-open http://localhost:8937
Icon=sovran-hub
Terminal=false
Categories=System;
StartupNotify=false
DESKTOP
install -d $out/bin install -d $out/bin
cat > $out/bin/sovran-hub-web <<LAUNCHER cat > $out/bin/sovran-hub-web <<LAUNCHER
#!${pkgs.python3}/bin/python3 #!${pkgs.python3}/bin/python3
@@ -293,6 +309,8 @@ in
}; };
}; };
environment.systemPackages = [ sovran-hub-web ];
networking.firewall.allowedTCPPorts = [ 3051 8937 60847 ]; networking.firewall.allowedTCPPorts = [ 3051 8937 60847 ];
}; };