lb6-actions icon indicating copy to clipboard operation
lb6-actions copied to clipboard

vpn ask for viscosity and shimo even when not installed

Open maxandersen opened this issue 8 years ago • 2 comments

I only have tunnelblick installed and when I use the action I keep getting dialog asking about where viscosity is installed.

any way to have it not ask for it ?

maxandersen avatar Dec 21 '16 13:12 maxandersen

I had the same problem. If you edit the VPN extension applescript, you can fix it yourself. I changed a part of it to this. Note all I did was delete the sections testing for other applications except Tunnelblick.

Gets the VPN names from the running application, and set the global property to the application.
on get_vpn_names()
	local result_
	set result_ to {}	
	if application "Tunnelblick" is running then
		tell application "Tunnelblick"
			set result_ to name of configurations
			set application_ to "Tunnelblick"
		end tell
	end if
	log "No. of VPN accounts found: " & (count of result_)
	return result_
end get_vpn_names

petercrocker avatar Dec 21 '16 20:12 petercrocker

that is what I ended up doing too - just wondering if there wasn't a way to do it without removing them. But thanks for the pointer.

maxandersen avatar Jan 18 '17 15:01 maxandersen