POL_Install_mono5.20

Informations

Créateur Messages
Dadu042

Information

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

Informations

Plate-formes :
Téléchargements : 31973
Wine: System

Retours d'expérience

Description

2019. Requires OS Windows Vista or higher. Wikipedia.

= Dotnet v4.6 ?

Code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit
# [Dadu042] (2022-03-30 14:00)
#   Fix download path.

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono5.20"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mercredi 30 Mars 2022 à 17:37
Dadu042

Information

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

Messages

Fix path.

Differences

@@ -10,6 +10,8 @@
 #   First script.
 # [Dadu042] (2020-07-05 14:00)
 #   Fix POL_Wine_WaitExit
+# [Dadu042] (2022-03-30 14:00)
+#   Fix download path.
 
 if [ "$POL_ARCH" == "amd64" ]; then
         POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
@@ -20,7 +22,7 @@
 # Download Mono
 mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
 cd "$POL_USER_ROOT"/ressources/mono5.20/
-POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
+POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono5.20"
   
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit
# [Dadu042] (2022-03-30 14:00)
#   Fix download path.

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono5.20"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Réponses

Dadu042 Dimanche 5 Juillet 2020 à 18:45
Dadu042

Warning

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

Differences

@@ -8,6 +8,8 @@
 # CHANGELOG
 # [Dadu042] (2020-01-09 13:01)
 #   First script.
+# [Dadu042] (2020-07-05 14:00)
+#   Fix POL_Wine_WaitExit
 
 if [ "$POL_ARCH" == "amd64" ]; then
         POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
@@ -24,5 +26,5 @@
 CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
         POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
-        POL_Wine_WaitEx
+        POL_Wine_WaitExit "Mono"
 fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Réponses

Dadu042 Jeudi 9 Janvier 2020 à 13:04
Dadu042

Warning

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

Differences

@@ -0,0 +1,28 @@
+#!/bin/bash
+# PlayOnLinux Function
+# Date : (2020-01-09 13:01)
+# Last revision : see changelog
+# Author : Dadu042
+# Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [Dadu042] (2020-01-09 13:01)
+#   First script.
+
+if [ "$POL_ARCH" == "amd64" ]; then
+        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
+fi
+
+FORCE_MODE=$1
+ 
+# Download Mono
+mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
+cd "$POL_USER_ROOT"/ressources/mono5.20/
+POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
+  
+# Check if it is already installed
+CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
+if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
+        POL_Wine_WaitEx
+fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitEx
fi

Réponses

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