Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added snap/local/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions snap/local/term.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=OpenShell
Comment=OpenShell terminal UI for managing sandboxes and gateways
Exec=openshell.term
Icon=${SNAP}/meta/gui/icon.png
Terminal=true
Type=Application
Categories=Development;
StartupNotify=true
12 changes: 12 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ apps:
- network
- ssh-keys
- system-observe
term:
command: bin/openshell term
desktop: meta/gui/term.desktop
plugs:
- home
- network
- ssh-keys
- system-observe
gateway:
command: bin/openshell-gateway-wrapper
daemon: simple
Expand Down Expand Up @@ -84,6 +92,10 @@ parts:
"$CRAFT_PART_INSTALL/bin/openshell-sandbox"
install -D -m 0755 "$CRAFT_PROJECT_DIR/deploy/snap/bin/openshell-gateway-wrapper" \
"$CRAFT_PART_INSTALL/bin/openshell-gateway-wrapper"
install -D -m 0644 "$CRAFT_PROJECT_DIR/snap/local/term.desktop" \
"$CRAFT_PART_INSTALL/meta/gui/term.desktop"
install -D -m 0644 "$CRAFT_PROJECT_DIR/snap/local/icon.png" \
"$CRAFT_PART_INSTALL/meta/gui/icon.png"
install -D -m 0644 "$CRAFT_PROJECT_DIR/LICENSE" \
"$CRAFT_PART_INSTALL/usr/share/doc/openshell/LICENSE"
install -D -m 0644 "$CRAFT_PROJECT_DIR/README.md" \
Expand Down
Loading