Giter Club home page Giter Club logo

Comments (12)

honeyjie avatar honeyjie commented on August 24, 2024

I made it just now , the version in package.json is old ,it work again when I update , sorry to trouble you

from electron-updater-example.

honeyjie avatar honeyjie commented on August 24, 2024

autoUpdater.on('download-progress', (ev, progressObj) => { sendStatusToWindow('Download progress...'); })
should be
autoUpdater.on('download-progress', (progressObj) => { sendStatusToWindow('Download progress...'); })

from electron-updater-example.

iffy avatar iffy commented on August 24, 2024

@honeyjie like this? https://github.com/iffy/electron-updater-example/blob/master/main.js#L82

from electron-updater-example.

honeyjie avatar honeyjie commented on August 24, 2024

yes, but to be sure, I'll tell you answer tomorrow, the other thing is that some modules is old version, when I run as the example wrote, it counld not auto-update, unless update the version of 'electron-updater',I am really appretiate your share that help me a lot, thankyou!

from electron-updater-example.

iffy avatar iffy commented on August 24, 2024

@honeyjie what version of electron-updater didn't work and which version did work?

from electron-updater-example.

honeyjie avatar honeyjie commented on August 24, 2024

electron-updater 2.1.2 can work
and there is no only one argument in the listenning Event, as follows:
2

default

from electron-updater-example.

honeyjie avatar honeyjie commented on August 24, 2024

hi, I want to disable the default updater style with myown UI , Do you know How to do it? I have spent several hours on that, Could you help?

from electron-updater-example.

iffy avatar iffy commented on August 24, 2024

@honeyjie there's no default updater UI with electron-updater. This repo has an example UI, but you can do anything that Electron will let you do. Is your code public that you could share a link?

As a starting point (from this repo), delete lines 46-100 of this file: https://github.com/iffy/electron-updater-example/blob/master/main.js#L46 And then make your own BrowserWindow loaded with your own HTML file.

from electron-updater-example.

honeyjie avatar honeyjie commented on August 24, 2024

such as the following picture, seems can't be disable or change , I 'm new to electron, and thanks for your answer.
wechatimg2

from electron-updater-example.

iffy avatar iffy commented on August 24, 2024

@honeyjie I've never seen that before. Or that logo... Can you paste your JavaScript code on Gist or in here?

from electron-updater-example.

develar avatar develar commented on August 24, 2024

This windows — electron-userland/electron-builder#1630

from electron-updater-example.

iffy avatar iffy commented on August 24, 2024

Fixed with commit d8c5ddb

from electron-updater-example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.