Fix #3290: make OSX users use new native

This commit is contained in:
Oliver Blanthorn 2021-01-27 12:59:51 +01:00
parent 5c4bd04ed0
commit 58d2c25040
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -934,7 +934,7 @@ export class default_config {
* *
* %TAG will be replaced with your version of Tridactyl for stable builds, or "master" for beta builds * %TAG will be replaced with your version of Tridactyl for stable builds, or "master" for beta builds
* *
* NB: Windows and OSX have their own platform-specific defaults - this is used only for Linux, for now. OSX will use this eventually. * NB: Windows has its own platform-specific default.
*/ */
nativeinstallcmd = nativeinstallcmd =
"curl -fsSl https://raw.githubusercontent.com/tridactyl/native_messenger/master/installers/install.sh -o /tmp/trinativeinstall.sh && sh /tmp/trinativeinstall.sh %TAG" "curl -fsSl https://raw.githubusercontent.com/tridactyl/native_messenger/master/installers/install.sh -o /tmp/trinativeinstall.sh && sh /tmp/trinativeinstall.sh %TAG"
@ -1145,10 +1145,6 @@ const platform_defaults = {
'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")}', 'hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")}',
} as unknown, } as unknown,
}, },
mac: {
nativeinstallcmd:
"curl -fsSl https://raw.githubusercontent.com/tridactyl/tridactyl/master/native/install.sh -o /tmp/trinativeinstall.sh && sh /tmp/trinativeinstall.sh %TAG",
},
} as Record<browser.runtime.PlatformOs, default_config> } as Record<browser.runtime.PlatformOs, default_config>
/** @hidden /** @hidden