Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
好的,以下是我草拟的readme,敬请参考。
##nuitka_build.py一键打包脚本
本脚本的主要功能有:
nuitka 生成可执行文件、zipfile制作portable文件、 InnoSetup制作安装文件。如不需要生成zip压缩包,或制作安装包。可以自行注释掉create_portable()、create_portable()对应语句
说明
nuitka是一个可以将Python代码转换为C++代码并编译为可执行文件或扩展模块的工具。可以明显提高python项目的加载运行速度。Inno Setup 是一个免费的 Windows 安装程序制作软件,十分简单实用的打包小工具。
使用步骤
1、安装项目依赖
2、安装nuitka
3、安装Inno Setup
![image](https://private-user-images.githubusercontent.com/10486408/252145806-00c7f0d5-a0b3-4185-904a-c4238b3305f2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MjA4NjAsIm5iZiI6MTcyMTQyMDU2MCwicGF0aCI6Ii8xMDQ4NjQwOC8yNTIxNDU4MDYtMDBjN2YwZDUtYTBiMy00MTg1LTkwNGEtYzQyMzhiMzMwNWYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDIwMjI0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlZWE2NDZjY2U2ZGMwOWY4NGE1OTI4ZWMzMGE3MjAyNWM5MzJiZjkxNjE4ZDNiMWQ3Y2FhZTZmNWIwMTI0NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.doxMMGadz5oKSl9f6eO3qYs2jEr3M8yqOK0SupIMPDQ)
官网下载地址:https://jrsoftware.org/download.php/is.exe
中文语言包:https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseSimplified.isl
请保存语言包到Inno Setup安装目录
4、执行脚本
5、安装
6、卸载
控制面板找到Umi-OCR,卸载即可