Code Monkey home page Code Monkey logo

Comments (11)

megahertz avatar megahertz commented on June 7, 2024 1

I"ll check what's wrong tomorrow

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024 1

@NateMoeller try to use the same approach instead of overriding the whole process.env

new webpack.DefinePlugin({
  'process.env.NODE_ENV': JSON.stringify('production')
})

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024 1

@Crazie-ash It seems your app is not packaged

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024

The webpack DefinePlugin overrides environment variables - that's why ESU doesn't work. Linux update module depends on process.env.APPIMAGE variable.

from electron-simple-updater.

NateMoeller avatar NateMoeller commented on June 7, 2024

I'm trying to do the same thing. Is there a solution to this? Or is it not possible to use DefinePlugin and ESU together? I've found that hard coding the path to process.env.APPIMAGE in DefinePlugin will get it to work, however I do not know how to generate that path within webpack.

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024

Feel free to reopen this issue if your problem is not solved.

from electron-simple-updater.

arvindrajan92 avatar arvindrajan92 commented on June 7, 2024

Hi @megahertz,

I am getting the same message: "It seems that the app is not in AppImage format".

Could you provide a procedure to fix this? I am new to coding in this environment and therefore your help is greatly appreciated. Thank you.

Cheers.

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024

Hi @arvindrajan92. Could you provide more information? (configs, build procedure and so on)

from electron-simple-updater.

arvindrajan92 avatar arvindrajan92 commented on June 7, 2024

Hi @megahertz,

Thank you for coming back. I am using electron-builder with build:
"build": { "linux": { "artifactName": "TestApp", "target": "AppImage" }

Please let me know if you need any other information. I'd be hugely grateful if you could tell where to find the information needed.

Cheers

from electron-simple-updater.

megahertz avatar megahertz commented on June 7, 2024

@arvindrajan92 Do you use webpack? If so, check my recommendations above.

from electron-simple-updater.

Crazie-ash avatar Crazie-ash commented on June 7, 2024

Screenshot from 2019-04-25 14-22-14
Is there any fix for this issue????
process.env.APPIMAGE gets undefined???

from electron-simple-updater.

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.