Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for POL_SW_SetID presence #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions PlayOnLinux_ScriptChecker/script_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ check_mifs ()
s_err 2
fi
}
check_setid ()
{
s_echo "Checking POL_SetupWindow_SetID presence"
if [ "$(cat /tmp/script | grep POL_SetupWindow_SetID)" = "" ]
then
s_war 2
else
s_ok 2
fi
}
check_debug ()
{
s_echo "Checking POL_Debug_Init presence"
Expand Down Expand Up @@ -548,6 +558,7 @@ check_deprecated
check_exit
check_scale
check_mifs
check_setid
check_debug
check_winetricks
check_old_programfiles
Expand Down