Skip to content

Doesn't work for Github private repo #62

@Aarbel

Description

@Aarbel

The routes of hazel doesn't seem to work with private repo

DOESN'T WORK

const server = "https://clovis-desktop-hazel-upd.aarbel.now.sh"
const updaterFeedURL = `${server}/update/${process.platform}/${app.getVersion()}`

autoUpdater.setFeedURL(updaterFeedURL);

Error:
Unhandled rejection Error: Cannot find channel "latest-mac.yml" update info: HttpError: 404

Please double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.\n

WORKS

const updaterFeedURL = {
    provider: 'github',
    owner: 'my-team',
    repo: 'my-repo',
    token: 'my-github-token',
}

autoUpdater.setFeedURL(updaterFeedURL);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions