Place the main tsMuxeR binary inside AppDir (#105)

Since AppImage essentially creates a separate filesystem that the GUI binary
runs from, it's not possible for it to be aware of the existence of the main
binary that's alongside the actual AppImage file that's supposed to be run by
the end user.
The only solution to this that I can see now is copying the main binary into the
AppDir, which makes the file reside alongside the GUI binary inside the
filesystem that AppImage creates.

Fixes #103.
master
Daniel Kamil Kozar 2020-01-03 00:58:42 +01:00 committed by GitHub
parent fa9962276f
commit fa8751d530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ mv ./bin/tsMuxeR ./bin/lnx/tsMuxeR
mkdir -p ./bin/lnx/AppDir/usr/share/applications
mkdir -p ./bin/lnx/AppDir/usr/share/icons/hicolor/32x32/apps
mkdir -p ./bin/lnx/AppDir/usr/bin
cp ./bin/lnx/tsMuxeR ./bin/lnx/AppDir/usr/bin/
mv ./bin/tsMuxerGUI ./bin/lnx/AppDir/usr/bin/tsMuxerGUI