sublime text 4169

This commit is contained in:
Anthony Axenov 2024-08-01 00:05:38 +08:00
parent a52ce34748
commit 5842b954e3
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
2 changed files with 27 additions and 1 deletions

View File

@ -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 .DEFAULT_GOAL := help
#=============================================== #===============================================
@ -165,6 +165,10 @@ rustdesk:
snap: snap:
@./install/snap @./install/snap
##sublimetext: Install Sublime Text (build 4169)
sublimetext:
@./install/sublimetext
##syncthing: Install syncthing (latest) + ppa ##syncthing: Install syncthing (latest) + ppa
syncthing: syncthing:
@./install/syncthing @./install/syncthing

22
install/sublimetext Executable file
View File

@ -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
}