Skip to content
Bundle in AppleScript
Got a problem with Viscosity or need help? Ask here!
Hi,
To get viscosity working for our users i supply them with a zip that we build for each user that has their certs and keys with it. The users places the viscosity.app and a Preconfigure folder ( that contains the Connection-Overwrite ) in /Applications, on start up of viscosity the Preconfigure folder gets 'absorbed' and the settings are applied
Is there are way to do this with an applescript. I tried placing in in a folder called Scripts and putting that in /Applications but it does not work the same way as the Preconfigure
Any suggestion on how i can bundle it in
Thanks
ab
To get viscosity working for our users i supply them with a zip that we build for each user that has their certs and keys with it. The users places the viscosity.app and a Preconfigure folder ( that contains the Connection-Overwrite ) in /Applications, on start up of viscosity the Preconfigure folder gets 'absorbed' and the settings are applied
Is there are way to do this with an applescript. I tried placing in in a folder called Scripts and putting that in /Applications but it does not work the same way as the Preconfigure
Any suggestion on how i can bundle it in
Thanks
ab
Hi ab,
It sounds like you may be referring to scripts for custom menu items? If so, first create a Preconfigure folder as documented here, with your menu items in the MenuItems folder:
https://www.sparklabs.com/support/kb/article/bundling-viscosity-with-vpn-connections-preferences-mac/
The recommended approach is to then use the installer template to create a bundled version of Viscosity as documented in the above article. However, you can also copy the Preconfigure folder to ~/Library/Application Support/Viscosity/Preconfigure" which will be used when Viscosity is first launched.
Cheers,
James
It sounds like you may be referring to scripts for custom menu items? If so, first create a Preconfigure folder as documented here, with your menu items in the MenuItems folder:
https://www.sparklabs.com/support/kb/article/bundling-viscosity-with-vpn-connections-preferences-mac/
The recommended approach is to then use the installer template to create a bundled version of Viscosity as documented in the above article. However, you can also copy the Preconfigure folder to ~/Library/Application Support/Viscosity/Preconfigure" which will be used when Viscosity is first launched.
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
2 posts
Page 1 of 1