Comments (11)
I"ll check what's wrong tomorrow
from electron-simple-updater.
@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.
@Crazie-ash It seems your app is not packaged
from electron-simple-updater.
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.
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.
Feel free to reopen this issue if your problem is not solved.
from electron-simple-updater.
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.
Hi @arvindrajan92. Could you provide more information? (configs, build procedure and so on)
from electron-simple-updater.
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.
@arvindrajan92 Do you use webpack? If so, check my recommendations above.
from electron-simple-updater.
Is there any fix for this issue????
process.env.APPIMAGE gets undefined???
from electron-simple-updater.
Related Issues (20)
- NSIS Support HOT 3
- checkForUpdates not responding HOT 7
- Could not create temporary directory HOT 2
- Squirrel.Windows DEPRECATED :( HOT 6
- Enable downgrading/rollback HOT 1
- Events 'update-not-available', 'update-available', etc. not firing Render HOT 6
- Update often fails on Raspberry Pi HOT 4
- Update is disabled because the app is not packaged HOT 4
- opt.logger.debug is not a function HOT 1
- What should be path of update for windows HOT 2
- Add User agent to request HOT 5
- Simple Updater: The Request was Aborted HOT 6
- Empty warning text HOT 2
- Support for download progress (important for slow connections) HOT 3
- Linux App image HOT 1
- cannot perform update "Update is disabled because the app is not packaged" HOT 3
- Where can i locate the downlaoded electron packages? HOT 2
- Stuck at downloading windows squirrel HOT 3
- Documentation for updates.json ? HOT 8
- File downloaded file gets truncated in linux if calling quitAndInstall. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-simple-updater.