Diagnostic Tools

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 26273
Wine: System

Feedbacks

Description

This tool will run diagnostics on your computer and send them on your PlayOnLinux.com profile.

Source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Diagnostic Tools"

# Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "This tool will run diagnostics on your computer and send them on your PlayOnLinux.com profile."
 
cd "$POL_USER_ROOT/tmp"

POL_Download "$SITE/divers/check_dd_amd64.bz2"
POL_Download "$SITE/divers/check_dd_x86.bz2"

POL_SetupWindow_wait "$(eval_gettext "Scanning your hardware...")" "$TITLE"

POL_LoadVar_Distro
POL_LoadVar_ScreenResolution

export r_OS="$POL_OS"
export r_DISTRO="$DISTRO"
export r_SCREEN="${ScreenWidth}x${ScreenHeight}"
export r_VIDEO="$(POL_DetectVideoCards)"
export r_ARCH="$POL_ARCH"
export r_DR64="NA"
export r_DR32="NA"
export r_LANG="$POL_LANG"

if [ "$POL_OS" = "Linux" ]; then

    if [ "$POL_ARCH" = "amd64" ]; then
        bunzip2 check_dd_amd64.bz2
        chmod +x check_dd_amd64
        ./check_dd_amd64
        
        [ "$?" = "0" ] && export r_DR64="TRUE" || export r_DR64="FALSE"
    fi
    
    bunzip2 check_dd_x86.bz2
    chmod +x check_dd_x86
    ./check_dd_x86
    
    [ "$?" = "0" ] && export r_DR32="TRUE" || export r_DR32="FALSE"
fi

POL_Website_login 
POL_Website_Init

data="$(export | grep '^declare -x r_')"
data="${data//declare -x /}"
data="$(printf "$data" | POL_base64)"
POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$(POL_Website_urlencode "$data")"

POL_Website_Close

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
sggreek10896 Wednesday 30 October 2019 at 5:13
sggreek10896 Anonymous

Message

The site offers comparative administrations The Legend of Korra and highlights as 123movies. Watchers love to watch their preferred films online on TvBox as they don't have to download it or sign up on their site.Consequently, you would now be able to investigate your adoration for films whenever anyplace. 

Replies

Quentin PÂRIS Sunday 6 July 2014 at 21:11
Quentin PÂRIS
Admin

Information

This update has been approved by the team.

Differences

@@ -53,8 +53,8 @@
 
 data="$(export | grep '^declare -x r_')"
 data="${data//declare -x /}"
-data="$(printf "$(POL_Website_urlencode "$data")" | POL_base64)"
-POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$data"
+data="$(printf "$data" | POL_base64)"
+POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$(POL_Website_urlencode "$data")"
 
 POL_Website_Close
 

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Diagnostic Tools"

# Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "This tool will run diagnostics on your computer and send them on your PlayOnLinux.com profile."
 
cd "$POL_USER_ROOT/tmp"

POL_Download "$SITE/divers/check_dd_amd64.bz2"
POL_Download "$SITE/divers/check_dd_x86.bz2"

POL_SetupWindow_wait "$(eval_gettext "Scanning your hardware...")" "$TITLE"

POL_LoadVar_Distro
POL_LoadVar_ScreenResolution

export r_OS="$POL_OS"
export r_DISTRO="$DISTRO"
export r_SCREEN="${ScreenWidth}x${ScreenHeight}"
export r_VIDEO="$(POL_DetectVideoCards)"
export r_ARCH="$POL_ARCH"
export r_DR64="NA"
export r_DR32="NA"
export r_LANG="$POL_LANG"

if [ "$POL_OS" = "Linux" ]; then

    if [ "$POL_ARCH" = "amd64" ]; then
        bunzip2 check_dd_amd64.bz2
        chmod +x check_dd_amd64
        ./check_dd_amd64
        
        [ "$?" = "0" ] && export r_DR64="TRUE" || export r_DR64="FALSE"
    fi
    
    bunzip2 check_dd_x86.bz2
    chmod +x check_dd_x86
    ./check_dd_x86
    
    [ "$?" = "0" ] && export r_DR32="TRUE" || export r_DR32="FALSE"
fi

POL_Website_login 
POL_Website_Init

data="$(export | grep '^declare -x r_')"
data="${data//declare -x /}"
data="$(printf "$data" | POL_base64)"
POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$(POL_Website_urlencode "$data")"

POL_Website_Close

POL_SetupWindow_Close
exit 0

Replies

Quentin PÂRIS Sunday 6 July 2014 at 20:12
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,62 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Diagnostic Tools"
+
+# Starting the script
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+POL_SetupWindow_free_presentation "$TITLE" "This tool will run diagnostics on your computer and send them on your PlayOnLinux.com profile."
+ 
+cd "$POL_USER_ROOT/tmp"
+
+POL_Download "$SITE/divers/check_dd_amd64.bz2"
+POL_Download "$SITE/divers/check_dd_x86.bz2"
+
+POL_SetupWindow_wait "$(eval_gettext "Scanning your hardware...")" "$TITLE"
+
+POL_LoadVar_Distro
+POL_LoadVar_ScreenResolution
+
+export r_OS="$POL_OS"
+export r_DISTRO="$DISTRO"
+export r_SCREEN="${ScreenWidth}x${ScreenHeight}"
+export r_VIDEO="$(POL_DetectVideoCards)"
+export r_ARCH="$POL_ARCH"
+export r_DR64="NA"
+export r_DR32="NA"
+export r_LANG="$POL_LANG"
+
+if [ "$POL_OS" = "Linux" ]; then
+
+    if [ "$POL_ARCH" = "amd64" ]; then
+        bunzip2 check_dd_amd64.bz2
+        chmod +x check_dd_amd64
+        ./check_dd_amd64
+        
+        [ "$?" = "0" ] && export r_DR64="TRUE" || export r_DR64="FALSE"
+    fi
+    
+    bunzip2 check_dd_x86.bz2
+    chmod +x check_dd_x86
+    ./check_dd_x86
+    
+    [ "$?" = "0" ] && export r_DR32="TRUE" || export r_DR32="FALSE"
+fi
+
+POL_Website_login 
+POL_Website_Init
+
+data="$(export | grep '^declare -x r_')"
+data="${data//declare -x /}"
+data="$(printf "$(POL_Website_urlencode "$data")" | POL_base64)"
+POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$data"
+
+POL_Website_Close
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Diagnostic Tools"

# Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "This tool will run diagnostics on your computer and send them on your PlayOnLinux.com profile."
 
cd "$POL_USER_ROOT/tmp"

POL_Download "$SITE/divers/check_dd_amd64.bz2"
POL_Download "$SITE/divers/check_dd_x86.bz2"

POL_SetupWindow_wait "$(eval_gettext "Scanning your hardware...")" "$TITLE"

POL_LoadVar_Distro
POL_LoadVar_ScreenResolution

export r_OS="$POL_OS"
export r_DISTRO="$DISTRO"
export r_SCREEN="${ScreenWidth}x${ScreenHeight}"
export r_VIDEO="$(POL_DetectVideoCards)"
export r_ARCH="$POL_ARCH"
export r_DR64="NA"
export r_DR32="NA"
export r_LANG="$POL_LANG"

if [ "$POL_OS" = "Linux" ]; then

    if [ "$POL_ARCH" = "amd64" ]; then
        bunzip2 check_dd_amd64.bz2
        chmod +x check_dd_amd64
        ./check_dd_amd64
        
        [ "$?" = "0" ] && export r_DR64="TRUE" || export r_DR64="FALSE"
    fi
    
    bunzip2 check_dd_x86.bz2
    chmod +x check_dd_x86
    ./check_dd_x86
    
    [ "$?" = "0" ] && export r_DR32="TRUE" || export r_DR32="FALSE"
fi

POL_Website_login 
POL_Website_Init

data="$(export | grep '^declare -x r_')"
data="${data//declare -x /}"
data="$(printf "$(POL_Website_urlencode "$data")" | POL_base64)"
POL_Website_GET "http://www.playonlinux.com/api/updateInfos.php?info=$data"

POL_Website_Close

POL_SetupWindow_Close
exit 0

Replies

Edited by Tinou