Last active
June 17, 2023 12:44
-
-
Save userlandkernel/b36acb1fcd2557a1a5cd608fc80e9c49 to your computer and use it in GitHub Desktop.
Install sublime text 3 cracked on debian linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# I do not encourage piracy but still wanted to write this script | |
# @userlandkernel 2020 | |
# Download old version of sublime text | |
curl https://download.sublimetext.com/files/sublime-text_build-3103_amd64.deb -o /tmp/sublimetext.deb | |
# Install it | |
sudo dpkg -i /tmp/sublimetext.deb | |
# Remove the package | |
rm /tmp/sublimetext.deb | |
# Run sublime text so the directories will be created | |
subl | |
# Kill it again | |
killall sublime_text | |
# Add license | |
LICENSE=$(echo "yG3CJs01ySmh1uAlXkyirG+jBYFtRGn/BhE6YSp3gpteiCSNI8XjWdShiT4NZZnPZoQ1oSPVjGGh\ | |
0J4uUzjS3xrdYc584t5coqabLl4z0t9pqRL9fobdL6fT6FtMMsupa6tg9Hqf2WHSoOgqTzKo3wqs\ | |
ZfN9ntgo0bHtW00x3dsb33bweJ7dL9Win2FHNK/YbNoS8G2f3CmnqepaPSDe3R2pF/x/nsle0qHr\ | |
KU4z3OVu3BOACeLRKMTQ7Fw8M9zWbM1j9A6frV3d1YkpTTXa2BOoEM5/4KxT3anqX144rtsY2mGF\ | |
dYbcXtHS7FxPNMuqG6sU9AiS2mGgpO1eTDba3AquZYB8lKxS3LHrKEo50tkdq3bze5PbLqHVm2FH\ | |
RNmrGKhg9W2Q3l3VoZFdTiDdqxneboZ6lMlep9eQXj020uVv3mCGdZOqKMSpnVJHMa3eE81h8XqT\ | |
rVPWqYlfSTCq1hisFM6vJn2JZAWJLjBEy6NjrhOKHuPJiWQFS+vq" | base64 -d) | |
echo "$LICENSE" > ~/.config/sublime-text-3/Local/License.sublime_license | |
# Block updates | |
sudo echo "127.0.0.1 download.sublimetext.com" >> /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment