Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e
# appimagetool x86_64 - https://github.com/litucks/ext-linux-bin/raw/refs/heads/main/appimage/appimagetool-x86_64.AppImage sha256 110751478abece165a18460acbd7fd1398701f74a9405ad8ac053427d937bd5d
# appimagetool aarch64 - https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-aarch64.AppImage sha256 04f45ea45b5aa07bb2b071aed9dbf7a5185d3953b11b47358c1311f11ea94a96
if [ $# -lt 3 ]; then
>&2 echo "Bad usage!"
echo "Usage: $0 <bin file> <output file> <icon>"
exit 1
@zorn-v
zorn-v / update.sh
Last active May 25, 2021 04:28
Install/update portproton
#!/bin/bash
set -e
BASE_URL=https://portwine-linux.ru/ftp
VERSION=$1
[ -z "$VERSION" ] && VERSION=`curl -s ${BASE_URL}/current_version/PortProton_ver`
cd `dirname $0`
@zorn-v
zorn-v / build.sh
Last active May 9, 2024 08:50
xkb switch on release deb build
#!/bin/bash
rm -rf build
mkdir -p build
cd build
sudo apt install devscripts -y
sudo mk-build-deps -t'apt-get -y' -ir xserver-xorg-core
apt source xserver-xorg-core