Skip to content

Commit

Permalink
feat: added desktop file and icon for zwift
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 authored May 21, 2024
1 parent e7fd7ae commit b99584b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/Zwift.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Name=Zwift
Exec=zwift
Type=Application
StartupNotify=true
Icon=zwift
18 changes: 18 additions & 0 deletions assets/hicolor/scalable/apps/Zwift Logogram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ mkdir -p /usr/local/bin
curl -s -o /usr/local/bin/zwift https://raw.githubusercontent.com/netbrain/zwift/master/zwift.sh
chmod +x /usr/local/bin/zwift

mkdir -p /usr/local/share/icons/hicolor/scalable/apps
curl -s -o /usr/local/bin/zwift https://raw.githubusercontent.com/netbrain/zwift/master/assets/hicolor/scalable/apps/Zwift\ Logogram.svg

mkdir -p /usr/local/share/applications
curl -s -o /usr/local/share/applications/Zwift.desktop https://raw.githubusercontent.com/netbrain/zwift/master/assets/Zwift.desktop

if [ "$(echo $PATH | grep /usr/local/bin)" = "" ]; then
echo "WARNING: Could not find /usr/local/bin on the \$PATH, you might need to add it."
fi

0 comments on commit b99584b

Please sign in to comment.