fop-cli 3.9.12 → 3.9.13
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 +2 -8
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -7,7 +7,7 @@ const path = require('path');
|
|
|
7
7
|
const { execSync } = require('child_process');
|
|
8
8
|
|
|
9
9
|
// Configuration - UPDATE THESE FOR YOUR RELEASE
|
|
10
|
-
const VERSION = '3.9.
|
|
10
|
+
const VERSION = '3.9.13';
|
|
11
11
|
const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
|
|
12
12
|
const BINARY_NAME = 'fop';
|
|
13
13
|
|
|
@@ -101,13 +101,7 @@ async function install() {
|
|
|
101
101
|
if (!fs.existsSync(binDir)) {
|
|
102
102
|
fs.mkdirSync(binDir, { recursive: true });
|
|
103
103
|
}
|
|
104
|
-
|
|
105
|
-
// Check if already installed
|
|
106
|
-
if (fs.existsSync(binaryPath)) {
|
|
107
|
-
console.log('FOP binary already exists, skipping download.');
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
|
|
104
|
+
|
|
111
105
|
const platform = process.platform;
|
|
112
106
|
const arch = process.arch;
|
|
113
107
|
const key = `${platform}-${arch}`;
|