diff --git a/gen-deb.in b/gen-deb.in index ce64f697..d65cdf58 100755 --- a/gen-deb.in +++ b/gen-deb.in @@ -35,7 +35,7 @@ Package: sunshine Architecture: amd64 Maintainer: @loki Priority: optional -Version: 0.7.1 +Version: 0.7.3 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 EOF @@ -54,6 +54,17 @@ if [ -f /etc/group ]; then else echo "Warning: /etc/group not found" fi + +# Update permissions on config files for Web Manager +if [ -f /etc/sunshine/apps_linux.json ]; then + echo "chmod 666 /etc/sunshine/apps_linux.json" + chmod 666 /etc/sunshine/apps_linux.json +fi + +if [ -f /etc/sunshine/sunshine.conf ]; then + echo "chmod 666 /etc/sunshine/sunshine.conf" + chmod 666 /etc/sunshine/sunshine.conf +fi EOF cat << 'EOF' > $RULES/85-sunshine-rules.rules @@ -71,6 +82,8 @@ cp -r @CMAKE_CURRENT_SOURCE_DIR@/assets/shaders/opengl $ASSETS/shaders/opengl chmod 755 $DEBIAN/postinst chmod 755 $BIN/sunshine chmod 644 $RULES/85-sunshine-rules.rules +chmod 666 $ASSETS/apps_linux.json +chmod 666 $ASSETS/sunshine.conf cd package-deb if fakeroot dpkg-deb --build sunshine; then