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

checkver.ps1 update manifest error #3584

Closed
wenmin92 opened this issue Aug 5, 2019 · 3 comments
Closed

checkver.ps1 update manifest error #3584

wenmin92 opened this issue Aug 5, 2019 · 3 comments

Comments

@wenmin92
Copy link

wenmin92 commented Aug 5, 2019

The error:
image

LaunchyQt.json

@Ash258
Copy link
Contributor

Ash258 commented Aug 5, 2019

You have url property in root of manifest, which is poiting to some repository and then architecture property with urls. This will result in error due to url function will return $.url instead of $.architecture.<arch>.url

Fixed manifest
{
    "version": "3.0.8",
    "description": "Launchy project reactivated. Get the familiar feeling now!",
    "homepage": "https://github.com/samsonwang/LaunchyQt",
    "license": "GPL-3.0-only",
    "architecture": {
        "64bit": {
            "url": "https://github.com/samsonwang/LaunchyQt/releases/download/v3.0.8/Launchy-3.0.8-win-amd64.7z",
            "hash": "cb3183105af62eed2ce50d52dcc1e540e4c54d4d86768547ca72a21013084a92",
            "extract_dir": "Launchy-3.0.8-win-amd64"
        },
        "32bit": {
            "url": "https://github.com/samsonwang/LaunchyQt/releases/download/v3.0.8/Launchy-3.0.8-win-x86.7z",
            "hash": "a57942575ad29912ba459333153f9d3ef36584e3b9793cebf35f2f781298939c",
            "extract_dir": "Launchy-3.0.8-win-x86"
        }
    },
    "bin": "Launchy.exe",
    "shortcuts": [
        [
            "Launchy.exe",
            "LaunchyQt"
        ]
    ],
    "persist": [
        "history.db",
        "launchy.db",
        "launchy.ini"
    ],
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/samsonwang/LaunchyQt/releases/download/v$version/Launchy-$version-win-amd64.7z",
                "extract_dir": "Launchy-$version-win-amd64"
            },
            "32bit": {
                "url": "https://github.com/samsonwang/LaunchyQt/releases/download/v$version/Launchy-$version-win-x86.7z",
                "extract_dir": "Launchy-$version-win-x86"
            }
        }
    }
}

@wenmin92
Copy link
Author

wenmin92 commented Aug 5, 2019

@Ash258 God, this is too fast, thank you very much. ❤️

@wenmin92
Copy link
Author

wenmin92 commented Aug 5, 2019

This issue has solved, and can be closed.

@wenmin92 wenmin92 closed this as completed Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants