Skip to content

Commit

Permalink
[+] Exp AppImages #28
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Sep 6, 2024
1 parent 635fc21 commit f6a29a9
Show file tree
Hide file tree
Showing 22 changed files with 1,009 additions and 7 deletions.
97 changes: 97 additions & 0 deletions .github/scripts/aarch64_Linux/bins/firefox.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
#!/usr/bin/env bash

#-------------------------------------------------------#
#Sanity Checks
if [ "$BUILD" != "YES" ] || \
[ -z "$BINDIR" ] || \
[ -z "$EGET_EXCLUDE" ] || \
[ -z "$EGET_TIMEOUT" ] || \
[ -z "$GIT_TERMINAL_PROMPT" ] || \
[ -z "$GIT_ASKPASS" ] || \
[ -z "$GITHUB_TOKEN" ] || \
[ -z "$SYSTMP" ] || \
[ -z "$TMPDIRS" ]; then
#exit
echo -e "\n[+]Skipping Builds...\n"
exit 1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Main
export SKIP_BUILD="NO" #YES, in case of deleted repos, broken builds etc
if [ "$SKIP_BUILD" == "NO" ]; then
#firefox : An open source web browser from Mozilla
export BIN="firefox"
export SOURCE_URL="https://github.com/firefox-player/firefox"
echo -e "\n\n [+] (Building | Fetching) $BIN :: $SOURCE_URL\n"
##Build
pushd "$($TMPDIRS)" >/dev/null 2>&1
nix bundle --bundler "github:ralismark/nix-appimage" "nixpkgs#firefox" --log-format bar-with-logs
##Copy
sudo rsync -av --copy-links "./firefox.AppImage" "./firefox.AppImage.tmp"
sudo chown -R "$(whoami):$(whoami)" "./firefox.AppImage.tmp" && chmod -R 755 "./firefox.AppImage.tmp"
du -sh "./firefox.AppImage.tmp" && file "./firefox.AppImage.tmp"
##Extract
APPIMAGE="$(realpath .)/firefox.AppImage.tmp" && export APPIMAGE="${APPIMAGE}"
OFFSET="$(${APPIMAGE} --appimage-offset)" && export OFFSET="${OFFSET}"
tail -c +"$(($OFFSET + 1))" "${APPIMAGE}" > "./squash.tmp"
#unsquashfs -force -dest "./squash_tmp/" "./squash.tmp"
"${APPIMAGE}" --appimage-extract >/dev/null && rm -f "${APPIMAGE}"
OWD="$(realpath .)" && export OWD="${OWD}"
APPIMAGE_EXTRACT="$(realpath "./squashfs-root")" && export APPIMAGE_EXTRACT="${APPIMAGE_EXTRACT}"
##Patch
if [ -d "${APPIMAGE_EXTRACT}" ] && [ "$(find "${APPIMAGE_EXTRACT}" -mindepth 1 -print -quit 2>/dev/null)" ]; then
#Media
cd "${APPIMAGE_EXTRACT}"
mkdir -p "./usr/share/applications" && mkdir -p "./usr/share/metainfo"
SHARE_DIR="$(find "." -path '*share/*firefox*' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | awk -F'/share/' '{print $1}')/share" && export SHARE_DIR="${SHARE_DIR}"
#usr/{applications,bash-completion,icons,metainfo,firefox,zsh}
rsync -av --copy-links \
--include="*/" \
--include="*.desktop" \
--include="*.png" \
--include="*.svg" \
--include="*.xml" \
--exclude="*" \
"${SHARE_DIR}/" "./usr/share/" && ls "./usr/share/"
##Appdata/AppStream
# find "." -path '*share/*firefox*' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp {} "./usr/share/metainfo/"' ; cp "./usr/share/metainfo/firefox.metainfo.xml" "./usr/share/metainfo/firefox.appdata.xml"
#Icon
find "." -path '*128x128/apps/*.png' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp "{}" ./firefox.png'
find "." -maxdepth 1 -type f -name '*.svg' -exec sh -c 'convert "$0" "${0%.svg}.png"' {} \; 2>/dev/null
cp "./firefox.png" "./.DirIcon"
##Desktop
find "." -path '*firefox*.desktop' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp {} "./firefox.desktop"'
sed 's/Icon=[^ ]*/Icon=firefox/' -i "./firefox.desktop" 2>/dev/null
#(Re)Pack
cd "${OWD}"
curl -qfsSL "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(uname -m).AppImage" -o "./appimagetool" && chmod +x "./appimagetool"
"./appimagetool" --comp "zstd" \
--mksquashfs-opt -root-owned \
--mksquashfs-opt -no-xattrs \
--mksquashfs-opt -noappend \
--mksquashfs-opt -b --mksquashfs-opt "1M" \
--mksquashfs-opt -mkfs-time --mksquashfs-opt "0" \
--mksquashfs-opt -Xcompression-level --mksquashfs-opt "22" \
"${APPIMAGE_EXTRACT}" "$BINDIR/firefox.AppImage"
#Meta
du -sh "$BINDIR/firefox.AppImage" && file "$BINDIR/firefox.AppImage"
#clean
unset APPIMAGE APPIMAGE_EXTRACT OFFSET OWD SHARE_DIR
fi
#End
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Cleanup
unset SKIP_BUILD ; export BUILT="YES"
#In case of zig polluted env
unset AR CC CFLAGS CXX CPPFLAGS CXXFLAGS DLLTOOL HOST_CC HOST_CXX LDFLAGS LIBS OBJCOPY RANLIB
#In case of go polluted env
unset GOARCH GOOS CGO_ENABLED CGO_CFLAGS
#PKG Config
unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH
#-------------------------------------------------------#
7 changes: 7 additions & 0 deletions .github/scripts/aarch64_Linux/bins/firefox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "firefox"
description: "An open source web browser from Mozilla (AppImage)"
web_url: "https://www.mozilla.org"
repo_url: "https://github.com/mozilla/gecko-dev"
path: "/"
bins:
- "firefox.AppImage"
85 changes: 85 additions & 0 deletions .github/scripts/aarch64_Linux/bins/ladybird.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
#!/usr/bin/env bash

#-------------------------------------------------------#
#Sanity Checks
if [ "$BUILD" != "YES" ] || \
[ -z "$BINDIR" ] || \
[ -z "$EGET_EXCLUDE" ] || \
[ -z "$EGET_TIMEOUT" ] || \
[ -z "$GIT_TERMINAL_PROMPT" ] || \
[ -z "$GIT_ASKPASS" ] || \
[ -z "$GITHUB_TOKEN" ] || \
[ -z "$SYSTMP" ] || \
[ -z "$TMPDIRS" ]; then
#exit
echo -e "\n[+]Skipping Builds...\n"
exit 1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Main
export SKIP_BUILD="NO" #YES, in case of deleted repos, broken builds etc
if [ "$SKIP_BUILD" == "NO" ]; then
#ladybird : Truly independent Web Browser & Web Engine
export BIN="ladybird"
export SOURCE_URL="https://github.com/LadybirdBrowser/ladybird"
echo -e "\n\n [+] (Building | Fetching) $BIN :: $SOURCE_URL\n"
##Build
pushd "$($TMPDIRS)" >/dev/null 2>&1
nix bundle --bundler "github:ralismark/nix-appimage" "nixpkgs#ladybird" --log-format bar-with-logs
##Copy
sudo rsync -av --copy-links "./Ladybird.AppImage" "./ladybird.AppImage.tmp"
sudo chown -R "$(whoami):$(whoami)" "./ladybird.AppImage.tmp" && chmod -R 755 "./ladybird.AppImage.tmp"
du -sh "./ladybird.AppImage.tmp" && file "./ladybird.AppImage.tmp"
##Extract
APPIMAGE="$(realpath .)/ladybird.AppImage.tmp" && export APPIMAGE="${APPIMAGE}"
OFFSET="$(${APPIMAGE} --appimage-offset)" && export OFFSET="${OFFSET}"
tail -c +"$(($OFFSET + 1))" "${APPIMAGE}" > "./squash.tmp"
#unsquashfs -force -dest "./squash_tmp/" "./squash.tmp"
"${APPIMAGE}" --appimage-extract >/dev/null && rm -f "${APPIMAGE}"
OWD="$(realpath .)" && export OWD="${OWD}"
APPIMAGE_EXTRACT="$(realpath "./squashfs-root")" && export APPIMAGE_EXTRACT="${APPIMAGE_EXTRACT}"
##Patch
if [ -d "${APPIMAGE_EXTRACT}" ] && [ "$(find "${APPIMAGE_EXTRACT}" -mindepth 1 -print -quit 2>/dev/null)" ]; then
#Media
cd "${APPIMAGE_EXTRACT}"
mkdir -p "./usr/share/applications" && mkdir -p "./usr/share/metainfo"
#Icon
curl -qfsSL "https://raw.githubusercontent.com/LadybirdBrowser/ladybird/master/Base/res/icons/128x128/app-browser.png" -o "./ladybird.png"
find "." -maxdepth 1 -type f -name '*.svg' -exec sh -c 'convert "$0" "${0%.svg}.png"' {} \; 2>/dev/null
cp "./ladybird.png" "./.DirIcon"
##Desktop
echo -e "[Desktop Entry]\nVersion=1.0\nName=Ladybird\nComment=Ladybird is an ongoing project to build an independent web browser from scratch\nExec=ladybird\nIcon=ladybird\nType=Application\nCategories=Network;WebBrowser;\nMimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;\nStartupNotify=true" > "./ladybird.desktop"
sed 's/Icon=[^ ]*/Icon=ladybird/' -i "./ladybird.desktop" 2>/dev/null
#(Re)Pack
cd "${OWD}"
curl -qfsSL "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(uname -m).AppImage" -o "./appimagetool" && chmod +x "./appimagetool"
"./appimagetool" --comp "zstd" \
--mksquashfs-opt -root-owned \
--mksquashfs-opt -no-xattrs \
--mksquashfs-opt -noappend \
--mksquashfs-opt -b --mksquashfs-opt "1M" \
--mksquashfs-opt -mkfs-time --mksquashfs-opt "0" \
--mksquashfs-opt -Xcompression-level --mksquashfs-opt "22" \
"${APPIMAGE_EXTRACT}" "$BINDIR/ladybird.AppImage"
#Meta
du -sh "$BINDIR/ladybird.AppImage" && file "$BINDIR/ladybird.AppImage"
#clean
unset APPIMAGE APPIMAGE_EXTRACT OFFSET OWD SHARE_DIR
fi
#End
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Cleanup
unset SKIP_BUILD ; export BUILT="YES"
#In case of zig polluted env
unset AR CC CFLAGS CXX CPPFLAGS CXXFLAGS DLLTOOL HOST_CC HOST_CXX LDFLAGS LIBS OBJCOPY RANLIB
#In case of go polluted env
unset GOARCH GOOS CGO_ENABLED CGO_CFLAGS
#PKG Config
unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH
#-------------------------------------------------------#
7 changes: 7 additions & 0 deletions .github/scripts/aarch64_Linux/bins/ladybird.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "ladybird"
description: "Truly independent Web Browser & Web Engine (AppImage)"
web_url: "https://ladybird.org"
repo_url: "https://github.com/LadybirdBrowser/ladybird"
path: "/"
bins:
- "ladybird.AppImage"
97 changes: 97 additions & 0 deletions .github/scripts/aarch64_Linux/bins/mpv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
#!/usr/bin/env bash

#-------------------------------------------------------#
#Sanity Checks
if [ "$BUILD" != "YES" ] || \
[ -z "$BINDIR" ] || \
[ -z "$EGET_EXCLUDE" ] || \
[ -z "$EGET_TIMEOUT" ] || \
[ -z "$GIT_TERMINAL_PROMPT" ] || \
[ -z "$GIT_ASKPASS" ] || \
[ -z "$GITHUB_TOKEN" ] || \
[ -z "$SYSTMP" ] || \
[ -z "$TMPDIRS" ]; then
#exit
echo -e "\n[+]Skipping Builds...\n"
exit 1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Main
export SKIP_BUILD="NO" #YES, in case of deleted repos, broken builds etc
if [ "$SKIP_BUILD" == "NO" ]; then
#mpv : 🎥 Command line video player
export BIN="mpv"
export SOURCE_URL="https://github.com/mpv-player/mpv"
echo -e "\n\n [+] (Building | Fetching) $BIN :: $SOURCE_URL\n"
##Build
pushd "$($TMPDIRS)" >/dev/null 2>&1
nix bundle --bundler "github:ralismark/nix-appimage" "nixpkgs#mpv" --log-format bar-with-logs
##Copy
sudo rsync -av --copy-links "./mpv.AppImage" "./mpv.AppImage.tmp"
sudo chown -R "$(whoami):$(whoami)" "./mpv.AppImage.tmp" && chmod -R 755 "./mpv.AppImage.tmp"
du -sh "./mpv.AppImage.tmp" && file "./mpv.AppImage.tmp"
##Extract
APPIMAGE="$(realpath .)/mpv.AppImage.tmp" && export APPIMAGE="${APPIMAGE}"
OFFSET="$(${APPIMAGE} --appimage-offset)" && export OFFSET="${OFFSET}"
tail -c +"$(($OFFSET + 1))" "${APPIMAGE}" > "./squash.tmp"
#unsquashfs -force -dest "./squash_tmp/" "./squash.tmp"
"${APPIMAGE}" --appimage-extract >/dev/null && rm -f "${APPIMAGE}"
OWD="$(realpath .)" && export OWD="${OWD}"
APPIMAGE_EXTRACT="$(realpath "./squashfs-root")" && export APPIMAGE_EXTRACT="${APPIMAGE_EXTRACT}"
##Patch
if [ -d "${APPIMAGE_EXTRACT}" ] && [ "$(find "${APPIMAGE_EXTRACT}" -mindepth 1 -print -quit 2>/dev/null)" ]; then
#Media
cd "${APPIMAGE_EXTRACT}"
mkdir -p "./usr/share/applications" && mkdir -p "./usr/share/metainfo"
SHARE_DIR="$(find "." -path '*share/*mpv*' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | awk -F'/share/' '{print $1}')/share" && export SHARE_DIR="${SHARE_DIR}"
#usr/{applications,bash-completion,icons,metainfo,mpv,zsh}
rsync -av --copy-links \
--include="*/" \
--include="*.desktop" \
--include="*.png" \
--include="*.svg" \
--include="*.xml" \
--exclude="*" \
"${SHARE_DIR}/" "./usr/share/" && ls "./usr/share/"
##Appdata/AppStream
# find "." -path '*share/*mpv*' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp {} "./usr/share/metainfo/"' ; cp "./usr/share/metainfo/mpv.metainfo.xml" "./usr/share/metainfo/mpv.appdata.xml"
#Icon
find "." -path '*128x128/apps/*.png' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp "{}" ./mpv.png'
find "." -maxdepth 1 -type f -name '*.svg' -exec sh -c 'convert "$0" "${0%.svg}.png"' {} \; 2>/dev/null
cp "./mpv.png" "./.DirIcon"
##Desktop
find "." -path '*mpv*.desktop' | awk '{ print length, $0 }' | sort -n | cut -d" " -f2- | head -n 1 | xargs -I {} sh -c 'cp {} "./mpv.desktop"'
sed 's/Icon=[^ ]*/Icon=mpv/' -i "./mpv.desktop" 2>/dev/null
#(Re)Pack
cd "${OWD}"
curl -qfsSL "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(uname -m).AppImage" -o "./appimagetool" && chmod +x "./appimagetool"
"./appimagetool" --comp "zstd" \
--mksquashfs-opt -root-owned \
--mksquashfs-opt -no-xattrs \
--mksquashfs-opt -noappend \
--mksquashfs-opt -b --mksquashfs-opt "1M" \
--mksquashfs-opt -mkfs-time --mksquashfs-opt "0" \
--mksquashfs-opt -Xcompression-level --mksquashfs-opt "22" \
"${APPIMAGE_EXTRACT}" "$BINDIR/mpv.AppImage"
#Meta
du -sh "$BINDIR/mpv.AppImage" && file "$BINDIR/mpv.AppImage"
#clean
unset APPIMAGE APPIMAGE_EXTRACT OFFSET OWD SHARE_DIR
fi
#End
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Cleanup
unset SKIP_BUILD ; export BUILT="YES"
#In case of zig polluted env
unset AR CC CFLAGS CXX CPPFLAGS CXXFLAGS DLLTOOL HOST_CC HOST_CXX LDFLAGS LIBS OBJCOPY RANLIB
#In case of go polluted env
unset GOARCH GOOS CGO_ENABLED CGO_CFLAGS
#PKG Config
unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH
#-------------------------------------------------------#
7 changes: 7 additions & 0 deletions .github/scripts/aarch64_Linux/bins/mpv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "mpv"
description: "🎥 Command line video player (AppImage)"
web_url: "https://mpv.io"
repo_url: "https://github.com/mpv-player/mpv"
path: "/"
bins:
- "mpv.AppImage"
85 changes: 85 additions & 0 deletions .github/scripts/aarch64_Linux/bins/netsurf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
#!/usr/bin/env bash

