Skip to content

Commit

Permalink
Added new binary path, removed windows dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisGerritsenCloudflight committed Feb 4, 2025
1 parent a5d133e commit 4ddcac4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const kPlatform = `${platform}${compiler}-${arch}`;

const binaryPaths = [
`./src/build/Release/converter.node`,
`@myunisoft/heif-converter.${kPlatform}/converter.node`
`@myunisoft/heif-converter.${kPlatform}/converter.node`,
`../../../apps/desktop/main/assets/heif-converter/heif-converter.win32-x64/lib/converter.win32-x64.node`
];
let lib = null;
const errors = [];
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"@myunisoft/heif-converter.darwin-x64": "^0.0.6",
"@myunisoft/heif-converter.linux-x64": "^0.1.6",
"@myunisoft/heif-converter.linuxmusl-x64": "^0.2.4",
"@myunisoft/heif-converter.win32-ia32": "^0.0.6",
"@myunisoft/heif-converter.win32-x64": "file:npm/win32-x64"
"@myunisoft/heif-converter.win32-ia32": "^0.0.6"
},
"dependencies": {
"detect-libc": "^2.0.3"
Expand Down

0 comments on commit 4ddcac4

Please sign in to comment.