Dan Caddigan
Dan Caddigan

Reputation: 1598

Programmatically Apply SublimeText Key

I'm trying to completely automate setting up a new Ubuntu instance and am wondering if anybody knows how to programmatically apply your license key from a bash script. Any takers?

Upvotes: 1

Views: 810

Answers (2)

For SublimeText 3 (at least) the following applies:

  • The path is now ~/.config/sublime-text-3/Local/License.sublime_license
  • On a fresh install, the folder ~/.config/sublime-text-3/Local/ would require creation beforehand.
  • The License.sublime_license needs to have, as a payload, the plaintext variant for it to be processed on sublime startup.

Upvotes: 0

Riccardo Marotti
Riccardo Marotti

Reputation: 20348

It should be enough to copy License.sublime_license file (which contains your license key) to ~/.config/sublime-text-2/Settings/.

Upvotes: 1

Related Questions