From 048bd2bb8bf497b8677cf8b1e860b98b595577cd Mon Sep 17 00:00:00 2001 From: Samual Norman Date: Tue, 30 Apr 2024 15:15:48 +0100 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ec1e82e..9ad40f5 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ Command made for [hackmud-environment](https://github.com/samualtnorman/hackmud- 2. Name your source script file to `.src.js` 3. Run `hsm golf .src.js` and it will create a minified script file called `.js` +> [!NOTE] +> If you get an error message that looks like this: +> ``` +> [...]\AppData\Local\pnpm\hsm.ps1 cannot be loaded because running scripts is disabled on this system. [...] +> ``` +> You will need to run `Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser` in PowerShell as an administrator. For more information, see [Microsoft's page about Execution Policies](https://learn.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4). + ## Features - Minification - This includes auto quine cheating. -- knotmirror 0.0.1