-
Notifications
You must be signed in to change notification settings - Fork 108
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
AppRun doesn't get proper app pathway in some cases, preventing it from running. #9
Comments
Easily fixed by changing AppRun script line 33. My version now looks like: #!/bin/bash
set -e
# Be verbose if $DEBUG=1 is set
if [ ! -z "$DEBUG" ] ; then
env
set -x
fi
THIS="$0"
args=("$@") # http://stackoverflow.com/questions/3190818/
NUMBER_OF_ARGS="$#"
# Please do not change $VENDORPREFIX as it will allow for desktop files
# belonging to AppImages to be recognized by future AppImageKit components
# such as desktop integration daemons
VENDORPREFIX=appimagekit
if [ -z $APPDIR ] ; then
# Find the AppDir. It is the directory that contains AppRun.
# This assumes that this script resides inside the AppDir or a subdirectory.
# If this script is run inside an AppImage, then the AppImage runtime
# likely has already set $APPDIR
# This command gets the absolute path this script is in. (EG /home/user/bin)
# See stackoverflow.com/questions/4774054
APPDIR=$(dirname "$(realpath -s "$0")")
fi |
Would have PRed myself, but couldn't find the original files. |
sorry, i exchanged a package.json dependencies electron to devDependencies because the build AppImage (which is in the releases) it only allow in devDependencies. The exact npm install is: As of the for me it works. What is the error? Which Linux? |
The issue is that for npm the And last time if exchanged and that's why it was not working in |
I just don't know how to change the |
When I'm next at the machine I'll give more details. Fedora 22, non-root. Wasn't installing, just running from |
Well, |
@BlueDrink9 |
No description provided.
The text was updated successfully, but these errors were encountered: