POL_Install_mono481_64b

Informations

Créateur Messages
Dadu042

Information

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

Informations

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

Retours d'expérience

Description

2017. Requires OS Windows Vista or higher.

Wikipedia.

Code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 5 Juillet 2020 à 18:48
Dadu042

Information

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

Differences

@@ -13,7 +13,9 @@
 #   Warn 64bits NOK.
 # [Dadu042] (2020-05-19 16:00)
 #   64 bits compatible.
- 
+# [Dadu042] (2020-07-05 14:00)
+#   Fix POL_Wine_WaitExit
+
 if [ "$POL_ARCH" == "x32" ]; then
         POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
 fi
@@ -29,5 +31,5 @@
 CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
         POL_Wine start msiexec /i "mono-4.8.1.0-x64-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 : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Réponses

Dadu042 Mardi 19 Mai 2020 à 16:27
Dadu042

Warning

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

Differences

@@ -21,8 +21,8 @@
 FORCE_MODE=$1
  
 # Downloading Mono 4.81
-mkdir -p "$POL_USER_ROOT"/ressources/mono481/
-cd "$POL_USER_ROOT"/ressources/mono481/
+mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
+cd "$POL_USER_ROOT"/ressources/mono481_64b/
 POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
   
 # Check if it is already installed

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
 
if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitEx
fi

Réponses

Edité par Dadu042

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