diff --git a/Makefile b/Makefile index 73c68a6..b8312cd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Autogenerated at 31.07.2024 23:40 using ./gen-makefile +# Autogenerated at 01.08.2024 00:01 using ./gen-makefile .DEFAULT_GOAL := help #=============================================== @@ -165,6 +165,10 @@ rustdesk: snap: @./install/snap +##sublimetext: Install Sublime Text (build 4169) +sublimetext: + @./install/sublimetext + ##syncthing: Install syncthing (latest) + ppa syncthing: @./install/syncthing diff --git a/install/sublimetext b/install/sublimetext new file mode 100755 index 0000000..5b41eff --- /dev/null +++ b/install/sublimetext @@ -0,0 +1,22 @@ +#!/bin/bash +##makedesc: Install Sublime Text (build 4169) +source `dirname $0`/../helpers || exit 255 + +# https://www.sublimetext.com/download_thanks?target=x64-deb +# https://gist.github.com/skoqaq/3f3e8f28e23c881143cef9cf49d821ff + +title + +mkdir -p "$HOME/install" + +download https://download.sublimetext.com/sublime-text_build-4169_amd64.deb \ + "$HOME/install/sublime-text_build-4169_amd64.deb" && \ + sudo dpkg -i "$HOME/install/sublime-text_build-4169_amd64.deb" && \ + echo "00489f39: c640 0501 4885 c9" | sudo xxd -r - /opt/sublime_text/sublime_text + +[ $? = 0 ] && { + echo + success "Sublime Text installed!" + subl --version + echo +}