mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix #3290: make OSX users use new native
This commit is contained in:
parent
5c4bd04ed0
commit
58d2c25040
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue