Work on OSX support

This commit is contained in:
Oliver Blanthorn 2018-04-25 19:39:09 +01:00
parent 8530b78447
commit 322086aa8d
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -47,6 +47,8 @@ export async function getNativeMessengerVersion(): Promise<number> {
}
export async function getBestEditor(): Promise<string> {
if ((await browser.runtime.getPlatformInfo()).os === "mac")
return "open -nWt"
// Tempted to put this behind another config setting: prefergui
const gui_candidates = [
"gvim -f",