Skip to content

Suggest adding a parameter to skip checking for update #63

@SadPencil

Description

@SadPencil
xnbcli.exe unpack ".\packed" ".\unpacked"
[ERROR] Failed to search for a new update. Application should still function normally.
[ERROR] RequestError: connect ETIMEDOUT 185.199.108.133:443

In China, the Internet connection to GitHub is interfered, resulting in such a connection being blocked until timeout, which is about a few minutes. Therefore, it would be good to provide a parameter to skip the checkUpdate() function

const response = await got('https://raw.githubusercontent.com/LeonBlade/xnbcli/master/package.json', { json: true });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions