Skip to content
Setting License key information via shell script
Got a problem with Viscosity or need help? Ask here!
Hello,
I'm trying to figure out if it's possible to setup our corp license using shell scripts. We use a tool that to deploy our computers that we can't upload custom packages to yet (though once that rolls out it seems like the more stable option). I haven't seen any documents or other forum topics that seem to suggest this is possible.
Any help would be awesome, thanks.
I'm trying to figure out if it's possible to setup our corp license using shell scripts. We use a tool that to deploy our computers that we can't upload custom packages to yet (though once that rolls out it seems like the more stable option). I haven't seen any documents or other forum topics that seem to suggest this is possible.
Any help would be awesome, thanks.
Hi zander,
There is no way to directly enter license details, however if you have an already registered version of Viscosity you can extract the license details like so:
James
There is no way to directly enter license details, however if you have an already registered version of Viscosity you can extract the license details like so:
Code: Select all
And then deploy it to other machines like so:defaults read com.viscosityvpn.Viscosity License
Code: Select all
Cheers,defaults write com.viscosityvpn.Viscosity License <output_from_prior_command>
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Hi zander,
Great to hear.
Preferences storage is managed by the system (NSUserDefaults). Viscosity is just setting a boolean to true/false for the option - how it stores it is up to Apple's Defaults database.
Cheers,
James
Great to hear.
Preferences storage is managed by the system (NSUserDefaults). Viscosity is just setting a boolean to true/false for the option - how it stores it is up to Apple's Defaults database.
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
5 posts
Page 1 of 1