id = "viscosity" name = "Viscosity" homepage = "https://www.sparklabs.com/viscosity/" description = "Import, configure, and monitor secure OpenVPN connections through a fast, native interface." # The app icon, from the product page on sparklabs.com. icon = "https://www.sparklabs.com/static/img/sl_appround_viscosity2.png" platforms = ["macos", "windows"] # Viscosity's scripting surface is AppleScript, not a command line, so the # bundle identifier is what a consumer sees. com.viscosityvpn.Viscosity is the # identifier the Homebrew cask signals to quit and the name of the preference # domain below (Casks/v/viscosity.rb). executables = [] [installation] macos_bundle_ids = ["com.viscosityvpn.Viscosity"] [dotfiles] # https://www.sparklabs.com/support/kb/article/backing-up-viscosity-s-settings/ # names both halves on both platforms. Mac: preferences at "Your Home # Folder/Library/Preferences/com.viscosityvpn.Viscosity.plist", connection data # at "Your Home Folder/Library/Application Support/Viscosity". Windows: # "C:\Users\\AppData\Roaming\Viscosity\Settings.xml" for the # settings and "...\AppData\Roaming\Viscosity\OpenVPN" for the connections. # # The two settings files are genuinely different files in different formats, # not one location under two spellings, so each is written out on its own. paths = [ "[preferences]/com.viscosityvpn.Viscosity.plist", "%APPDATA%/Viscosity/Settings.xml", ] exclude = [] # The connection folders from the same article. An OpenVPN connection is its # certificate, its private key, and the credentials the user chose to save with # it — the article's point is that backing this folder up backs up the VPNs # themselves. Whole-file secret under both spellings: on the Mac the article # names the Viscosity folder itself as the connection store, on Windows the # OpenVPN folder inside it. The Mac path is written literally rather than as # [appData] because the two are at different depths and are not one location. secret = [ "~/Library/Application Support/Viscosity/", "%APPDATA%/Viscosity/OpenVPN/", ] # No machine_lines or secret_paths: the Mac settings are a property list and # the Windows settings are XML, and this schema's `format` covers toml, yaml # and json only, so neither file has a matcher here.