Skip to content

Commit

Permalink
feature: install zed.app ide (#267)
Browse files Browse the repository at this point in the history
* feature: install zed.app ide

* fix: create desktop app

* fix: strip duplicate zed.app directory

* fix: try aligning desktop name with app name
  • Loading branch information
p5 authored Jul 14, 2024
1 parent 599bf3a commit a4f1e98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lumina/Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BASE_IMAGE=silverblue
ARG BASE_REGISTRY=ghcr.io/rsturla/eternal-linux/main/${BASE_IMAGE}
ARG BASE_TAG=39
ARG BASE_TAG=40
ARG FEDORA_VERSION=${BASE_TAG}


Expand Down
11 changes: 10 additions & 1 deletion lumina/scripts/_base/007-install-development-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,14 @@ rpm-ostree install \
curl -Lo /tmp/devbox https://releases.jetpack.io/devbox
install -c -m 0755 /tmp/devbox /usr/bin/devbox

rm -f /etc/yum.repos.d/github.repo
# Install Zed IDE
curl -Lo /tmp/zed.tar.gz https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
mkdir -p /usr/lib/zed.app/
tar -xvf /tmp/zed.tar.gz -C /usr/lib/zed.app/ --strip-components=1
ln -s /usr/lib/zed.app/bin/zed /usr/bin/zed
cp /usr/lib/zed.app/share/applications/zed.desktop /usr/share/applications/dev.zed.Zed.desktop
sed -i "s|Icon=zed|Icon=/usr/lib/zed.app/share/icons/hicolor/512x512/apps/zed.png|g" /usr/share/applications/dev.zed.Zed.desktop
sed -i "s|Exec=zed|Exec=/usr/lib/zed.app/libexec/zed-editor|g" /usr/share/applications/dev.zed.Zed.desktop

rm -f /etc/yum.repos.d/github.repo
rm -f /etc/yum.repos.d/vscode.repo

0 comments on commit a4f1e98

Please sign in to comment.