From 068fa3454ce3bb6adc98ab64bb2f6297f288a603 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 4 Jul 2021 22:15:56 +0200 Subject: [PATCH] Update website --- www/ghcup.css | 18 +++++++++++------- www/index.html | 33 +++++++++++++++++++++++++-------- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/www/ghcup.css b/www/ghcup.css index edb1319..f678e32 100644 --- a/www/ghcup.css +++ b/www/ghcup.css @@ -132,13 +132,17 @@ hr { margin-bottom: 2em; } -#platform-instructions-linux > div > pre, -#platform-instructions-mac > div > pre, -#platform-instructions-freebsd > div > pre, -#platform-instructions-win32 > div > pre, -#platform-instructions-win64 > div > pre, -#platform-instructions-default > div > div > pre, -#platform-instructions-unknown > div > div > pre { +span.code { + font-family: 'Lucida Console', monospace; +} + +#platform-instructions-linux div > pre, +#platform-instructions-mac div > pre, +#platform-instructions-freebsd div > pre, +#platform-instructions-win32 div > pre, +#platform-instructions-win64 div > pre, +#platform-instructions-default div > div > pre, +#platform-instructions-unknown div > div > pre { background-color: #515151; color: white; margin-left: auto; diff --git a/www/index.html b/www/index.html index ef4b5af..e9e647e 100644 --- a/www/index.html +++ b/www/index.html @@ -44,23 +44,40 @@

To install Haskell,
run the following in a powershell session (as a non-admin user). -

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-WebRequest -UseBasicParsing https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 | Invoke-Expression
+
+
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $false
+
+

If you want to run an interactive installation, change $false to $true at the end of the script.

+

If you're a Windows Subsystem 2 for Linux user run the following in your terminal, then follow the onscreen instructions to install Haskell.

-
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
+
+
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
+
+

WSL1 does not work with ghcup, follow the instructions here to upgrade to WSL2 if needed.

+

-

WSL1 does not work with ghcup, follow the instructions here to upgrade to WSL2 if needed.
You appear to be running Windows 32-bit. If not, display all supported installers.

+
+

You appear to be running Windows 32-bit. If not, display all supported installers.