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

[Linux] APPIMAGE env is not defined, current application is not an AppImage #50

Open
majamee opened this issue Feb 17, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@majamee
Copy link

majamee commented Feb 17, 2019

On Linux (Arch, 64bit) the app opens with a blank page and calling it from terminal it prints the following error:
APPIMAGE env is not defined, current application is not an AppImage

Would be great to see this fixed. :)

@stefansl stefansl added the help wanted Extra attention is needed label Feb 21, 2019
@stefansl
Copy link
Owner

@jancborchardt do you have an idea?

@jancborchardt
Copy link
Collaborator

jancborchardt commented Feb 22, 2019

Unfortunately no idea as I’m also not very experienced with the building process. :\ It works fine here with Ubuntu 64 bit. @majamee could you clone the repository and build the app on your computer to test if that works? https://github.com/stefansl/image-shrinker#build-your-own

@majamee
Copy link
Author

majamee commented Feb 22, 2019

Unfortunately this does not seem to help, followed the instructions closely and here is the output ending in the same issue (first commands cut-off, but went through without issue just warning about a few vulnerabilities in the npm dependencies):
npm run pack-linux

image-shrinker@1.4.0 pack-linux /home/majamee/#Apps/image-shrinker
electron-packager . 'Image Shrinker' --platform=linux --arch=x64 --ignore=/^release/i --icon=assets/icons/png/512x512 --overwrite

Packaging app for platform linux x64 using electron v4.0.5
Wrote new app to /home/majamee/#Apps/image-shrinker/Image Shrinker-linux-x64
[majamee@gh0st image-shrinker]$ cd /home/majamee/#Apps/image-shrinker/Image\ Shrinker-linux-x64/
[majamee@gh0st Image Shrinker-linux-x64]$ ls
chrome_100_percent.pak libGLESv2.so resources
chrome_200_percent.pak libVkICD_mock_icd.so resources.pak
icudtl.dat LICENSE snapshot_blob.bin
'Image Shrinker' LICENSES.chromium.html swiftshader
libEGL.so locales v8_context_snapshot.bin
libffmpeg.so natives_blob.bin version
[majamee@gh0st Image Shrinker-linux-x64]$ ./Image\ Shrinker
18:44:07.211 › App starting...
18:44:07.411 › APPIMAGE env is not defined, current application is not an AppImage

@stefansl
Copy link
Owner

stefansl commented Nov 7, 2019

You could try the electron-builder. Just run npm run build-linux. But I guess, I have to adjust some settings in package.json: https://www.electron.build/configuration/linux

@jancborchardt jancborchardt removed their assignment Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants