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

Stuck at downloading windows squirrel #87

Closed
peeyush-es opened this issue Apr 29, 2021 · 3 comments
Closed

Stuck at downloading windows squirrel #87

peeyush-es opened this issue Apr 29, 2021 · 3 comments

Comments

@peeyush-es
Copy link

Given -

  • I followed all instructions (except simple publish) https://www.npmjs.com/package/electron-simple-updater
  • I tried copying package.json from the example mentioned on the front page of the repo.
  • I tried looking into all relevant issues regarding stuck / download.
  • Tried logging in with electron-log

Outcome - Not downloading, not in the logs, and not in Nginx-logs for static server. (only request to updates.json is shown)

Logs at windows client (wth electron-log)

[2021-04-29 17:19:40.416] [debug] Found version 0.2.1 at https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:19:40.424] [info]  Downloading updates from https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:21:03.902] [debug] Found version 0.2.1 at https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:21:03.912] [info]  Downloading updates from https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:27:59.130] [debug] Found version 0.2.1 at https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:27:59.144] [info]  Downloading updates from https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:29:34.258] [debug] Found version 0.2.1 at https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2
[2021-04-29 17:29:34.270] [info]  Downloading updates from https://data.exactspace.co/pulse-files/releases/win32-x64-prod-v0.2

Sidenote - This is really good, it really is smart software - reducing about for a lot of software devs!

@peeyush-es
Copy link
Author

  1. I can upload logs of remote nginx for verification, if required.
  2. trimmed down package.json for reference.
{
  "main": "main.js",
  "scripts": {
    "pack": "electron-builder --dir",
    "dist": "electron-builder",
    "start": "electron .",
    "postinstall": "electron-builder install-app-deps"
  },
  "build": {
    "appId": "co.exactspace",
    "win": {
          "target": "squirrel",
           "icon": "build/icons/icon.ico"
        },
    "squirrelWindows": {
        "iconUrl": "https://raw.githubusercontent.com/megahertz/electron-simple-updater/master/example/build/icon.ico"
     }
  },
  "devDependencies": {
    "electron": "^11.4.4",
    "electron-builder": "^22.10.5",
    "electron-builder-squirrel-windows": "^22.10.5"
  },
  "updater": {
    "url": "https://data.exactspace.co/pulse-files/releases/updates.json"
  },
  "dependencies": {
    "electron-log": "^4.3.4",
    "electron-simple-updater": "^2.0.10",
    "electron-squirrel-startup": "^1.0.0",
    "electron-updater": "^4.3.8"
  }
}

@megahertz
Copy link
Owner

@peeyush-es
Copy link
Author

peeyush-es commented Apr 30, 2021

Okay cool :)Moved to some other server

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