POL_Install_mono6.12

Informations

Créateur Messages
Dadu042

Information

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

Informations

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

Retours d'expérience

Description

2020. Requires OS Windows Vista or higher.

= Dotnet v4.7 ?

Code source

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 1 Mai 2022 à 14:06
Dadu042

Information

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

Messages


 

Differences

@@ -20,7 +20,7 @@
     POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
 fi
 if [ "$POL_ARCH" == "amd64" ]; then
-    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
 fi
 
    

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Réponses

Anonymous
Mardi 15 Novembre 2022 à 14:37
Thanks, I will surely try it. 
Dadu042 Mercredi 30 Mars 2022 à 17:50
Dadu042

Warning

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

Differences

@@ -7,22 +7,34 @@
 #
 # CHANGELOG
 # [Dadu042] (2022-03-30 13:00)
-#   First script.
+#   First script. Add 64bits support.
+
 
-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/mono6.12.0/
 cd "$POL_USER_ROOT"/ressources/mono6.12.0/
-POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+
+if [ "$POL_ARCH" == "x86" ]; then
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+fi
+if [ "$POL_ARCH" == "amd64" ]; then
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
+fi
+
    
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+
+    if [ "$POL_ARCH" == "x86" ]; then
         POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
         POL_Wine_WaitExit "Mono"
+    fi
+    if [ "$POL_ARCH" == "amd64" ]; then
+        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
+        POL_Wine_WaitExit "Mono"
+    fi
+
 fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Réponses

Dadu042 Mercredi 30 Mars 2022 à 17:42
Dadu042

Warning

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

Differences

@@ -18,7 +18,7 @@
 # Download Mono
 mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
 cd "$POL_USER_ROOT"/ressources/mono6.12.0/
-POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
    
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   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/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/
POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Réponses

Dadu042 Mercredi 30 Mars 2022 à 16:58
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 : see changelog
+# Last revision : see changelog
+# Author : Dadu042
+# Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [Dadu042] (2022-03-30 13:00)
+#   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/mono6.12.0/
+cd "$POL_USER_ROOT"/ressources/mono6.12.0/
+POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+   
+# Check if it is already installed
+CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
+if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
+        POL_Wine_WaitExit "Mono"
+fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   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/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/
POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
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