Forums

[script] Nomltest

Auteur Réponses
Kekun Vendredi 18 September 2009 à 20:29
KekunAnonymous

Voici mon premier script, un script assez simple qui télécharge et dés-archive le sympatique jeu Nomltest, très peu gourmand en ressources.

Pour un test du jeu je vous invite à aller sur le très bon Shmup.com : http://www.shmup.com/index.php?page=fiche&id=1033

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
 
cfg_check
 
POL_SetupWindow_Init
POL_SetupWindow_presentation "Nomltest" "Solid Image" "http://www.yomogi.sakura.ne.jp/~si/SolidImage/index.shtml" "Kekun" "nomltest"
 
select_prefixe "$REPERTOIRE/wineprefix/nomltest"
POL_SetupWindow_prefixcreate 
 
Set_OS "winxp"
cd "$REPERTOIRE/wineprefix/nomltest/drive_c/"
POL_SetupWindow_download "Downloading Nomltest..." "Downloading Nomltest..." "http://www.yomogi.sakura.ne.jp/~si/SolidImage/download/nomltest.zip"
POL_SetupWindow_wait_next_signal "Installation in progress..." "Nomltest"
unzip "$REPERTOIRE/wineprefix/nomltest/drive_c/nomltest.zip" && rm "$REPERTOIRE/wineprefix/nomltest/drive_c/nomltest.zip"
POL_SetupWindow_detect_exit
 
POL_SetupWindow_make_shortcut "nomltest" "nomltest/" "nomltest.exe" "" "Nomltest"
 
POL_SetupWindow_reboot
POL_SetupWindow_Close
exit

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