Skip to content

Instantly share code, notes, and snippets.

@hellotunmbi
Forked from thisavoropaev/sketch-3-crack.sh
Created November 11, 2017 21:10
Show Gist options
  • Save hellotunmbi/93556cbdce1aa947b42e606e08f3c451 to your computer and use it in GitHub Desktop.
Save hellotunmbi/93556cbdce1aa947b42e606e08f3c451 to your computer and use it in GitHub Desktop.
#!/bin/bash
hostname=$(hostname -s)
cd ~/Library/Application\ Support/com.bohemiancoding.sketch3/
rm .license && touch .license && echo '{"meta":{"generated_at":"'$(date)'","sign":"==","device_name":"'$hostname "("$(id -un)')"},"payload":{"status":"ok","application":"sketch3","type":"license","udid":"c2d8c1dd037f919d57124de1037eeb22efad6bd1","expiration":"9999999999"}}' >> .license
echo '127.0.0.1 backend.bohemiancoding.com' | sudo tee -a /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment