Diagnostic Tools
Informations
| Creator | Wiadmości |
|---|---|
Quentin PÂRIS
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 1 DescriptionThis 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 | Wiadmości |
| Quentin PÂRIS | Sunday 6 July 2014 at 21:11 |
Quentin PÂRIS
|
InformationThis 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 Odpowiedzi |
| Quentin PÂRIS | Sunday 6 July 2014 at 20:12 |
Quentin PÂRIS
|
WarningThis update has not been approved yet by the team. 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 OdpowiedziEdytowane przez Tinou |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com
Install this program