PhoenicisOrg / scripts

Phoenicis scripts
GNU Lesser General Public License v3.0
64 stars 49 forks source link

Update "Tom Clancy's Rainbow Six 3 : Raven Shield" script #1181

Open madoar opened 4 years ago

madoar commented 4 years ago

The following changes should be done:

https://github.com/PhoenicisOrg/scripts/blob/5fe4e1f8a9e0f1003e1e9c523c4afb61d15042f7/Applications/Games/Tom%20Clancy's%20Rainbow%20Six%203%20:%20Raven%20Shield/Local%20(1.0-%3E1.6)/script.js#L34-L41

plata commented 4 years ago

The var to const is done. What's the advantage of using Resource? Shouldn't Resource be used only for stuff which is shared between scripts? If you use it to download big files, I think they will remain in the resources directory and fill up your hard drive.

Zemogiter commented 4 years ago

At least you won't have to redownload them everytime.

plata commented 4 years ago

Yes, if you install the app again. That's not the normal use case as far as I'm concerned.

For example in verbs it's different: As multiple apps might use the same verbs, it makes sense to keep the resource.

madoar commented 4 years ago

It is not only about keeping the resource. I see two possible benefits of using Resource over Downloader:

In addition Resource uses Downloader internally so it is essentially the same anyway