Skip to content

Instantly share code, notes, and snippets.

@ismailmechbal
Last active January 28, 2022 04:23
Show Gist options
  • Star 41 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save ismailmechbal/2f79516f64c749b6617b9dc08b5a3b35 to your computer and use it in GitHub Desktop.
Save ismailmechbal/2f79516f64c749b6617b9dc08b5a3b35 to your computer and use it in GitHub Desktop.
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

Open .licence file

In English:

 /Users/YOUR-USER-HERE/Library/Application\ Support/com.bohemiancoding.sketch3/.license

In Spanish:

 /Users/YOUR-USER-HERE/Libraría/Application\ Support/com.bohemiancoding.sketch3/.license

##NOTE: .licence is a hidden file

Show all hidden files with:

$ defaults write com.apple.finder AppleShowAllFiles YES

And edit three values: sign to ==, type to licence, and expiration to 999999999

 "sign":"=="
 "type”:”licence”
 "expiration”:”999999999”
@aldoea
Copy link

aldoea commented Jul 28, 2019

No works

@abhisheknotes
Copy link

Okay so follow these steps and I promise it's gonna work (I have literally taken 3 hours to make this work):

1. Turn off wifi

2. Open your hosts file and add those exact lines:

127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
::1 backend.bohemiancoding.com
::1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
We have to use both ipv4 and ipv6 to make it work

3. Go to your license file and copy past this (and replace the old file with this one):

{"meta":{"sign":"jacFQqdBByhC0Esd1yo5jDuQYiBSTqYgtYEHxENOa7GnyhOBri6dYYsSqMiSm7HUDQfSmbcMat7Ju1VJxm50VY2r0+EjWdpjt3qp+eU/uNecmFYPfD8tzZom88MWMybi2wN7lP/1BOuzqueEw/5I0RkEWFchoZyvuRxVq/4f8XWn8rMaw1QVeFpCZ5ge1w9X6XyGwEIEscLBJs5nOv9jQE0NU9SZHlJUZb3wELs454SsQyDisFI/TKFIm0PpZ58aaVVoN4+iZht2Gq4EL/AVL0rzb0sr7+AQZu7itOZFVJFssbtSsurmqLk+320+KVvyfS9vThKhpcpjkj0bPiU4tA==","reg_version":"55.1","current_version":"55.1","purchase":"1562196970","generated_at":"Wed, 24 Jul 2019 21:42:42 +0000"},"payload":{"status":"ok","allowedVariants":"NONAPPSTORE;BETA","udid":"","update_expiration":1577836800,"email":"TNT edition","application":"sketch3","type":"static","expiration":1577836800}}

**4. Right click on the new license file and select get info and tick locked **

5. You can now open Sketch once without the Wifi on, quit, and go back to it a second time with the Wifi on

Does it work for everyone ?

Doesn't work for me, it opens the dialog that we can't verify your license, and clicking on Ok or closing the dialog, sketch closes.
Can you please help, thanks in advance.

@ybirdinc
Copy link

I followed the instructions step by step and it worked for me. The only issue I had is that the folder "Library" is invisible where the .licence file stays. To see it just open folder /Users/YOUR-USER-HERE/ and then use the shortcut CMD + SHIFT + .
Then you will see the Library folder and can go on.

@haidukstore
Copy link

which version do u use?

@abhisheknotes
Copy link

abhisheknotes commented Aug 30, 2019

I followed the instructions step by step and it worked for me. The only issue I had is that the folder "Library" is invisible where the .licence file stays. To see it just open folder /Users/YOUR-USER-HERE/ and then use the shortcut CMD + SHIFT + .
Then you will see the Library folder and can go on.

I even did the same, I am on Mac Mojave and ver 55 of Sketch. And it is not working. Any help would be highly appreciated.
@dearvictor

@mfbx9da4
Copy link

FYI try figma.com as an alternative to sketch which loads sketch files and is free and mirrors their GUI. No affiliation

@mathew820
Copy link

I can't understand code.
Could you Send screen by screen shot would be a great help or step with
details info please.
I'm using sketch ver.57.1
help me please. thank you.

@Efr41n
Copy link

Efr41n commented Nov 6, 2019

Okay so follow these steps and I promise it's gonna work (I have literally taken 3 hours to make this work):

1. Turn off wifi

2. Open your hosts file and add those exact lines:

127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
::1 backend.bohemiancoding.com
::1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
We have to use both ipv4 and ipv6 to make it work

3. Go to your license file and copy past this (and replace the old file with this one):

{"meta":{"sign":"jacFQqdBByhC0Esd1yo5jDuQYiBSTqYgtYEHxENOa7GnyhOBri6dYYsSqMiSm7HUDQfSmbcMat7Ju1VJxm50VY2r0+EjWdpjt3qp+eU/uNecmFYPfD8tzZom88MWMybi2wN7lP/1BOuzqueEw/5I0RkEWFchoZyvuRxVq/4f8XWn8rMaw1QVeFpCZ5ge1w9X6XyGwEIEscLBJs5nOv9jQE0NU9SZHlJUZb3wELs454SsQyDisFI/TKFIm0PpZ58aaVVoN4+iZht2Gq4EL/AVL0rzb0sr7+AQZu7itOZFVJFssbtSsurmqLk+320+KVvyfS9vThKhpcpjkj0bPiU4tA==","reg_version":"55.1","current_version":"55.1","purchase":"1562196970","generated_at":"Wed, 24 Jul 2019 21:42:42 +0000"},"payload":{"status":"ok","allowedVariants":"NONAPPSTORE;BETA","udid":"","update_expiration":1577836800,"email":"TNT edition","application":"sketch3","type":"static","expiration":1577836800}}

**4. Right click on the new license file and select get info and tick locked **

5. You can now open Sketch once without the Wifi on, quit, and go back to it a second time with the Wifi on

Does it work for everyone ?

It worked for me, version 59.1

@mathew820
Copy link

mathew820 commented Nov 9, 2019 via email

@mathew820
Copy link

mathew820 commented Nov 10, 2019 via email

@mathew820
Copy link

mathew820 commented Nov 11, 2019 via email

@Sajid-Ali
Copy link

i can't understand that. how to open hosts file? how to go to license file? -----Original Message----- From: "Efrain"notifications@github.com To: "ismailmechbal"ismailmechbal@noreply.github.com; Cc: "mathew820"juni8020@naver.com; "Comment"comment@noreply.github.com; Sent: 2019-11-07 (목) 00:23:21 (GMT+09:00) Subject: Re: ismailmechbal/sketch-never-ending.md Okay so follow these steps and I promise it's gonna work (I have literally taken 3 hours to make this work): 1. Turn off wifi 2. Open your hosts file and add those exact lines: 127.0.0.1 backend.bohemiancoding.com 127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com ::1 backend.bohemiancoding.com ::1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com We have to use both ipv4 and ipv6 to make it work 3. Go to your license file and copy past this (and replace the old file with this one): {"meta":{"sign":"jacFQqdBByhC0Esd1yo5jDuQYiBSTqYgtYEHxENOa7GnyhOBri6dYYsSqMiSm7HUDQfSmbcMat7Ju1VJxm50VY2r0+EjWdpjt3qp+eU/uNecmFYPfD8tzZom88MWMybi2wN7lP/1BOuzqueEw/5I0RkEWFchoZyvuRxVq/4f8XWn8rMaw1QVeFpCZ5ge1w9X6XyGwEIEscLBJs5nOv9jQE0NU9SZHlJUZb3wELs454SsQyDisFI/TKFIm0PpZ58aaVVoN4+iZht2Gq4EL/AVL0rzb0sr7+AQZu7itOZFVJFssbtSsurmqLk+320+KVvyfS9vThKhpcpjkj0bPiU4tA==","reg_version":"55.1","current_version":"55.1","purchase":"1562196970","generated_at":"Wed, 24 Jul 2019 21:42:42 +0000"},"payload":{"status":"ok","allowedVariants":"NONAPPSTORE;BETA","udid":"","update_expiration":1577836800,"email":"TNT edition","application":"sketch3","type":"static","expiration":1577836800}} **4. Right click on the new license file and select get info and tick locked ** 5. You can now open Sketch once without the Wifi on, quit, and go back to it a second time with the Wifi on Does it work for everyone ? It worked for me, version 59.1 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Not working, I have followed all the steps you have mentioned.

@JDagsa
Copy link

JDagsa commented Oct 24, 2020

Works for me.

Sketch ver 69.1, macOS 10.15.7 Catalina.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment