The forum
Gecko HTML Engine
    
    
        
        
            | Author | Replies | 
        
                
                        
		    | cendre | Thursday 19 June 2008 at 21:44 | 
                
                    | cendre  
 
             | Bonsoir.
 ceci installe gecko dans un prefixe.
#!/bin/bash 
 if [ "$PLAYONLINUX" = "" ]
 then
 exit 0
 fi
 source "$PLAYONLINUX/lib/sources"
 cfg_check
 
 POL_SetupWindow_Init
 LNG_GECKO=$(eval_gettext "$(eval_gettext 'This wizard will help you to install Gecko in playonlinux')")
 POL_SetupWindow_free_presentation "Gecko" "$LNG_GECKO
 $prefixe"
 POL_SetupWindow_games "Choose a prefix to patch" "Gecko"
 prefixe=$(detect_wineprefix "$APP_ANSWER")
 if [ -e "$prefixe" ]
 then
 select_prefixe "$prefixe"
 cd $prefixe/drive_c/windows
 POL_SetupWindow_download "$(eval_gettext 'Downloading Gecko')" "$(eval_gettext 'Downloading...')" "http://superb-east.dl.sourceforge.net/sourceforge/wine/wine_gecko-0.1.0.cab"
 cabextract wine_gecko-0.1.0.cab
 rm -rf ~/.PlayOnLinux/gecko.reg
 rm -rf wine_gecko-0.1.0.cab
 touch ~/.PlayOnLinux/gecko.reg
 cd ~/.PlayOnLinux
 
 REGPATH="[HKEY_CURRENT_USER\Software\Wine\MSHTML\0.1.0]"
 
 echo "REGEDIT4" >> gecko.reg
 echo "" >> gecko.reg
 echo "" >> gecko.reg
 echo "${REGPATH}" >> gecko.reg
 echo -n '"GeckoPath"="' >> gecko.reg
 echo 'C:\\windows\\wine_gecko"' >> gecko.reg
 
 regedit gecko.reg
 
 rm -rf gecko.reg
 
 POL_SetupWindow_reboot
 fi
 POL_SetupWindow_Close
 exit
Gecko.pol
 Edited by cendre | 
                        
    
    
        
	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 dmcayonlinux.com