Skip to content

[windows] warn when powershell script is run as admin

Although this could be on purpose, most users will want to install as non-admin. To make sure this isn't done by accident, the bootstrap-haskell.ps1 powershell script could:

  1. Detect whether it's run as admin user
  2. Print a non-intrusive warning (maybe with a 5s timeout)
Edited by Julian Ospald
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information