File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:18.04
22
33RUN apt-get update \
4- && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs npm git rsync m4 curl \
4+ && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs npm git rsync m4 curl zip \
55 && rm -rf /var/lib/apt/lists/*
66
77RUN npm i -g esy@0.5.8
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ const zipName = `${exeName}-${version}-${platform}.zip`;
1313if ( fs . existsSync ( zipName ) ) {
1414 fs . unlinkSync ( zipName ) ;
1515}
16- fs . copyFileSync ( "_build/default/bin/Extract.exe" , exeName ) ;
16+
17+ const builtExePath = child_process
18+ . execSync ( `esy x which Extract.exe` )
19+ . toString ( )
20+ . trim ( ) ;
21+
22+ fs . copyFileSync ( builtExePath , exeName ) ;
1723child_process . execSync ( `zip ${ zipName } ${ exeName } ` ) ;
1824fs . unlinkSync ( exeName ) ;
You can’t perform that action at this time.
0 commit comments