Comparing version 1.2.1 to 1.15.0
@@ -7,2 +7,3 @@ #!/usr/bin/env node | ||
const path = require('path') | ||
const fs = require('fs-extra') | ||
@@ -13,2 +14,6 @@ let platform = os.platform() | ||
} | ||
if(platform == 'darwin') { | ||
console.error('Darwin not supported in this version. Make a pull request with an image if you need it or use older version.', platform); | ||
process.exit(1) | ||
} | ||
if (platform !== 'linux' && platform !== 'win' && platform !== 'darwin') { | ||
@@ -27,3 +32,7 @@ console.error('Unsupported platform.', platform); | ||
) | ||
if (platform === 'linux' || platform === 'darwin') { | ||
fs.chmodSync(basisuPath, 0755); | ||
} | ||
execFile(basisuPath, args, (err, stdout, stderr) => { | ||
@@ -30,0 +39,0 @@ if (err) { |
{ | ||
"name": "basisu", | ||
"version": "1.2.1", | ||
"version": "1.15.0", | ||
"description": "Basis Universal encoder binaries", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
# basisu | ||
basisu static binaries for Linux, Windows and macOS | ||
basisu static binaries for Linux and Windows | ||
@@ -23,2 +23,2 @@ Encoder for basis unversal texture format: | ||
Currently supports Linux (64-bit), Windows | ||
(64-bit), macOS (64-bit). | ||
(64-bit). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
51
3
5765767
7
1