editors.visual-studio-code: Prefer code-insiders on macOS.
parent
946bbd1597
commit
f3ae869536
|
@ -21,7 +21,8 @@ HOOK: find-visual-studio-code-invocation os ( -- array )
|
||||||
} 0|| ;
|
} 0|| ;
|
||||||
|
|
||||||
M: macosx find-visual-studio-code-invocation
|
M: macosx find-visual-studio-code-invocation
|
||||||
"com.microsoft.VSCode" find-native-bundle [
|
{ "com.microsoft.VSCodeInsiders" "com.microsoft.VSCode" }
|
||||||
|
[ find-native-bundle ] map-find drop [
|
||||||
"Contents/MacOS/Electron" append-path
|
"Contents/MacOS/Electron" append-path
|
||||||
] [
|
] [
|
||||||
f
|
f
|
||||||
|
|
Loading…
Reference in New Issue