-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第六步脚本的链接显示404 #437
Comments
不知道什么时候改成了 https://github.com/dmMaze/BallonsTranslator/blob/dev/scripts/macos-build-script-arm64.sh @hyrulelinks 另外我看这个脚本内容和 readme 里的步骤有部分是重合的,比如下载模型哈希校对实际上第一次运行是会做的,脚本另外下载有什么必要吗 |
这个脚本很久没更新了,我记得当初校验哈希是因为程序自己下载模型总是中断,最后是从程序报错信息中复制模型url到浏览器下载,重复报错重复复制url下载,知道全部模型都下载后,才成功运行主程序,所以当时我把下载好的模型打了个包存起来,每次需要重新下载模型了就用这个替代,脚本验证哈希是为了能够复用这些已经下载好的模型,如果哈希通过,说明模型文件没有损坏,不需要重复下载,现在是否还需要验证哈希我不太确定 |
源头上来说,主要是不知道什么原因,运行python主程序自行下载模型虽然速度顶格,但总是会失败报错,无法下载成功,非常磨人,最后只能从错误信息中提取下载链接到浏览器下载,然后按照错误信息提示放到正确的路径下,这个问题我之前好像在其他issue中有报告过,可能python下载的模块需要更新或替换成其他更好的软件包来解决下载的问题 |
这两天比较忙,我空点重新写过这个脚本 |
已更新readme,不需要脚本了,按照步骤打包APP即可,建议close该议题 |
https://raw.githubusercontent.com/dmMaze/BallonsTranslator/dev/scripts/macos-build-script.sh
The text was updated successfully, but these errors were encountered: