Skip to repository content28 lines · 695 B · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T00:30:26.080Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
snap-build
1#!/usr/bin/env bash
2
3set -euxo pipefail
4
5if [ "$#" -ne 1 ]; then
6 echo "Usage: $0 <release_version>"
7 exit 1
8fi
9
10mkdir -p snap/gui
11
12export DO_STARTUP_NOTIFY="true"
13export APP_NAME="Zed"
14export APP_CLI="zed"
15export APP_ICON="\${SNAP}/meta/gui/zed.png"
16export APP_ARGS="%U"
17envsubst < "crates/zed/resources/zed.desktop.in" > "snap/gui/zed.desktop"
18cp "crates/zed/resources/app-icon.png" "snap/gui/zed.png"
19
20RELEASE_VERSION="$1" envsubst < crates/zed/resources/snap/snapcraft.yaml.in > snap/snapcraft.yaml
21
22# Clean seems to be needed to actually check that the snapcraft.yaml
23# works. For example, when a `stage-package` is removed, it will
24# still remain on rebuild.
25snapcraft clean
26
27snapcraft
28