Moved lutris-wrapper script

It will now be placed in /usr/share/lutris/bin
This commit is contained in:
Wouter Wijsman 2020-01-17 15:15:04 +01:00 committed by Mathieu Comandon
parent a7da623143
commit 9102071518
4 changed files with 2 additions and 6 deletions

View file

@ -16,7 +16,7 @@ from lutris import runtime
from lutris.util.log import logger
from lutris.util import system
WRAPPER_SCRIPT = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "lutris-wrapper")
WRAPPER_SCRIPT = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "../share/lutris/bin/lutris-wrapper"))
class MonitoredCommand:

View file

@ -18,7 +18,6 @@ for directory, _, filenames in os.walk(u'share'):
files.append(filename)
data_files.append((os.path.join('share', dest), files))
setup(
name='lutris',
version=VERSION,
@ -43,7 +42,7 @@ setup(
'lutris.util.wine',
'lutris.vendor'
],
scripts=['bin/lutris', 'bin/lutris-wrapper'],
scripts=['bin/lutris'],
data_files=data_files,
zip_safe=False,
install_requires=[

View file

@ -112,9 +112,6 @@ apps:
plugs: [home, daemon-notify, network, network-bind, network-manager, desktop, desktop-legacy, unity7, wayland, opengl, pulseaudio, gsettings, x11, screen-inhibit-control, kvm, libvirt, removable-media, joystick, io-ports-control, hardware-observe, mount-observe]
slots: [ lutris ]
desktop: share/applications/net.lutris.Lutris.desktop
lutris-wrapper:
command: bin/desktop-launch $SNAP/bin/lutris-wrapper
wine:
command: bin/desktop-launch $SNAP/bin/wine