You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./PortableLinuxGames/pacman2appDir vlc
./AppRun
./bin/_BINARY_: error while loading shared libraries: ./bin/_BINARY_: cannot open shared object file: No such file or directory
It would be nicer if vlc.desktop still had the original Exec= entry in place and AppRun would figure out from the desktop file what to run. See AppRun.c which does just that.
The text was updated successfully, but these errors were encountered:
pacman2appDir works different than AppRun.c on purpose: pacman2appDir's AppRun shell scrip doesn't figure out what to run every time is called, the command to run is resolved in compile time rather than in run time, because:
Moving path resolution to build time speeds up app startup time
AppRun is the place i've chosen to enter all the glue code that's needed to make some apps work:
Build symlinks (for other apps that need to write in the app directory)
Setup unionfs (for apps that need to write in the app directory)
Setup wine
Setup environment variables
Setup dynamic loaders
Setup xrandr, alsa-oss, pulse-audio fixes
Parse package-specific command-line arguments
etc
./bin/_BINARY_ is the template path for the application binary, which is determined from the application on build time. If it keeps being ./bin/_BINARY_ after pacman2appDir is run, it means it couldn't be determined for some reason. If binary usr/bin/vlc exists, ./bin/_BINARY_ should be changed to ./bin/vlc
It would be nicer if
vlc.desktop
still had the originalExec=
entry in place and AppRun would figure out from the desktop file what to run. See AppRun.c which does just that.The text was updated successfully, but these errors were encountered: