-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
自動更新的一點點想法 #87
Comments
Title: A little idea about automatic updates Recently, I have also tried to automatically update, otherwise it would be too inconvenient. My personal approach is to set up an HFS server, upload through CURL, and add the self-decryption and execution instructions of the compressed file. It should be considered convenient. For reference . You can also download it in the following way REM make self unzip
%RAR_DIR% a -ep1 -r %RAR_OUTPUT_FILE_DIR% %FILE_DIR%.exe .\DelSelf.cmd -sfx -iicon%ICON_DIR% -z.\tmp.ini -p%RAR_PWD% -m5 -df
REM Upload AHKOOL_SETUP.exe to server
curl -u %HFS_ACC%:%HFS_PWD% -X POST -F "file=@%RAR_OUTPUT_FILE_DIR%" -F press="Upload files" %HFS_SERVER% |
你用的什麼安装方式?最近有遇到無法更新的問題嗎? 如果是包管理安装的話一般還是通過包管理工具来更新比較好。 如果是编携版的話,目前好像是手動更新,等我闲了再研究下。。 自解圧的方式很值得参考。 CURL upload応該用不上,因為github action会自動上伝到release裏面。 |
What installation method did you use? Have you encountered the problem of being unable to update recently? If it is a package management installation, it is generally better to update through the package management tool. If it is a portable version, it seems to be updated manually at the moment. I will study it when I have free time. . CURL upload should not be used because the github action will automatically be uploaded to the release. |
我用的是攜帶版的,因為有些時候會加入自己的功能, 所以才有上面的建議和用法,謝謝大佬! |
I use the portable version because sometimes I add my own functions. That’s why I have the above suggestions and usage, thank you boss! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
最近我也有嘗試想要自動更新,不然太不方便了,我個人的做法是架一個 HFS 的伺服器,透過 CURL 去 upload ,加上壓縮檔的自解和執行指令,應該算是方便,供參。
下載也可以如是的方式去載
The text was updated successfully, but these errors were encountered: