mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 03:39:52 +00:00
The inspector had an Open Executable… button but no app-level Open command, and the file importer's completion ignored failures, so a picker error was never shown. - File > Open Executable… with Command-O, after New Window. It calls the same requestImport() as the button, so it opens the same read-only importer and the chosen file reaches inspect(), the path shared with drag and drop and Finder Open With. - importFinished(_:) handles the importer result: success inspects, a user cancellation (CocoaError.userCancelled) shows nothing, and any other failure is shown in red with the error's description. The message clears on the next request or selection. - --smoke-import-result checks cancellation, a shown failure and its clearing without opening files; scripts/build-app.sh runs it after --smoke. It fails with the previous importer handling and without the cancellation check. Opening a file still never starts guest execution, the DBT or the JIT. Ported from XenoraOSS/Xenora#424. Signed-off-by: maridogolpeador <354308468+maridogolpeador@users.noreply.github.com>