#-------------------------------------------------------#
#Sanity Checks
if [ "$BUILD" != "YES" ] || \
[ -z "$BINDIR" ] || \
[ -z "$EGET_EXCLUDE" ] || \
[ -z "$EGET_TIMEOUT" ] || \
[ -z "$GIT_TERMINAL_PROMPT" ] || \
[ -z "$GIT_ASKPASS" ] || \
[ -z "$GITHUB_TOKEN" ] || \
[ -z "$SYSTMP" ] || \
[ -z "$TMPDIRS" ]; then
#exit
echo -e "\n[+]Skipping Builds...\n"
exit 1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Main
export SKIP_BUILD="NO" #YES, in case of deleted repos, broken builds etc
if [ "$SKIP_BUILD" == "NO" ]; then
#netsurf : A multi-platform web browser
export BIN="netsurf"
export SOURCE_URL="https://source.netsurf-browser.org/netsurf.git"
echo -e "\n\n [+] (Building | Fetching) $BIN :: $SOURCE_URL\n"
##Build
pushd "$($TMPDIRS)" >/dev/null 2>&1
nix bundle --bundler "github:ralismark/nix-appimage" "nixpkgs#netsurf.browser" --log-format bar-with-logs
##Copy
sudo rsync -av --copy-links "./netsurf-gtk3.AppImage" "./netsurf.AppImage.tmp"
sudo chown -R "$(whoami):$(whoami)" "./netsurf.AppImage.tmp" && chmod -R 755 "./netsurf.AppImage.tmp"
du -sh "./netsurf.AppImage.tmp" && file "./netsurf.AppImage.tmp"
##Extract
APPIMAGE="$(realpath .)/netsurf.AppImage.tmp" && export APPIMAGE="${APPIMAGE}"
OFFSET="$(${APPIMAGE} --appimage-offset)" && export OFFSET="${OFFSET}"
tail -c +"$(($OFFSET + 1))" "${APPIMAGE}" > "./squash.tmp"
#unsquashfs -force -dest "./squash_tmp/" "./squash.tmp"
"${APPIMAGE}" --appimage-extract >/dev/null && rm -f "${APPIMAGE}"
OWD="$(realpath .)" && export OWD="${OWD}"
APPIMAGE_EXTRACT="$(realpath "./squashfs-root")" && export APPIMAGE_EXTRACT="${APPIMAGE_EXTRACT}"
##Patch
if [ -d "${APPIMAGE_EXTRACT}" ] && [ "$(find "${APPIMAGE_EXTRACT}" -mindepth 1 -print -quit 2>/dev/null)" ]; then
#Media
cd "${APPIMAGE_EXTRACT}"
mkdir -p "./usr/share/applications" && mkdir -p "./usr/share/metainfo"
#Icon
curl -qfsSL "https://source.netsurf-browser.org/netsurf.git/plain/resources/netsurf.png" -o "./netsurf.png"
find "." -maxdepth 1 -type f -name '*.svg' -exec sh -c 'convert "$0" "${0%.svg}.png"' {} \; 2>/dev/null
cp "./netsurf.png" "./.DirIcon"
##Desktop
echo -e "[Desktop Entry]\nVersion=1.0\nName=netsurf-browser\nComment=Small as a mouse, fast as a cheetah and available for free. NetSurf is a multi-platform web browser for RISC OS, UNIX-like platforms (including Linux), Mac OS X, and more.\nExec=netsurf\nIcon=netsurf\nType=Application\nCategories=Network;WebBrowser;\nMimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;\nStartupNotify=true" > "./netsurf.desktop"
sed 's/Icon=[^ ]*/Icon=netsurf/' -i "./netsurf.desktop" 2>/dev/null
#(Re)Pack
cd "${OWD}"
curl -qfsSL "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(uname -m).AppImage" -o "./appimagetool" && chmod +x "./appimagetool"
"./appimagetool" --comp "zstd" \
--mksquashfs-opt -root-owned \
--mksquashfs-opt -no-xattrs \
--mksquashfs-opt -noappend \
--mksquashfs-opt -b --mksquashfs-opt "1M" \
--mksquashfs-opt -mkfs-time --mksquashfs-opt "0" \
--mksquashfs-opt -Xcompression-level --mksquashfs-opt "22" \
"${APPIMAGE_EXTRACT}" "$BINDIR/netsurf.AppImage"
#Meta
du -sh "$BINDIR/netsurf.AppImage" && file "$BINDIR/netsurf.AppImage"
#clean
unset APPIMAGE APPIMAGE_EXTRACT OFFSET OWD SHARE_DIR
fi
#End
nix-collect-garbage >/dev/null 2>&1 ; popd >/dev/null 2>&1
fi
#-------------------------------------------------------#

#-------------------------------------------------------#
##Cleanup
unset SKIP_BUILD ; export BUILT="YES"
#In case of zig polluted env
unset AR CC CFLAGS CXX CPPFLAGS CXXFLAGS DLLTOOL HOST_CC HOST_CXX LDFLAGS LIBS OBJCOPY RANLIB
#In case of go polluted env
unset GOARCH GOOS CGO_ENABLED CGO_CFLAGS
#PKG Config
unset PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH
#-------------------------------------------------------#
Loading

0 comments on commit f6a29a9

Please sign in to comment.