Comments (7)
I'm happy to take this on - indeed, I'd quite like to.
from eve-iph.
There are a few things that need ironing out with this plan, but I thought I'd get it down on paper (well, kinda) and see what people thought. Below are some other things thought of.
- What happens if the application is closed during a download?
- Save the file using a one name (e.g. Update.partial) during download, then when the download is finished, rename.
- What happens if the application is closed while applying the update?
- I don't know. I doubt it would happen, but it might do.
- Just trust that the user is not going to do that? It's not like it would be difficult to re-download it.
- How should the API be used?
- octokit.net would work well
- It's another dependency to keep around
- It requires .NET 4.5
- It wouldn't require maintenance.
- Write API code independently?
- No dependencies.
- Why do that when there's already a library out there?
- With a slight change to the process above, it would be possible to allow people to opt in to receiving pre-release updates as well.
- The process above could mean that the separate update program would no longer be necessary. I'm not sure if that's a good thing or not.
- It could well be written so that the download and part of the update could be done while the application is still beiong used
- The API could also be used for release notes, by putting them in the description of each release.
- The dependency on MediaFire would be removed
- But it would be replaced by a dependency on GitHub
- IIRC, there's a dependency on something Zifrian hosts as well. Would this be relevant?
- The GitHub Releases API can be accessed without authenticating.
- It is quite heavily rate-limited if the client does not authenticate.
- Conditional requests could mitigate that; the request does not count against the limit if it does not return data.
- The command line parameters may not be needed if the folder locations are well-known or can be worked out.
from eve-iph.
Thanks for providing this information! I was going to look at using GitHub for releases haha. I'm currently working on a different feature and I don't want to rush the updater code so I think that should be slated for the next release. If possible, I'd like to talk with you about this over TeamSpeak or something at some point!
from eve-iph.
I don't know if TeamSpeak will work. It seems there's quite a time difference between us; I'm on GMT+1 and you seem to be active in the late-evening/night for me. Would IRC do the job? A channel on Freenode or similar might be useful for in the future as well.
from eve-iph.
I'm all for using github but I couldn't find any place where it looked like you could use it as a file server. I guess you can just put the files in the repository but not sure if that violates the TOS. Plus I'd have to do all that work you put up heh.
from eve-iph.
I'll happily take on the update code. The binaries can be uploaded as release assets - that's what that section is for, after all.
from eve-iph.
BTW, there is no link to my computer or at least there shouldn't be. As long as the links are the same on the media fire server, it should work fine. Maybe the username/pass change did something on the server but I'm not sure. Anyway, doing whatever is needed to move off a paid server is fine by me.
from eve-iph.
Related Issues (20)
- Windows Defender hitting on exefile HOT 13
- Character ESI log-in Works, but "Authorize" button is greyed-out / non functional HOT 1
- Feature Request: Update prices from a specified subset of systems HOT 1
- Unhandled Error when downloading new prices
- IPH Crashes on bootup after OS update, malformed database? HOT 1
- Cost of Charges when Copying to Clipboard HOT 4
- Win32/CoinMiner HOT 1
- Database locked HOT 3
- `Attempt to write a readonly database` HOT 1
- Manufacturing List Export - Unquoted Fields HOT 1
- ESI Data Import Error HOT 4
- Feature Request: Copy Paste lines to shopping list
- Error: "This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms." HOT 2
- [Linux] Cast to type 'Currency' is not valid. HOT 2
- Missing default for price modifiers HOT 2
- Crash on calculating manufacturing list HOT 2
- Unable to see SVR HOT 3
- Odd error. HOT 1
- SQL logic error when refreshing Blueprint Materials under Asset Viewer HOT 1
- MSI version update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eve-iph.