OoT-Randomizer icon indicating copy to clipboard operation
OoT-Randomizer copied to clipboard

Self-Contained Updater

Open ianfife opened this issue 6 years ago • 11 comments

The Dev Build could really use a way to automatically update. Maybe I'm missing something?

ianfife avatar Aug 19 '19 20:08 ianfife

Install git, clone the repo, type git pull before running.

Or just wait until Dev is also available on the website.

flagrama avatar Aug 19 '19 20:08 flagrama

Most of us just do a quick git pull and it is automatically updated. I doubt anyone will put in effort to make something for a development branch.

Hamsda avatar Aug 19 '19 20:08 Hamsda

There are several reasons why this is a bad idea, but I'll give you a few.

  • It's Dev, so there's no guarantee that the updated build works.
  • Auto-updates would require an internet connection, which kind of defeats the purpose of having an offline build.
  • There are specific older builds that have uses, such as 4.13.21 which is being used by the Multiworld tournament, and it would be crappy if that auto-updated on everyone.

LostThePirate avatar Aug 19 '19 20:08 LostThePirate

Some people also don't want to update with every single push. no reason to force that on people

aofengen avatar Aug 19 '19 20:08 aofengen

TortoiseGit is the way to go, for a easier pull and managing of the your directory on windows.

Kongolan avatar Aug 19 '19 22:08 Kongolan

Let me explain what I meant a little better. Auto-updater wasn't really the correct term to use. I meant a way to have it update by itself when you click the "New Version Available" text.

ianfife avatar Aug 20 '19 03:08 ianfife

It used to download and install updates after you manually clicked a button to do so, then it got changed to a link to the Github website and I dunno why.

Then again, I could be getting confused with the downloadable release of A Link to the Past Randomizer from a few years ago before they had a website generator.

Nicholas-Steel avatar Aug 20 '19 08:08 Nicholas-Steel

@Mast3rGenius Really looks at TortoiseGit, you install it once, then you can right click on the folder with the randomizer, select Pull and it will update for you, no other clicks needed.

Kongolan avatar Aug 20 '19 09:08 Kongolan

@Kongolan Requiring anyone who wants to use the latest randomizer version, but also isn't too github experienced to download something like that is unrealistic. This would be a good change for everyone involved. It would make the whole process easier.

ianfife avatar Aug 23 '19 01:08 ianfife

This is an old issue but I do think there's a better way to handle it than "go on GitHub and download a ZIP" or "if you know how to use git, use git".

I don't think there should be any built-in updater (e.g. #853) because for updating the dev versions, git is going to be far superior to anything we can roll ourselves. My suggestion is for improved documentation to install git, maybe a .bat file to clone the repository for those uncomfortable with using the command-line themselves, and for the GUI's "update available" box to possibly detect if the rando folder is inside a git repository and add a button that'd do a git pull and restart the GUI.

Cuphat avatar Mar 06 '23 22:03 Cuphat

We should also consider providing packages for the randomizer on repositories like Scoop and Homebrew, which would then essentially handle the updates for us.

fenhl avatar Feb 16 '24 18:02 fenhl