Page 1 of 1

Bundle in AppleScript

Posted: Fri May 24, 2019 12:16 am
by ab52
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

Re: Bundle in AppleScript

Posted: Fri May 24, 2019 4:50 pm
by James
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