Skip to content
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

Can't Auto Update (Only update with safari?) #27

Closed
mifjpn opened this issue Jan 14, 2022 · 8 comments
Closed

Can't Auto Update (Only update with safari?) #27

mifjpn opened this issue Jan 14, 2022 · 8 comments

Comments

@mifjpn
Copy link
Contributor

mifjpn commented Jan 14, 2022

Thank you so much for making a good editor.
When I press the button after it says there is an update, I get "Download Progress: 660.00 bytes-> 660.00 bytes", but I can't upgrade.
It seems that it will be when Safari is not the default even in Windows version and mac os version.
You have upgraded very well to improve this program, so I would like to follow up and update,
I hope this is fixed.
Thank you
スクリーンショット 2022-01-14 143549
.

@ic005k
Copy link
Owner

ic005k commented Jan 14, 2022

Please select an available mirror server in the "Help" menu to update, and after you select it, click "Download upgrade package" in the help menu to see if the mirror server is available and how fast it can be downloaded.
In short, just choose the fastest mirror server for you.

@mifjpn
Copy link
Contributor Author

mifjpn commented Jan 14, 2022

Thank you for your quick reply.
Where can I get to the mirror server from HELP on the menu bar?
Is the version too old?
Sorry for the basic question
クリップボード01
.
From now on, I will download the new one manually.

@mifjpn
Copy link
Contributor Author

mifjpn commented Jan 14, 2022

thank you.
It seems that I should choose another mirror.
If I choose github.com, it will be 660 bytes.
I feel a little strange.

@ic005k ic005k pinned this issue Jan 23, 2022
@SergeySlice
Copy link

Please select an available mirror server in the "Help" menu to update, and after you select it, click "Download upgrade package" in the help menu to see if the mirror server is available and how fast it can be downloaded.
In short, just choose the fastest mirror server for you.

I have the same problem and I don't think I have to change server. It is fast.
The program itself has the problem.

@ic005k
Copy link
Owner

ic005k commented Jan 23, 2022

The program itself has the problem.

The code for the automatic upgrade is here, can you please help improve these codes or see what the problem is? Thank you very much.

https://github.com/ic005k/PlistEDPlus/blob/0588420a28c9a05736bcfe5cdd800af196660155/autoupdatedialog.cpp#L183

@ic005k
Copy link
Owner

ic005k commented Jan 23, 2022

I have the same problem and I don't think I have to change server. It is fast.

If you choose to mirror the server to work properly, I'm not going to do an in-depth analysis of this issue at this time because it's not the main function of the program, it's just a very minor secondary function and not worth the time spent on this.

@mifjpn
Copy link
Contributor Author

mifjpn commented Jan 23, 2022

Thank you for always good development.

PlistEDPlus receives 660 bytes when updating from Git-Hub because the content is a redirect.

From QT5.6, the QNetworkRequest attribute in QNetworkAccessManager.h has an additional FollowRedirectsAttribute, which can be true to resolve redirects and download the correct file.

Maybe this will eliminate the problem.

mifjpn / PlistEDPlus

I would be honored if I could contribute to you.

@mifjpn
Copy link
Contributor Author

mifjpn commented Jan 24, 2022

It seems to have worked and I'm happy.
It was my first time to use the development environment of qt, but it is very devised and easy to use.
Thank you very much.

@mifjpn mifjpn closed this as completed Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants