Add first_time_run script for MacOS

This commit is contained in:
Naibo_Mac_M2 2025-01-02 16:01:17 +08:00
parent 34ed41110a
commit 555f02815c
3 changed files with 51 additions and 5 deletions

View File

@ -1,8 +1,29 @@
Due to the complex security settings of MacOS, the issue of being unable to open software due to the "unverified developer" message may occur upon the first attempt to open the software. Please refer to the following GitHub document to see how to open software and perform tasks on your MacOS version:
Due to MacOS's complex security settings, software downloaded for the first time will warn that the developer is unverified and will not allow the application to run. Please follow these steps to unlock:
https://github.com/NaiboWang/EasySpider/wiki/MacOS-Guide
1. Open the system Terminal.
The main steps are as follows:
2. Navigate to the EasySpider software directory, such as:
cd ~/Downloads/EasySpider_MacOS
3. In the EasySpider directory, use the following command to modify the software's attributes:
bash first_time_run.sh
This will unlock EasySpider for both design and execution stages.
If you encounter errors such as the one below during the command execution, they can be ignored, and you may proceed to open the software after the command completes:
xattr: [Errno 13] Permission denied: 'EasySpider.app/Contents/Resources/app/node_modules/node-window-manager/build/node_gyp_bins/python3'
For another solution, refer to this video on how to open software and execute tasks in MacOS version: https://www.bilibili.com/video/BV1E34y137fT/
- Design phase - Apple Arm chip version of MacOS

View File

@ -0,0 +1,5 @@
#!/bin/bash
xattr -cr EasySpider.app
xattr -cr easyspider_executestage
xattr -cr easyspider_executestage_full

View File

@ -1,6 +1,26 @@
由于MacOS复杂的安全性设置初次打开软件会显示未验证开发者从而不允许打开的问题参考以下视频来查看MacOS版本如何打开软件和执行任务https://www.bilibili.com/video/BV1E34y137fT/
由于MacOS复杂的安全性设置初次打开软件会显示未验证开发者从而不允许打开的问题通过以下方式来解锁:
主要步骤如下:
1. 打开系统terminal命令行窗口。
2. 切换到EasySpider软件目录
cd ~/Downloads/EasySpider_MacOS
3. 在EasySpider目录下使用以下命令修改软件包属性
bash first_time_run.sh
即可一键解锁并正常使用EasySpider包括设计阶段程序和执行阶段程序。
执行命令时如果出现类似下面的错误可以忽略,执行完成之后即可打开软件:
xattr: [Errno 13] Permission denied: 'EasySpider.app/Contents/Resources/app/node_modules/node-window-manager/build/node_gyp_bins/python3'
以下是另一种方案请参考以下视频来查看MacOS版本如何打开软件和执行任务https://www.bilibili.com/video/BV1E34y137fT/
- 设计阶段 - Apple Arm芯片版MacOS