electron-updater | Deprecated. Part of electron-builder now. | Runtime Evironment library

 by   develar JavaScript Version: Current License: MIT

kandi X-RAY | electron-updater Summary

kandi X-RAY | electron-updater Summary

electron-updater is a JavaScript library typically used in Server, Runtime Evironment, Nodejs, Electron applications. electron-updater has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Deprecated. Part of electron-builder now.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              electron-updater has a low active ecosystem.
              It has 217 star(s) with 21 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 50 have been closed. On average issues are closed in 289 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of electron-updater is current.

            kandi-Quality Quality

              electron-updater has 0 bugs and 0 code smells.

            kandi-Security Security

              electron-updater has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              electron-updater code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              electron-updater is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              electron-updater releases are not available. You will need to build from source code and install.
              electron-updater saves you 30 person hours of effort in developing the same functionality from scratch.
              It has 82 lines of code, 0 functions and 32 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed electron-updater and discovered the below as its top functions. This is intended to give you an instant insight into electron-updater implemented functionality, and help decide if they suit your requirements.
            • Starts the app .
            • Extract the tar .
            • Read package . json data from a package . json file .
            • Check if app is installed .
            • Check the next hash content from the cache .
            • Helper function to retrieve a sub - dependency version
            • handle the update
            • Execute the update .
            • Get the binaries for a package .
            • Ensures the application to an update .
            Get all kandi verified functions for this library.

            electron-updater Key Features

            No Key Features are available at this moment for electron-updater.

            electron-updater Examples and Code Snippets

            No Code Snippets are available at this moment for electron-updater.

            Community Discussions

            QUESTION

            app.on('open-url") event not being called on linux after deep linking to it
            Asked 2022-Mar-29 at 06:38

            I would like to be able to open a deep link and take that protocol url and login with it. I have successfully got the electron app to open from the deep link but I can't seem to get the url or parameter from the deep link. I followed the tutorial from https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app but I wasn't able to get it to work on ubuntu. In the tutorial it when you open from deep link it opens a dialog box but the open-url listener isn't getting called. Is there something I am missing to getting the open-url to work on linux.

            Heres my index.ts

            ...

            ANSWER

            Answered 2022-Mar-29 at 06:38

            Figured out what was wrong. The documentation has the linux and mac as the same but linux is different or at least on debian it is. The documentation says to put into the app.on('open-url', (event, url) event but this doesn't work for linux or at least it didn't work for me.

            Apparently or what I found that you have to grab it from the arguments from when it is called by the operating system to open. So what I did was in the app when ready event is finished i did:

            Source https://stackoverflow.com/questions/71444973

            QUESTION

            How is electron-updater able to find my repository?
            Asked 2022-Mar-23 at 08:19

            I have a repository that utilizes electron-updater for auto update. The weird thing is, it has no any code whatsoever pointing where the release updates are stored (I store it in GitHub releases), but somehow the autoUpdater.checkForUpdatesAndNotify() still works. There is github remote origin but I doubt it's being used by electron-updater to find the repository. I don't use any GitHub token either.

            The way I release update:

            • Increase the version in package.json
            • Run electron-builder, producing .AppImage
            • Create new release draft in my repository's GitHub releases
            • Upload the .AppImage file to the draft's assets and modify the draft's tag
            • Download the previous release, and then open it
            • Voila! The update works. But how?

            It's worth mentioning that if latest-linux.yml is missing from the latest release's asset, it will throw 404 error and refuse to update despite knowing the latest version's tag.

            Here's the repository I'm talking about: https://github.com/SnekNOTSnake/fresh-update/releases

            Also, is this how normal people release their electron app? I tried the electron-builder --publish way, but it's troublesome compared to the manual steps above.

            ...

            ANSWER

            Answered 2022-Mar-23 at 08:19

            Thanks to Caramiriel in the comment section above for the enlightenment.

            How electron-updater knows where to find the repository is from resources/app-update.yml inside the produced .AppImage file.

            The app-update.yml file is produced by electron-builder using the information from git remote get-url origin (if available).

            I proved it by changing the origin's url to https://github.com/SnekNOTSnake/tofu-tracker.git and build the AppImage, and (surprisingly enough) the repo's value became tofu-tracker.

            Source https://stackoverflow.com/questions/71578327

            QUESTION

            @capacitor-community/electron gives Unhandled Promise Rejection on built package
            Asked 2021-Oct-03 at 18:22

            When I pack my Ionic project with @capacitor-community/electron packager (using electron-builder), I get the following error:

            ...

            ANSWER

            Answered 2021-Oct-03 at 18:22

            So, apparently problem lies in default publish method. You need to change your electron-builder.config.json file to the following form (without the comment):

            Source https://stackoverflow.com/questions/69427673

            QUESTION

            Persistent file storage across electon app updates with electron-builder electron-updater
            Asked 2021-Aug-21 at 14:55

            When I update an Electron app using the electron-builder autoUpdater, all the file storage I defined is overwritten. What settings do I need to make these files persist?

            Here is an MCVE example (for the main process):

            ...

            ANSWER

            Answered 2021-Aug-21 at 14:55

            I managed to do this after looking at Cameron Nokes' excellent blog:

            cameronnokes.com/blog/how-to-store-user-data-in-electron:

            Storing user data in the operating system’s designated location for user’s app data is the idiomatic way for native app’s to persist user data because:

            • when we auto-update the app, our source files may get moved or delete

            • changing or adding to an app’s internal files will invalidate the code signature

            To do this I used const userDataPath = app.getPath('userData'); to get a path to the OS' app storage location. and then changed the references to 'persistentFile' to String(userDataPath)+'/persistentFile':

            Source https://stackoverflow.com/questions/68871710

            QUESTION

            electron-builder doesn't create a release in GitHub when publish is set to always, though there are no errors
            Asked 2021-Jul-28 at 21:12

            I am trying to publish an electron app to my GitHub repository's releases.

            Here is my package.json

            ...

            ANSWER

            Answered 2021-Jul-28 at 21:12

            Electron-builder will release your app on GitHub as a draft first, then you'll need to manually go in and publish the release.

            Take a look in: https://github.com/sriramsridharanvr/sample-electron-app/releases

            See if you can see any drafts that have been created.

            Source https://stackoverflow.com/questions/68556490

            QUESTION

            Npm @babel/types error in react typescript
            Asked 2021-Jun-19 at 04:35

            I am getting the error below for types.

            I tried npm install @types/babel_types but that didn't fix it.

            How do I go about fixing it? I am trying to compile a react project for electron.

            Here is my package.json

            ...

            ANSWER

            Answered 2021-Jun-19 at 04:34

            First, try this solution. Edit your TypeScript Config file (tsconfig.json) and add a new key-value pair as

            Source https://stackoverflow.com/questions/68043585

            QUESTION

            Electron doesn't launch app after run it in development
            Asked 2021-Apr-29 at 16:59

            I Know that there is a lot of topic about this, but since none of them work, I must make a new one, I'm quite confused as why my electron app doesn't launch when I used yarn dev for my project, but when my friends try it, in his laptop, he can run and the apps launch normally without any problem, so Is there anyone here ever face the same problem with me? if there is someone, how can you solve this problem?

            this is what my terminal looks like:

            for information I used:

            ...

            ANSWER

            Answered 2021-Apr-28 at 12:55

            This may be a silly answer. Try checking whether the task is running or any other programs interfereing the app, like an antivirus.

            Source https://stackoverflow.com/questions/67296408

            QUESTION

            I am having a problem while packaging my electron app using the electron-builder?
            Asked 2021-Apr-15 at 17:21

            This error window appears as soon as I enter my app after packaging it using the electron-builder

            although the devDependencies for electron-updater is included

            ...

            ANSWER

            Answered 2021-Apr-15 at 17:21

            electron-builder does not include devDependencies in the packaged application since they're exclusive for development, you should reinstall electron-updater as a dependency.

            From the electron-builder website:

            A complete solution to package and build a ready for distribution Electron app for macOS, Windows and Linux with “auto update” support out of the box.

            • NPM packages management:
              • Native application dependencies compilation (including Yarn support).
              • Development dependencies are never included. You don’t need to ignore them explicitly.

            ...

            Source https://stackoverflow.com/questions/67004651

            QUESTION

            Can't compile sqlite3 as a native addon, Electron React Boilerplate project
            Asked 2021-Mar-10 at 22:12

            I'm building a project based off the Electron React Boilerplate project. I am running MacOS 10.15.7 and node v14.15.1.

            I'm trying to install sqlite3 package. Since it's a native dependency, I ran yarn add sqlite3 inside the src/ directory, like it says to do here. The compilation fails with the following output:

            ...

            ANSWER

            Answered 2021-Mar-10 at 22:12

            I downgraded the sqlite3 package to v5.0.0 and it rebuilt correctly. Hope this helps anyone else with the same issue.

            Source: nodejs electronjs sqlite3 - use of undeclared identifier 'napi_is_detached_arraybuffer'

            Source https://stackoverflow.com/questions/66466890

            QUESTION

            NoCredentialProviders: no valid providers in chain error in electron-updater with AWS S3
            Asked 2021-Feb-04 at 13:03

            I'm trying to implement autoupdate of my electron-react application using electron-updater and AWS S3 bucket. But getting error:

            ...

            ANSWER

            Answered 2021-Feb-04 at 13:03

            As per the official documentation, you need to have something like this S3Options

            AWS credentials are required, please see getting your credentials. Define AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. Or in the ~/.aws/credentials.

            Source https://stackoverflow.com/questions/66045421

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install electron-updater

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/develar/electron-updater.git

          • CLI

            gh repo clone develar/electron-updater

          • sshUrl

            git@github.com:develar/electron-updater.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link