Skip to content

Commit b4badbb

Browse files
author
Roland Peelen
committed
🐛 - Include postinstall file
1 parent b9d6188 commit b4badbb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.7",
44
"license": "BSD-3-Clause",
55
"files": [
6+
"/postinstall.js",
67
"/rewatch",
78
"/rewatch.cmd",
89
"/rewatch-linux",

postinstall.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const installMacLinuxBinary = (binary) => {
99
const target = path.join(__dirname, "rewatch");
1010
fs.renameSync(source, target);
1111

12-
// The ppx should be executable in the bundle, but just in case
12+
// The binary should be executable in the bundle, but just in case
1313
fs.chmodSync(target, 0777);
1414
} else {
1515
// assume we're in dev mode - nothing will break if the script
@@ -44,7 +44,7 @@ switch (process.platform) {
4444
installWindowsBinary();
4545
break;
4646
default:
47-
// This won't break the installation because the `ppx` shell script remains
47+
// This won't break the installation because the shell script remains
4848
// but that script will throw an error in this case anyway
4949
console.warn(`No release available for "${process.platform}"`);
5050
process.exit(1);

0 commit comments

Comments
 (0)