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”
@witalobenicio
Copy link

After I've run SketchRunner, my Mac asked for my iCloud password. Seems very strange to me, I wouldn't run this SketchRunner if I was you.
I'll try to figure out a way to completely remove it from my Mac.

@mesonoxianvlad
Copy link

mesonoxianvlad commented Mar 27, 2019

@witalobenicio SketchRunner is open source and has no reason to ask for your iCloud password. It was most likely something else that prompted for it.

The only password it would ask for is your macs administrative password and thats only so that it can adjust your system time as this is how it bypasses the trial limit.

@BenjaminHoppe
Copy link

SketchRunner doesn't work for me anymore, says can't verify licence. I think I was silly and updated. Tried downgrading sketch version and that doesn't change anything. Anyone have a solution?

@felippeandrade
Copy link

felippeandrade commented Apr 22, 2019

@BenjaminHoppe I turned off the firewall and It worked =D

@matiaspunx
Copy link

@BenjaminHoppe I turned off the firewall and It worked =D

Nope, doesn't work :(

@Demircivi
Copy link

After I've run SketchRunner, my Mac asked for my iCloud password. Seems very strange to me, I wouldn't run this SketchRunner if I was you.
I'll try to figure out a way to completely remove it from my Mac.

It's because it messes with your system clock, there are lots of checks based on the system date. Probably your computer thinks your session is pretty old so it wants to re-new your session. Also it's open source. There is nothing to be afraid of, check the source code :).

@manbear-pig
Copy link

Does this only work before the original trial has expired?

@UsufJamil
Copy link

This is not working with Version 53.2 @AlexeySemigradsky

@dipendra-sharma
Copy link

Now working with new version.

@BenjaminHoppe
Copy link

Please tell me exactly what you did to get it working @dipendra-sharma

@KiranJasvanee
Copy link

Not working.

@sanjeetiitr
Copy link

I wrote an AppleScript to run the Sketch that can be compiled into an Application.
The script also should work on the macOS Mojave.

https://github.com/AlexeySemigradsky/SketchRunner
https://github.com/AlexeySemigradsky/SketchRunner/releases

screen shot 2018-09-10 at 11 14 52

Its not working on latest sketch app.

@andreibalint
Copy link

what is the latest version that works ? 52 ?

@mfbx9da4
Copy link

mfbx9da4 commented Jul 6, 2019

Update July 2019
Works, tested by a friend.
https://github.com/gch1p/sketchtrial

Didn't work for me - probably because I have System Integrity Protection enabled

@pixelomo
Copy link

downloaded version 48 of sketch https://www.sketch.com/updates/ sketch runner works

problem is sketch refuses to open files made with newer versions of sketch...

@erickacevedor
Copy link

Update July 2019
Works, tested by a friend.
https://github.com/gch1p/sketchtrial

Working perfect.
Sketch 55.2
MacOS Mojave 10.14.5

@dearvictor
Copy link

dearvictor commented Jul 25, 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 ?

@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