IrfanView

Informations

Créateur Messages
Yaotl Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 7165
Wine: 4.0.3

Retours d'expérience

Description

IrfanView is a fast, compact and innovative FREEWARE (for non-commercial use) graphic viewer for Windows. Wikipedia.

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2020-01-09 06-34)
# Wine version used : 4.0.3
# Distribution used to test : Linux Mint 19.3 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview454_setup.exe" "56f61f2fedfad07c4690077e7765c7c2"
POL_Download "http://download.betanews.com/download/1099412658-1/iview454_plugins_setup.exe" "592147a2fff29c3ac985498379b0b9a1"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.3"

POL_Call POL_Install_corefonts

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview454_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview454_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Automatic language selection
if [ "$POL_LANG" = "en" ]; then
    DLL="ENGLISH"
    Lang="English"
elif [ "$POL_LANG" = "de" ]; then
    DLL="DEUTSCH.DLL"
    Lang="Deutsch"
elif [ "$POL_LANG" = "fr" ]; then
    cd "$WINEPREFIX/drive_c/Program Files/IrfanView/Languages"
    POL_Download "https://www.irfanview.net/lang/irfanview_lang_french.zip"
    unzip irfanview_lang_french.zip; rm -r irfanview_lang_french.zip;
    DLL="FRENCH.DLL"
    Lang="Francais"
else
    DLL="ENGLISH"
    Lang="English"
    POL_Browser "https://www.irfanview.com/languages.htm"
fi

cat << EOF > "$WINEPREFIX/drive_c/Program Files/IrfanView/i_view32.ini"
[Language]
DLL=$DLL
Lang=$Lang
[Toolbar]
Skin=Grosberg_24.png
Size=24
EOF

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Jeudi 9 Janvier 2020 à 5:10
Yaotl Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,8 +1,8 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-08-02 03-49)
-# Last revision : (2019-09-27 08-45)
-# Wine version used : 4.0.2
-# Distribution used to test : Linux Mint 19.2 Cinnamon
+# Last revision : (2020-01-09 06-34)
+# Wine version used : 4.0.3
+# Distribution used to test : Linux Mint 19.3 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
@@ -27,22 +27,23 @@
 # Download
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
-POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"
+POL_Download "http://download.betanews.com/download/967963863-1/iview454_setup.exe" "56f61f2fedfad07c4690077e7765c7c2"
+POL_Download "http://download.betanews.com/download/1099412658-1/iview454_plugins_setup.exe" "592147a2fff29c3ac985498379b0b9a1"
 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "4.0.2"
+POL_Wine_PrefixCreate "4.0.3"
+
+POL_Call POL_Install_corefonts
 
 Set_OS "win10"
 
 # Installation
 cd "$POL_System_TmpDir"
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine start /unix iview454_setup.exe /silent /folder='C:\Program Files\IrfanView'
 POL_Wine_WaitExit "$TITLE"
-POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine start /unix iview454_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
 POL_Wine_WaitExit "$TITLE"
 
 # Create Shortcut
@@ -68,8 +69,6 @@
 fi
 
 cat << EOF > "$WINEPREFIX/drive_c/Program Files/IrfanView/i_view32.ini"
-; UNICODE FILE - edit with care ;-)
-
 [Language]
 DLL=$DLL
 Lang=$Lang

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2020-01-09 06-34)
# Wine version used : 4.0.3
# Distribution used to test : Linux Mint 19.3 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview454_setup.exe" "56f61f2fedfad07c4690077e7765c7c2"
POL_Download "http://download.betanews.com/download/1099412658-1/iview454_plugins_setup.exe" "592147a2fff29c3ac985498379b0b9a1"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.3"

POL_Call POL_Install_corefonts

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview454_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview454_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Automatic language selection
if [ "$POL_LANG" = "en" ]; then
    DLL="ENGLISH"
    Lang="English"
elif [ "$POL_LANG" = "de" ]; then
    DLL="DEUTSCH.DLL"
    Lang="Deutsch"
elif [ "$POL_LANG" = "fr" ]; then
    cd "$WINEPREFIX/drive_c/Program Files/IrfanView/Languages"
    POL_Download "https://www.irfanview.net/lang/irfanview_lang_french.zip"
    unzip irfanview_lang_french.zip; rm -r irfanview_lang_french.zip;
    DLL="FRENCH.DLL"
    Lang="Francais"
else
    DLL="ENGLISH"
    Lang="English"
    POL_Browser "https://www.irfanview.com/languages.htm"
fi

cat << EOF > "$WINEPREFIX/drive_c/Program Files/IrfanView/i_view32.ini"
[Language]
DLL=$DLL
Lang=$Lang
[Toolbar]
Skin=Grosberg_24.png
Size=24
EOF

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 9 Janvier 2020 à 9:59
script approved.

