With:
Code: Select all
curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/signal-desktop >> signal-desktop.info
you can get the download link of the snap package. Download it using wget. Rename it as signal-desktop.sfs. Click on it and you have access to its content which you can put anywhere in a signal-desktop dir. Copy an icon from the usr/share/icons inside the signal-desktop dir at root of that dir and rename it as .DirIcon and put at root of that dir the following AppRun script (give to it execute permissions):
Code: Select all
#!/bin/sh
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
export SNAP_LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LAUNCHDIR/command-chain:$LAUNCHDIR/opt/Signal:$LAUNCHDIR/lib:$LAUNCHDIR/usr/lib:$LAUNCHDIR/lib/x86_64-linux-gnu:$LAUNCHDIR/usr/lib/x86_64-linux-gnu"
export LD_LIBRARY_PATH="$LAUNCHDIR/lib/x86_64-linux-gnu:$LAUNCHDIR/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
exec apulse1 $LAUNCHDIR/opt/Signal/signal-desktop --no-sandbox "$@"
apulse1 is the wrapper script of an apulse from Ubuntu which I use for electron based software.
The config file is in /root/.config: you can move it outside the savefile and link it. Click on the dir to launch signal-desktop: working and tested in s15pup64.