I request help from users and programmers who use Mac to test krux-installer. This post be a long one, sorry.
A friend, a Mac user, tested and came across the following problem, during the `flash` stage (the stage where krux-installer use a tool the krux firmware).
The problem is with the tool, a `ktool-mac` file:
😭😭😭
```bash
Error: 0:336: execution error:
[1047] Cannot open PyInstaller archive from executable (/Users/somefriend/Documents/krux-installer/krux-v23.09.0/ktool-mac)
or external archive (/Users/somefriend/Documents/krux-installer/krux-v23.09.0/ktool-mac.pkg) (255)
at Socket. (/Applications/krux-installer.app/Contents/Resources/app.asar/dist-electron/main/index.js:6:381)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Socket.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
```
😭😭😭
In krux context, `ktool-mac` is a executable packaged with PyInstaller,
for the purpose of running a python script on any operating system,
without having to install python.
But that's not what's happening in our case.
I lightly investigated the problem and found this thread:

GitHub
Cannot open Pyinstaller archive from executable(...) or external archive(...) · Issue #7243 · pyinstaller/pyinstaller
I meet a problem after converting my python project into executable file with pyinstaller 4.9 and python 3.6. The .exe file runs well on windows 10...
They say that the file (in our case, `ktool-mac`):
- Can be corrupted; or
- have insufficient permissions.
The help that i request is to make the steps below, and give some feedback, as a reply on this post, to confirm a corruption or a permission problem:
- (1) download

GitHub
Release Version 23.09.0 · selfcustody/krux
Version 23.09.0 - September 12, 2023
After a long year, new features are finally coming out of beta and making their way into a stable release. Als...
;
- (2) extract `ktool-mac` in a separate folder;
- (3) execute, in a terminal, `sha256sum <path were you saved the file>/ktool-mac` and save the result hash on a text file;
- (4) download

GitHub
Release Krux-Installer v0.0.1-alpha-6 · selfcustody/krux-installer
What's Changed
Updated from Urgent Security Issue by @qlrd in #29
Critical WebP bug: many apps, not just browsers, under threat.
The heap buffer ...
- (5) Execute steps on software: (a) `select device`; (b) `select-version` (c) `v23.09.0`; (d) `verification`; (e) `flash`;
- (6) Maybe a error will appear, if you want to reproduce the error, fell free to do it;
- (7) Now, execute a `sha256sum /Users/somefriend/Documents/krux-installer/krux-v23.09.0/ktool-mac` (change `somefriend` with your current user);
- (8) save the result hash on next line of the same text file of step 3;
- (9) compare the hashes;
If hashes are the same, we can confirm a permission problem.