clipboardy 5.2.1 → 5.3.1

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/lib/windows.js CHANGED
@@ -7,7 +7,7 @@ import {powerShellPath, executePowerShell} from 'powershell-utils';
7
7
 
8
8
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
9
9
 
10
- const binarySuffix = is64bitSync() ? 'x86_64' : 'i686';
10
+ const binarySuffix = process.arch === 'arm64' ? 'aarch64' : (is64bitSync() ? 'x86_64' : 'i686');
11
11
 
12
12
  // Binaries from: https://github.com/sindresorhus/win-clipboard
13
13
  const windowBinaryPath = path.join(__dirname, `../fallbacks/windows/clipboard_${binarySuffix}.exe`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clipboardy",
3
- "version": "5.2.1",
3
+ "version": "5.3.1",
4
4
  "description": "Access the system clipboard (copy/paste)",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/clipboardy",