Edité par Yaotl

Yaotl Vendredi 27 September 2019 à 8:48
Yaotl Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,7 +1,7 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-08-02 03-49)
-# Last revision : (2019-08-06 15-04)
-# Wine version used : 4.0.1
+# Last revision : (2019-09-27 08-45)
+# Wine version used : 4.0.2
 # Distribution used to test : Linux Mint 19.2 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
@@ -33,7 +33,7 @@
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "4.0.1"
+POL_Wine_PrefixCreate "4.0.2"
 
 Set_OS "win10"
 
@@ -48,6 +48,36 @@
 # Create Shortcut
 POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"
 
+# Automatic language selection
+if [ "$POL_LANG" = "en" ]; then
+    DLL="ENGLISH"
+    Lang="English"
+elif [ "$POL_LANG" = "de" ]; then
+    DLL="DEUTSCH.DLL"
+    Lang="Deutsch"
+elif [ "$POL_LANG" = "fr" ]; then
+    cd "$WINEPREFIX/drive_c/Program Files/IrfanView/Languages"
+    POL_Download "https://www.irfanview.net/lang/irfanview_lang_french.zip"
+    unzip irfanview_lang_french.zip; rm -r irfanview_lang_french.zip;
+    DLL="FRENCH.DLL"
+    Lang="Francais"
+else
+    DLL="ENGLISH"
+    Lang="English"
+    POL_Browser "https://www.irfanview.com/languages.htm"
+fi
+
+cat << EOF > "$WINEPREFIX/drive_c/Program Files/IrfanView/i_view32.ini"
+; UNICODE FILE - edit with care ;-)
+
+[Language]
+DLL=$DLL
+Lang=$Lang
+[Toolbar]
+Skin=Grosberg_24.png
+Size=24
+EOF
+
 # Cleanup
 POL_System_TmpDelete
 POL_SetupWindow_Close

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2019-09-27 08-45)
# Wine version used : 4.0.2
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.2"

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Automatic language selection
if [ "$POL_LANG" = "en" ]; then
    DLL="ENGLISH"
    Lang="English"
elif [ "$POL_LANG" = "de" ]; then
    DLL="DEUTSCH.DLL"
    Lang="Deutsch"
elif [ "$POL_LANG" = "fr" ]; then
    cd "$WINEPREFIX/drive_c/Program Files/IrfanView/Languages"
    POL_Download "https://www.irfanview.net/lang/irfanview_lang_french.zip"
    unzip irfanview_lang_french.zip; rm -r irfanview_lang_french.zip;
    DLL="FRENCH.DLL"
    Lang="Francais"
else
    DLL="ENGLISH"
    Lang="English"
    POL_Browser "https://www.irfanview.com/languages.htm"
fi

cat << EOF > "$WINEPREFIX/drive_c/Program Files/IrfanView/i_view32.ini"
; UNICODE FILE - edit with care ;-)

[Language]
DLL=$DLL
Lang=$Lang
[Toolbar]
Skin=Grosberg_24.png
Size=24
EOF

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 27 September 2019 à 8:53
Approved

Edité par Yaotl

Yaotl Mardi 6 Aoüt 2019 à 15:23
Yaotl Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,54 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-08-02 03-49)
+# Last revision : (2019-08-06 15-04)
+# Wine version used : 4.0.1
+# Distribution used to test : Linux Mint 19.2 Cinnamon
+# Author : Yaotl
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="IrfanView"
+PREFIX="IrfanView"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 3581
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"
+
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+# Download
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
+POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "4.0.1"
+
+Set_OS "win10"
+
+# Installation
+cd "$POL_System_TmpDir"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine_WaitExit "$TITLE"
+POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
+POL_Wine_WaitExit "$TITLE"
+
+# Create Shortcut
+POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"
+
+# Cleanup
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-08-02 03-49)
# Last revision : (2019-08-06 15-04)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="IrfanView"
PREFIX="IrfanView"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3581
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Irfan Škiljan" "https://www.irfanview.com/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Download
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://download.betanews.com/download/967963863-1/iview453_setup.exe" "bca517c1ce593cf26037ef2f51faa853"
POL_Download "http://download.betanews.com/download/1099412658-1/iview453_plugins_setup.exe" "fdf1175e658927a7e15129bf35964e7d"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.1"

Set_OS "win10"

# Installation
cd "$POL_System_TmpDir"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix iview453_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"
POL_Wine start /unix iview453_plugins_setup.exe /silent /folder='C:\Program Files\IrfanView'
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "i_view32.exe" "$TITLE" "" "" "Graphics;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Mardi 6 Aoüt 2019 à 19:47
Approved.