所以,我已經建立了松鼠堅果服務器(https://github.com/GitbookIO/nuts)對我的電子應用,一切都正常運行,但是當它檢查更新提要URL,它沒有找到它。無法更新從松鼠堅果服務器應用
更新可用的事件永遠不會觸發。
供稿網址設置爲: https://nuts.mywebsite.com/update/platform/version
我在GitHub庫兩個版本,並第一個安裝。
我要指出,我已經安裝了GitHub的網絡掛接,所以這不應該是一個問題cacheing。我已經確認發佈文件都可以通過手動下載。
我檢查了SquirrelSetup.log文件,它似乎被擊中URL,只是沒有得到更新。
2016年8月13日23時36分04秒> CheckForUpdateImpl:下載的版本從https://nuts.mywebsite.com/update/win32/0.0.1-alpha
2016年8月13日23時36分04秒文件> FileDownloader:下載網址:https://nuts.mywebsite.com/update/win32/0.0.1-alpha/RELEASES?id=MyApp&localVersion=0.0.1-alpha&arch=amd64
目錄/ API /版本:
[{
"tag": "0.0.2-alpha",
"channel": "alpha",
"notes": "Testing update.",
"published_at": "2016-08-14T07:58:34.000Z",
"platforms": [{
"id": "1234567",
"type": "windows_32",
"filename": "RELEASES",
"size": 254,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "RELEASES",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 254,
"download_count": 1,
"created_at": "2016-08-14T07:54:30Z",
"updated_at": "2016-08-14T07:57:30Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.2-alpha/RELEASES"
}
}, {
"id": "1234567",
"type": "32",
"filename": "My.App.msi",
"size": 71680000,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "My.App.msi",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 71680000,
"download_count": 0,
"created_at": "2016-08-14T07:54:30Z",
"updated_at": "2016-08-14T07:58:32Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.2-alpha/My.App.msi"
}
}, {
"id": "1234567",
"type": "windows_32",
"filename": "MyApp-0.0.2-alpha-delta.nupkg",
"size": 3354516,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyApp-0.0.2-alpha-delta.nupkg",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 3354516,
"download_count": 0,
"created_at": "2016-08-14T07:54:30Z",
"updated_at": "2016-08-14T07:55:32Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.2-alpha/MyApp-0.0.2-alpha-delta.nupkg"
}
}, {
"id": "1234567",
"type": "windows_32",
"filename": "MyApp-0.0.2-alpha-full.nupkg",
"size": 73020339,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyApp-0.0.2-alpha-full.nupkg",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 73020339,
"download_count": 0,
"created_at": "2016-08-14T07:54:30Z",
"updated_at": "2016-08-14T07:56:31Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.2-alpha/MyApp-0.0.2-alpha-full.nupkg"
}
}, {
"id": "1234567",
"type": "windows_32",
"filename": "MyApp.exe",
"size": 72183296,
"content_type": "application/x-msdownload",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyApp.exe",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/x-msdownload",
"state": "uploaded",
"size": 72183296,
"download_count": 0,
"created_at": "2016-08-14T07:54:30Z",
"updated_at": "2016-08-14T07:57:29Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.2-alpha/MyApp.exe"
}
}]
}, {
"tag": "0.0.1-alpha",
"channel": "alpha",
"notes": "Initial release for testing.",
"published_at": "2016-08-14T07:44:25.000Z",
"platforms": [{
"id": "1234567",
"type": "windows_32",
"filename": "RELEASES",
"size": 86,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "RELEASES",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 86,
"download_count": 398,
"created_at": "2016-08-14T07:40:46Z",
"updated_at": "2016-08-14T07:43:11Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.1-alpha/RELEASES"
}
}, {
"id": "1234567",
"type": "32",
"filename": "MyAppSetup.msi",
"size": 71684096,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyAppSetup.msi",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 71684096,
"download_count": 0,
"created_at": "2016-08-14T07:40:46Z",
"updated_at": "2016-08-14T07:41:54Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.1-alpha/MyAppSetup.msi"
}
}, {
"id": "1234567",
"type": "windows_32",
"filename": "MyApp-0.0.1-alpha-full.nupkg",
"size": 73019931,
"content_type": "application/octet-stream",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyApp-0.0.1-alpha-full.nupkg",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/octet-stream",
"state": "uploaded",
"size": 73019931,
"download_count": 0,
"created_at": "2016-08-14T07:40:46Z",
"updated_at": "2016-08-14T07:44:10Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.1-alpha/MyApp-0.0.1-alpha-full.nupkg"
}
}, {
"id": "1234567",
"type": "windows_32",
"filename": "MyApp.exe",
"size": 72183296,
"content_type": "application/x-msdownload",
"raw": {
"url": "https://api.github.com/repos/codephobia/my-app/releases/assets/1234567",
"id": 1234567,
"name": "MyApp.exe",
"label": null,
"uploader": {
"login": "codephobia",
"id": 1234567,
"avatar_url": "https://avatars.githubusercontent.com/u/1234567?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/codephobia",
"html_url": "https://github.com/codephobia",
"followers_url": "https://api.github.com/users/codephobia/followers",
"following_url": "https://api.github.com/users/codephobia/following{/other_user}",
"gists_url": "https://api.github.com/users/codephobia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/codephobia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codephobia/subscriptions",
"organizations_url": "https://api.github.com/users/codephobia/orgs",
"repos_url": "https://api.github.com/users/codephobia/repos",
"events_url": "https://api.github.com/users/codephobia/events{/privacy}",
"received_events_url": "https://api.github.com/users/codephobia/received_events",
"type": "User",
"site_admin": false
},
"content_type": "application/x-msdownload",
"state": "uploaded",
"size": 72183296,
"download_count": 0,
"created_at": "2016-08-14T07:40:46Z",
"updated_at": "2016-08-14T07:43:11Z",
"browser_download_url": "https://github.com/codephobia/my-app/releases/download/v0.0.1-alpha/MyApp.exe"
}
}]
}]
你能提供'nuts.mywebsite.com/API /輸出versons' – MarshallOfSound
我補充說,你@MarshallOfSound – codephobia