Skip to content

Commit

Permalink
readme: fix build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
WorriedArrow committed Jan 14, 2023
1 parent 183ac4a commit 5622d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $ npm install
```
Then, simply run:
```
$ pkg .
$ npm run build
```
Then, the executables should be in `/dist`. Run your platform's executable to test your code out!

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(!existsSync(settingsJson)) {
}

let data = JSON.parse(readFileSync(settingsJson).toString());
var minified = readFileSync(join(__dirname, "dist", "openloader.min.js"));
var minified = readFileSync(join(__dirname, "dist", "openloader.min.js")).toString();
if(!data.openasar) {
console.log("Error: No OpenAsar found in your settings.json. Please install OpenAsar (https://openasar.dev) before attempting to install OpenLoader.");
process.exit(1);
Expand Down

0 comments on commit 5622d92

Please sign in to comment.