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

How to update "nightly" rvgl? #181

Closed
7wells opened this issue Dec 30, 2020 · 6 comments · May be fixed by #936
Closed

How to update "nightly" rvgl? #181

7wells opened this issue Dec 30, 2020 · 6 comments · May be fixed by #936
Labels
package update A package needs to be updated question Further information is requested

Comments

@7wells
Copy link

7wells commented Dec 30, 2020

Hello,

rvgl has been updated on 29 Dec 2020. I have an older version installed via the official "rvgl.json" file, which says the updates are "nightly". When I do scoop update rvgl, it tells me:

rvgl: nightly-20200821 (latest version)

However, this is not the latest version, which is version 20.1230, dated 29 Dec 2020:
https://distribute.re-volt.io/releases/

The json file points to this link:
https://distribute.re-volt.io/releases/rvgl_full_win64_online.zip

When I manually download and look into it, it is indeed the latest version 20.1230, but that does not help, as scoop thinks that nightly-20200821 is the latest version.

How shall users update such "nightly" programmes/games? Shall I uninstall rvgl first and then install it (again)? Will settings be retained or lost?

Thanks for your help and my best wishes to all of you for 2021!

@Calinou
Copy link
Owner

Calinou commented Dec 30, 2020

How shall users update such "nightly" programmes/games? Shall I uninstall rvgl first and then install it (again)? Will settings be retained or lost?

Yes, that's currently the only way to update nightly apps in Scoop. Your data will be persisted in the persist folder so you shouldn't lose it (if all goes well…). If your data is really important, I recommend making regular backups of it anyway.

That said, the manifest needs to be updated to point to the new URL. I originally made the version identifier nightly because the download hash kept changing without notice.

@Calinou Calinou added the package update A package needs to be updated label Dec 30, 2020
@7wells
Copy link
Author

7wells commented Dec 30, 2020

Thanks for your quick confirmation. Rvgl has no folder under "persist", though. I will make a backup of "everything" rvgl-related to play it safe.

@7wells
Copy link
Author

7wells commented Jan 5, 2021

Hello Calinou, I do not understand why it does not work. Currently, the json is this:

{
    "homepage": "https://rvgl.re-volt.io/",
    "description": "Modern reimplementation of the classic RC racing game Re-Volt (full package with extras)",
    "version": "nightly",
    "license": "Freeware",
    "architecture": {
        "64bit": {
            "url": "https://distribute.re-volt.io/releases/rvgl_full_win64_online.zip"
        },
        "32bit": {
            "url": "https://distribute.re-volt.io/releases/rvgl_full_win32_online.zip"
        }
    },
    "shortcuts": [
        [
            "rvgl.exe",
            "RVGL"
        ]
    ]
}

When I go to the link (64bit), it is the correct file (latest, i.e. 20.1230 version, dated 29 Dec 2029). But even after completely uninstalling rvgl via scoop uninstall rvgl (and making sure that there are no "left-over" folders and files) and doing a fresh scoop install rvgl and then scoop update rvgl, it still tells me: rvgl: nightly-20200821 (latest version)
How come that scoop thinks that nightly-20200821 is the latest version? What am I missing?

Thanks for your insights - and my best wishes to you for 2021!

@Calinou
Copy link
Owner

Calinou commented Jan 5, 2021

@7wells I don't know why that would happen, sorry.

@Calinou Calinou added the question Further information is requested label Feb 14, 2021
@Calinou Calinou changed the title [Question] How to update "nightly" rvgl? How to update "nightly" rvgl? Feb 14, 2021
@beyondmeat
Copy link
Contributor

@Calinou can close, scoop requires --force for nightlies.

@beyondmeat
Copy link
Contributor

@7wells please close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package update A package needs to be updated question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants