MacOS_Updater icon indicating copy to clipboard operation
MacOS_Updater copied to clipboard

do not run if on latest version

Open STiXzoOR opened this issue 6 years ago • 2 comments

i have added a function to check whether it's on the latest version or not and if it is, no need to run the script. i know maybe it's a little bit hacky but it does the job. hope it helps.

STiXzoOR avatar Mar 27 '19 00:03 STiXzoOR

Hi,

I guess we'd better do it after selecting channel. Just in case one is under the latest stable version and want to update to the latest Beta.

In this case we'd need to create one more variable reflecting the latest Beta build. But that means that we need to update the script a bit more frequently. Well, not a big problem though...

By the way, there is, sometimes, also special build, which is typically for the latest device. I don't know how it works and how it gets distributed unfortunately.

More discussions required.

PMheart avatar Mar 27 '19 11:03 PMheart

I guess we'd better do it after selecting channel. Just in case one is under the latest stable version and want to update to the latest Beta.

In this case we'd need to create one more variable reflecting the latest Beta build. But that means that we need to update the script a bit more frequently. Well, not a big problem though...

Oh yeah that's right, it was late when i was modifying the code ^^. If you think of it, the script will be updated anyway when a new update is released so as you said not a big problem.

By the way, there is, sometimes, also special build, which is typically for the latest device. I don't know how it works and how it gets distributed unfortunately.

I didn't know that to be honest. I will look into that when i have some spare time.

STiXzoOR avatar Mar 27 '19 18:03 STiXzoOR