freebsd-ports/editors/vscode/files/patch-build_lib_snapshotLoader.ts
Luca Pizzamiglio 719fc2047b editors/vscode: Add new port
Add vscode to the portstree. the popular editor developed by Microsoft and
based on Electron.
Many thanks to the maintainer Hiroki for his very appreciated work on it.
2019-12-23 17:23:22 +00:00

11 lines
392 B
TypeScript

--- build/lib/snapshotLoader.ts.orig 2019-12-18 06:46:04 UTC
+++ build/lib/snapshotLoader.ts
@@ -27,7 +27,7 @@ namespace snaps {
break;
case 'win32':
- case 'linux':
+ case 'linux': case 'freebsd':
loaderFilepath = `VSCode-${process.platform}-${arch}/resources/app/out/vs/loader.js`;
startupBlobFilepath = `VSCode-${process.platform}-${arch}/snapshot_blob.bin`;
break;