Skip to content

Commit

Permalink
Merge pull request #933 from ivan-hc/main
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
ivan-hc authored Sep 7, 2024
2 parents fe79497 + 616f90a commit 2e748e3
Show file tree
Hide file tree
Showing 19 changed files with 969 additions and 5 deletions.
8 changes: 7 additions & 1 deletion programs/x86_64-appimages
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@
◆ ideamaker : 3D slicing software, automatically generates support structure.
◆ ideamerit : Diagramming tool. Software for drawing Objectives and Key Results.
◆ igdm : Desktop application for Instagram DMs.
◆ iheartradio-webapp : Election WebApp for iHeartRadio.
◆ imagemagick-clang : CLI to create, edit, compose, or convert digital images.
◆ imagemagick-gcc : CLI to create, edit, compose, or convert digital images.
◆ imagemosaicwall : Create an image based on a bunch of other images.
Expand Down Expand Up @@ -830,6 +831,7 @@
◆ keys : Key management, signing and encryption.
◆ kicad : Electronic Design Automation suite.
◆ kiibohd-configurator : Configuration utility for Input Club keyboards.
◆ kiku : Play music from youtube on desktop. Supports local api, invidious and piped as source.
◆ kimitzu-client : Kimitzu Client.
◆ kinopio : Thinking canvas for new ideas and hard problems.
◆ kitupiikki : Bookkeeping software for small organizations.
Expand Down Expand Up @@ -1039,6 +1041,7 @@
◆ music-assistant-companion : The desktop companion app for Music Assistant.
◆ music-blocks : .Exploring Math, Music, and Programming.
◆ music-kitten : Use your own soundtrack in Counter-Strike.
◆ music-player : Desktop Electron app for playing and downloading music.
◆ music-quiz : Jepardy like game, guess as many songs as possible.
◆ mutool : All purpose tool for dealing with PDF files.
◆ muwire : A file sharing client for I2P.
Expand Down Expand Up @@ -1207,8 +1210,8 @@
◆ pavucontrol-qt : Qt port of pavucontrol Pulseaudio mixer, unofficial AppImage.
◆ pb-for-desktop : Pushbullet Desktop app.
◆ pcloud : Europe's most secure cloud storage trusted by 20 million people.
◆ pcsx-redux : The PCSX-Redux project is a collection of tools, research, hardware design, and libraries aiming at development and reverse engineering on the PlayStation 1. The core product itself, PCSX-Redux, is yet another fork of the Playstation emulator, PCSX.
◆ pcsx2 : The Playstation 2 Emulator.
◆ pcsx-redux : The PCSX-Redux project is a collection of tools, research, hardware design, and libraries aiming at development and reverse engineering on the PlayStation 1. The core product itself, PCSX-Redux, is yet another fork of the Playstation emulator, PCSX.
◆ pdf2htmlex : Convert PDF to HTML without losing text or format.
◆ pdf4qt : Open source PDF editor.
◆ pdfcompress : A utility to compress PDF documentas based on Ghostscript and YAD.
Expand Down Expand Up @@ -1905,6 +1908,7 @@
◆ xpeviewer : PE file viewer/editor.
◆ xplist : Cross-platform Plist Editor.
◆ xplorer : Xplorer, a customizable, modern file manager.
◆ xtuber : Simple YouTube Downloader.
◆ xxh : Bring your favorite shell wherever you go through the ssh.
◆ yam : Unofficial Game Updater for the F95Zone platform.
◆ yana : Note-taking app with nested documents, text search/editor, code...
Expand All @@ -1915,6 +1919,8 @@
◆ yank-note : A Hackable Markdown Note Application for Programmers.
◆ yaya : Yet Another Yahtzee-esque Application.
◆ yesplaymusic : A third party music player for Netease Music.
◆ ym-desktop : The YouTube music desktop app.
◆ youtube-downloader : Download video/audio from youtube (and instagram) videos.
◆ youtube-music : Unofficial. Amazing electron wrapper for YouTube Music featuring plugins.
◆ youtubesearchfilter : YouTube searches with/without a pre-filter from CLI.
◆ yt-dlandcut : Download and cut Youtube videos by providing url and time range.
Expand Down
14 changes: 14 additions & 0 deletions programs/x86_64-apps
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@
◆ helio : One music sequencer for all major platforms, desktop and mobile.
◆ helioslauncher : Custom launcher for modded minecraft written in Electron.
◆ helix : A post-modern modal text editor.
◆ henson : A puppet manager for NationStates.
◆ hermesmessenger : Desktop client version for Hermes Messenger.
◆ hero-display : App for display on HERO robot.
◆ heroic-games-launcher : A Native GOG and Epic Games Launcher for Linux.
Expand Down Expand Up @@ -847,6 +848,7 @@
◆ ideamaker : 3D slicing software, automatically generates support structure.
◆ ideamerit : Diagramming tool. Software for drawing Objectives and Key Results.
◆ igdm : Desktop application for Instagram DMs.
◆ iheartradio-webapp : Election WebApp for iHeartRadio.
◆ imagemagick-clang : CLI to create, edit, compose, or convert digital images.
◆ imagemagick-gcc : CLI to create, edit, compose, or convert digital images.
◆ imagemosaicwall : Create an image based on a bunch of other images.
Expand Down Expand Up @@ -971,6 +973,7 @@
◆ kicad : Electronic Design Automation suite.
◆ kigo : Unofficial, Go strategic board game for two players. This script installs the full "kdegames" suite.
◆ kiibohd-configurator : Configuration utility for Input Club keyboards.
◆ kiku : Play music from youtube on desktop. Supports local api, invidious and piped as source.
◆ killbots : Unofficial, Port of the classic console game Robots. This script installs the full "kdegames" suite.
◆ kimitzu-client : Kimitzu Client.
◆ kinopio : Thinking canvas for new ideas and hard problems.
Expand Down Expand Up @@ -1109,6 +1112,7 @@
◆ manager-io : Free Accounting Software for Linux, Server.
◆ mandelbulber2 : Explore trigonometric, hyper-complex and other 3D fractals.
◆ mangal : Most advanced, yet simple CLI manga downloader in the universe!
◆ manga-tui : Terminal-based manga reader and downloader with image support.
◆ mangayomi : Application for reading manga and watching anime.
◆ mangbandclient : A free online multi-player realtime roguelike game.
◆ manta : Flexible invoicing app with beautiful & customizable templates.
Expand Down Expand Up @@ -1233,6 +1237,7 @@
◆ music-assistant-companion : The desktop companion app for Music Assistant.
◆ music-blocks : .Exploring Math, Music, and Programming.
◆ music-kitten : Use your own soundtrack in Counter-Strike.
◆ music-player : Desktop Electron app for playing and downloading music.
◆ music-quiz : Jepardy like game, guess as many songs as possible.
◆ mutool : All purpose tool for dealing with PDF files.
◆ muwire : A file sharing client for I2P.
Expand Down Expand Up @@ -1422,6 +1427,7 @@
◆ pdf2htmlex : Convert PDF to HTML without losing text or format.
◆ pdf4qt : Open source PDF editor.
◆ pdfcompress : A utility to compress PDF documentas based on Ghostscript and YAD.
◆ pdfcrackgui : GUI overlay for the popular and highly regarded pdfcrack.
◆ pdfquirk : Creating PDFs from images or scanner made easy.
◆ pdf-sync : PDF Reader in JavaScript with Sync.
◆ pdmaner : A relational database modeling tool.
Expand All @@ -1438,6 +1444,7 @@
◆ photoflow : Edit images from digital cameras.
◆ photogimp : A patched version of GIMP for Adobe Photoshop users.
◆ photoname : Rename photo image files based on EXIF shoot date.
◆ photon : Cross-platform file-transfer application built using flutter. It uses http to transfer files between devices.
◆ photopea : Advanced Photo Editor for professional use.
◆ photoqt : View and manage images.
◆ photoquick : Light-weight image viewer, resize, collage, filters....
Expand All @@ -1457,6 +1464,7 @@
◆ pingviewer : Ping viewer interface.
◆ pinokio : AI Browser.
◆ pixelhopper : Animated GIF player for Linux (X11).
◆ pixelorama : A powerful and accessible open-source pixel art multitool. Whether you want to create sprites, tiles, animations, or just express yourself in the language of pixel art.
◆ pix-maui : Image gallery and viewer with basic editing features.
◆ pixsrt : Pixel sorter.
◆ pkg2appimage : Utility to convert .yml recipes to AppDir, see appimagetool.
Expand Down Expand Up @@ -1812,6 +1820,7 @@
◆ spotify-tui : Spotify for the terminal written in Rust.
◆ spotify : Unofficial. A proprietary music streaming service.
◆ spotube : Open source Spotify client that doesn't require Premium.
◆ spritemate4electron : A simple Electron-wrapper for Esshahn's awesome Spritemate-webapp.
◆ sptlrx : Synchronized lyrics in your terminal.
◆ sqlitebrowser : DB Browser is a light GUI editor for SQLite databases.
◆ squirreldisk : Cross-Platform and Super Fast Disk Usage Analysis Tool in Rust.
Expand Down Expand Up @@ -2053,6 +2062,7 @@
◆ via : Your keyboard's best friend.
◆ viber : Proprietary cross-platform IM and VoIP software.
◆ vidcutter : Simple and fast video cutter and joiner.
◆ viddy : A modern watch command. Time machine and pager etc.
◆ video-hub : A fastest way to browse and search for videos on your computer.
◆ videomass : Free, open source and cross-platform GUI for FFmpeg.
◆ vieb : Vim Inspired Electron Browser.
Expand Down Expand Up @@ -2092,6 +2102,7 @@
◆ vuerd : A desktop ERD app.
◆ vup : Private and decentralized cloud storage.
◆ vvave-maui : Manage your music collection and stream it from the cloud.
◆ w2vgrep : semantic-grep for words with similar meaning to the query.
◆ waifu2x-gui : An app that upscales anime-styled images, gifs, videos, pdfs.
◆ walc : WhatsApp Linux Client, Unofficial.
◆ wallettech : BytechCoin GUI Wallet.
Expand Down Expand Up @@ -2177,6 +2188,7 @@
◆ xpeviewer : PE file viewer/editor.
◆ xplist : Cross-platform Plist Editor.
◆ xplorer : Xplorer, a customizable, modern file manager.
◆ xtuber : Simple YouTube Downloader.
◆ xxh : Bring your favorite shell wherever you go through the ssh.
◆ yam : Unofficial Game Updater for the F95Zone platform.
◆ yana : Note-taking app with nested documents, text search/editor, code...
Expand All @@ -2188,6 +2200,8 @@
◆ yaya : Yet Another Yahtzee-esque Application.
◆ yazi : Blazing fast terminal file manager written in Rust.
◆ yesplaymusic : A third party music player for Netease Music.
◆ ym-desktop : The YouTube music desktop app.
◆ youtube-downloader : Download video/audio from youtube (and instagram) videos.
◆ youtube-music : Unofficial. Amazing electron wrapper for YouTube Music featuring plugins.
◆ youtubesearchfilter : YouTube searches with/without a pre-filter from CLI.
◆ yt-dlandcut : Download and cut Youtube videos by providing url and time range.
Expand Down
2 changes: 1 addition & 1 deletion programs/x86_64/caesium
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ EOF
chmod a+x ./AM-updater || exit 1

