diff --git a/compile_appimage.sh b/compile_appimage.sh index 6a11733f5..d7c7f1f2a 100755 --- a/compile_appimage.sh +++ b/compile_appimage.sh @@ -5,7 +5,7 @@ echo Compiling web server cd webserver && make cd .. -SM_DEFINES="USE_SHM USE_GL_WINDOW" +SM_DEFINES="USE_SHM USE_GL_WINDOW NO_PLAYPAUSE_WORKAROUND" if [ -n "$NO_MPLAYER" ]; then SM_DEFINES="${SM_DEFINES} NO_MPLAYER" diff --git a/compile_mac.sh b/compile_mac.sh index ed2f78eb3..ebe1b9462 100755 --- a/compile_mac.sh +++ b/compile_mac.sh @@ -20,7 +20,7 @@ cd ../src echo Compiling smplayer lrelease smplayer.pro -qmake DEFINES+="USE_SMTUBE_LIB" +qmake DEFINES+="USE_SMTUBE_LIB NO_PLAYPAUSE_WORKAROUND" make -j$(sysctl -n hw.logicalcpu) cp ../smtube/translations/*.qm smplayer.app/Contents/Resources/translations/ cp ../webserver/simple_web_server smplayer.app/Contents/MacOS/