fix web manager when installed through deb package
This commit is contained in:
+5
-1
@@ -35,7 +35,7 @@ Package: sunshine
|
|||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: @loki
|
Maintainer: @loki
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Version: 0.4.1
|
Version: 0.7.1
|
||||||
Depends: libssl1.1, libavdevice58, libboost-thread1.71.0, libboost-filesystem1.71.0, libboost-log1.71.0, libpulse0, libopus0, libxcb-shm0, libxcb-xfixes0
|
Depends: libssl1.1, libavdevice58, libboost-thread1.71.0, libboost-filesystem1.71.0, libboost-log1.71.0, libpulse0, libopus0, libxcb-shm0, libxcb-xfixes0
|
||||||
Description: Gamestream host for Moonlight
|
Description: Gamestream host for Moonlight
|
||||||
EOF
|
EOF
|
||||||
@@ -60,9 +60,13 @@ cat << 'EOF' > $RULES/85-sunshine-rules.rules
|
|||||||
KERNEL=="uinput", GROUP="input", MODE="0660"
|
KERNEL=="uinput", GROUP="input", MODE="0660"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
mkdir -p $ASSETS/shaders
|
||||||
|
|
||||||
cp sunshine $BIN/sunshine
|
cp sunshine $BIN/sunshine
|
||||||
cp @CMAKE_CURRENT_SOURCE_DIR@/assets/apps_linux.json $ASSETS/apps_linux.json
|
cp @CMAKE_CURRENT_SOURCE_DIR@/assets/apps_linux.json $ASSETS/apps_linux.json
|
||||||
cp @CMAKE_CURRENT_SOURCE_DIR@/assets/sunshine.conf $ASSETS/sunshine.conf
|
cp @CMAKE_CURRENT_SOURCE_DIR@/assets/sunshine.conf $ASSETS/sunshine.conf
|
||||||
|
cp -r @CMAKE_CURRENT_SOURCE_DIR@/assets/web $ASSETS/web
|
||||||
|
cp -r @CMAKE_CURRENT_SOURCE_DIR@/assets/shaders/opengl $ASSETS/shaders/opengl
|
||||||
|
|
||||||
chmod 755 $DEBIAN/postinst
|
chmod 755 $DEBIAN/postinst
|
||||||
chmod 755 $BIN/sunshine
|
chmod 755 $BIN/sunshine
|
||||||
|
|||||||
Reference in New Issue
Block a user