Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
const { canRunWindowsExeNatively, spawnExe } = require('cross-spawn-windows-exe') | ||
const { canRunWindowsExeNatively, is64BitArch, spawnExe } = require('cross-spawn-windows-exe') | ||
const path = require('path') | ||
@@ -9,3 +9,3 @@ | ||
module.exports = async (exe, options) => { | ||
const rceditExe = process.arch === 'x64' ? 'rcedit-x64.exe' : 'rcedit.exe' | ||
const rceditExe = is64BitArch(process.arch) ? 'rcedit-x64.exe' : 'rcedit.exe' | ||
const rcedit = path.resolve(__dirname, '..', 'bin', rceditExe) | ||
@@ -12,0 +12,0 @@ const args = [exe] |
{ | ||
"name": "rcedit", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Node module to edit resources of exe", | ||
@@ -28,3 +28,3 @@ "main": "lib/rcedit.js", | ||
"dependencies": { | ||
"cross-spawn-windows-exe": "^1.0.0" | ||
"cross-spawn-windows-exe": "^1.1.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2295256
144512