@@ -48,19 +48,11 @@ const buildServerBinaryCopy = register("build:server:binary:copy", async (runner
48
48
const bootstrapForkPath = path . join ( pkgsPath , "vscode" , "out" , "bootstrap-fork.js" ) ;
49
49
const webOutputPath = path . join ( pkgsPath , "web" , "out" ) ;
50
50
const browserAppOutputPath = path . join ( pkgsPath , "app" , "browser" , "out" ) ;
51
- const nodePtyModule = path . join ( pkgsPath , "protocol" , "node_modules" , "node-pty-prebuilt" , "build" , "Release" , "pty.node" ) ;
52
- const spdlogModule = path . join ( pkgsPath , "protocol" , "node_modules" , "spdlog" , "build" , "Release" , "spdlog.node" ) ;
53
51
let ripgrepPath = path . join ( pkgsPath , ".." , "lib" , "vscode" , "node_modules" , "vscode-ripgrep" , "bin" , "rg" ) ;
54
52
if ( isWin ) {
55
53
ripgrepPath += ".exe" ;
56
54
}
57
55
58
- if ( ! fs . existsSync ( nodePtyModule ) ) {
59
- throw new Error ( "Could not find pty.node. Ensure all packages have been installed" ) ;
60
- }
61
- if ( ! fs . existsSync ( spdlogModule ) ) {
62
- throw new Error ( "Could not find spdlog.node. Ensure all packages have been installed" ) ;
63
- }
64
56
if ( ! fs . existsSync ( webOutputPath ) ) {
65
57
throw new Error ( "Web bundle must be built" ) ;
66
58
}
@@ -91,8 +83,6 @@ const buildServerBinaryCopy = register("build:server:binary:copy", async (runner
91
83
cpDir ( webOutputPath , "auth" , webOutputPath ) ;
92
84
cpDir ( browserAppOutputPath , "unauth" , browserAppOutputPath ) ;
93
85
fse . mkdirpSync ( path . join ( cliBuildPath , "dependencies" ) ) ;
94
- fse . copySync ( nodePtyModule , path . join ( cliBuildPath , "dependencies" , "pty.node" ) ) ;
95
- fse . copySync ( spdlogModule , path . join ( cliBuildPath , "dependencies" , "spdlog.node" ) ) ;
96
86
fse . copySync ( ripgrepPath , path . join ( cliBuildPath , "dependencies" , "rg" ) ) ;
97
87
} ) ;
98
88
@@ -204,9 +194,9 @@ register("package", async (runner, releaseTag) => {
204
194
} ) ;
205
195
206
196
runner . cwd = releasePath ;
207
- await os . platform ( ) === "linux"
197
+ await ( os . platform ( ) === "linux"
208
198
? runner . execute ( "tar" , [ "-cvzf" , `${ archiveName } .tar.gz` , `${ archiveName } ` ] )
209
- : runner . execute ( "zip" , [ "-r" , `${ archiveName } .zip` , `${ archiveName } ` ] ) ;
199
+ : runner . execute ( "zip" , [ "-r" , `${ archiveName } .zip` , `${ archiveName } ` ] ) ) ;
210
200
} ) ;
211
201
212
202
run ( ) ;
0 commit comments