@
yeeli #5 非常感谢大佬,确实是权限的问题,把 Electron 和 Python 打包软件(nuitka)里的权限改成这几个就没问题了:
- NSDesktopFolderUsageDescription: An application requests access to the user's Desktop folder.
- NSDocumentsFolderUsageDescription: An application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: An application requests access to the user's Downloads folder.
- NSNetworkVolumesUsageDescription: An application requests access to files on a network volume.
- NSRemovableVolumesUsageDescription: An application requests access to files on a removable volume.
参考:
https://github.com/Nuitka/Nuitka/issues/1605第一个 Electron 软件属实是跑通了,非常感谢