# LAUNCHER & ICON
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/appentry.desktop ./"$APP".desktop
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
COUNT=0
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
Expand Down
68 changes: 68 additions & 0 deletions programs/x86_64/henson
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/bin/sh

# AM INSTALL SCRIPT VERSION 3.5
set -u
APP=henson
SITE="NotAName320/Henson"

# CREATE DIRECTORIES AND ADD REMOVER
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
chmod a+x ../remove || exit 1

# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
version=$(curl -Ls https://api.github.com/repos/NotAName320/Henson/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | grep -i "linux.*x64.*zip$" | head -1)
wget "$version" || exit 1
[ -e ./*7z ] && 7z x ./*7z && rm -f ./*7z
[ -e ./*tar.* ] && tar fx ./*tar.* && rm -f ./*tar.*
[ -e ./*zip ] && unzip -qq ./*zip 1>/dev/null && rm -f ./*zip
cd ..
if [ -d ./tmp/* 2>/dev/null ]; then mv ./tmp/*/* ./; else mv ./tmp/* ./"$APP" 2>/dev/null || mv ./tmp/* ./; fi
rm -R -f ./tmp || exit 1
echo "$version" > ./version
chmod a+x ./Henson || exit 1

# LINK TO PATH
ln -s "/opt/$APP/Henson" "/usr/local/bin/$APP"

# SCRIPT TO UPDATE THE PROGRAM
cat >> ./AM-updater << 'EOF'
#!/bin/sh
set -u
APP=henson
SITE="NotAName320/Henson"
version0=$(cat "/opt/$APP/version")
version=$(curl -Ls https://api.github.com/repos/NotAName320/Henson/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | grep -i "linux.*x64.*zip$" | head -1)
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
if [ "$version" != "$version0" ]; then
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
notify-send "A new version of $APP is available, please wait"
wget "$version" || exit 1
[ -e ./*7z ] && 7z x ./*7z && rm -f ./*7z
[ -e ./*tar.* ] && tar fx ./*tar.* && rm -f ./*tar.*
[ -e ./*zip ] && unzip -qq ./*zip 1>/dev/null && rm -f ./*zip
cd ..
if [ -d ./tmp/* 2>/dev/null ]; then mv --backup=t ./tmp/*/* ./; else mv --backup=t ./tmp/* ./"$APP" 2>/dev/null || mv --backup=t ./tmp/* ./; fi
chmod a+x ./Henson || exit 1
echo "$version" > ./version
rm -R -f ./tmp ./*~
notify-send "$APP is updated!"
else
echo "Update not needed!"
fi
EOF
chmod a+x ./AM-updater || exit 1

# ICON
mkdir -p icons
wget https://raw.githubusercontent.com/NotAName320/Henson/main/Henson/Assets/henson-icon.ico -O ./icons/"$APP" 2> /dev/null

# LAUNCHER
echo "[Desktop Entry]
Name=Henson
Exec=$APP
Icon=/opt/$APP/icons/$APP
Type=Application
Terminal=false
Categories=Network;" > /usr/local/share/applications/"$APP"-AM.desktop
4 changes: 2 additions & 2 deletions programs/x86_64/hugor
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chmod a+x ../remove || exit 1
version=$(curl -Ls https://api.github.com/repos/realnc/hugor/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*64.*mage.*tar.gz$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
wget "$version" || exit 1
#wget "$version.zsync" 2> /dev/null # Comment out this line if you want to use zsync
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
tar fx ./*tar*
cd ..
mv ./tmp/*mage ./"$APP"
mv ./tmp/*.zsync ./"$APP".zsync 2>/dev/null
Expand All @@ -39,7 +39,7 @@ if [ "$version" != "$version0" ] || [ -e /opt/"$APP"/*.zsync ]; then
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
[ -e ../*.zsync ] || notify-send "A new version of $APP is available, please wait"
[ -e ../*.zsync ] && wget "$version.zsync" 2>/dev/null || { wget "$version" || exit 1; }
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
tar fx ./*tar*
cd ..
mv ./tmp/*.zsync ./"$APP".zsync 2>/dev/null || mv --backup=t ./tmp/*mage ./"$APP"
[ -e ./*.zsync ] && { zsync ./"$APP".zsync || notify-send -u critical "zsync failed to update $APP"; }
Expand Down
73 changes: 73 additions & 0 deletions programs/x86_64/iheartradio-webapp
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#!/bin/sh

# AM INSTALL SCRIPT VERSION 3.5
set -u
APP=iheartradio-webapp
SITE="ItzSwirlz/iheartradio-webapp"

# CREATE DIRECTORIES AND ADD REMOVER
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
chmod a+x ../remove || exit 1

# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
version=$(curl -Ls https://api.github.com/repos/ItzSwirlz/iheartradio-webapp/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
wget "$version" || exit 1
# Keep this space in sync with other installation scripts
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
cd ..
mv ./tmp/*mage ./"$APP"
# Keep this space in sync with other installation scripts
rm -R -f ./tmp || exit 1
echo "$version" > ./version
chmod a+x ./"$APP" || exit 1

# LINK TO PATH
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"

# SCRIPT TO UPDATE THE PROGRAM
cat >> ./AM-updater << 'EOF'
#!/bin/sh
set -u
APP=iheartradio-webapp
SITE="ItzSwirlz/iheartradio-webapp"
version0=$(cat "/opt/$APP/version")
version=$(curl -Ls https://api.github.com/repos/ItzSwirlz/iheartradio-webapp/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
if [ "$version" != "$version0" ]; then
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
notify-send "A new version of $APP is available, please wait"
wget "$version" || exit 1
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
cd ..
mv --backup=t ./tmp/*mage ./"$APP"
chmod a+x ./"$APP" || exit 1
echo "$version" > ./version
rm -R -f ./*zs-old ./*.part ./tmp ./*~
notify-send "$APP is updated!"
else
echo "Update not needed!"
fi
EOF
chmod a+x ./AM-updater || exit 1

# LAUNCHER & ICON
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
COUNT=0
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
if [ -L ./"$APP".desktop ]; then
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
fi
if [ -L ./DirIcon ]; then
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
fi
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
COUNT=$((COUNT + 1))
done
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
rm -R -f ./squashfs-root
Loading

0 comments on commit 2e748e3

Please sign in to comment.