Skip to content

Commit

Permalink
fix graaljs again (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek authored Oct 19, 2022
1 parent de6d48f commit a7c722d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/engines/graaljs.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,10 @@ class GraalJSInstaller extends Installer {
const root = `graaljs-${this.version}-${getFilename()}`;
let graaljs;
if (platform === 'darwin-x64') {
await this.registerAsset(`${root}/Contents/Home/lib/libjsvm.dylib`);
graaljs = await this.registerAsset(`${root}/Contents/Home/bin/js`);
} else if (platform === 'win32-x64') {
await this.registerAsset(`${root}/lib/jsvm.dll`);
graaljs = await this.registerAsset(`${root}/bin/js.exe`);
} else {
await this.registerAsset(`${root}/lib/libjsvm.so`);
graaljs = await this.registerAsset(`${root}/bin/js`);
}
this.binPath = await this.registerScript('graaljs', `${graaljs}`);
Expand Down

0 comments on commit a7c722d

Please sign in to comment.