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
2 changes: 1 addition & 1 deletion get-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ make-aur-package python-emoji-country-flag
make-aur-package aria2p
# Switch to the official package when it updates
make-aur-package
pacman -Syu --noconfirm python-charset-normalizer
pacman -Syu --noconfirm python-charset-normalizer jq

echo "Installing debloated packages..."
echo "---------------------------------------------------------------"
Expand Down
11 changes: 11 additions & 0 deletions make-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ quick-sharun /usr/bin/varia \
wget --retry-connrefused --tries=30 "https://pkgs.pkgforge.dev/dl/bincache/$ARCH-linux/7z/official/7z/raw.dl" -O ./AppDir/bin/7z
chmod +x ./AppDir/bin/7z

# Download missing icons
TARGET_DIR="./AppDir/share/icons/hicolor/symbolic/ui/"
mkdir -p "$TARGET_DIR"
REPO="giantpinkrobots/varia"
BRANCH="next"
PATH_DIR="data/icons/hicolor/symbolic/ui"
URLS="$(curl -s "https://api.github.com/repos/$REPO/contents/$PATH_DIR?ref=$BRANCH" | jq -r '.[] | select(.type == "file") | .download_url')"
for url in $URLS; do
wget -P "$TARGET_DIR" "$url"
done

# Patch varia's shell script to be POSIX and to use AppImage directories
cat << 'EOF' > ./AppDir/bin/varia
#!/bin/sh
Expand Down