rapay 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +5 -0
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -175,6 +175,11 @@ async function install() {
|
|
|
175
175
|
// Step 5: Make executable on Unix
|
|
176
176
|
if (platform !== 'win32') {
|
|
177
177
|
fs.chmodSync(destPath, 0o755);
|
|
178
|
+
// Also ensure launcher script is executable
|
|
179
|
+
const launcherPath = path.join(binDir, 'ra');
|
|
180
|
+
if (fs.existsSync(launcherPath)) {
|
|
181
|
+
fs.chmodSync(launcherPath, 0o755);
|
|
182
|
+
}
|
|
178
183
|
}
|
|
179
184
|
|
|
180
185
|
console.log('');
|