summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/assets/install on macOS.command
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-12-03 00:26:46 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-12-03 00:26:46 -0500
commit181508084b5bb2bb7b8cd61ec3193a293300ba45 (patch)
treeb4fab17d3ddba8a677f3889693230ff7a7dbaaa0 /src/SMAPI.Installer/assets/install on macOS.command
parentbf5a9b87627b04523c7885b503e85ca2021c63a3 (diff)
downloadSMAPI-181508084b5bb2bb7b8cd61ec3193a293300ba45.tar.gz
SMAPI-181508084b5bb2bb7b8cd61ec3193a293300ba45.tar.bz2
SMAPI-181508084b5bb2bb7b8cd61ec3193a293300ba45.zip
make installer self-contained
This lets players run the installer without manually installing .NET 5, which was causing a lot of support requests.
Diffstat (limited to 'src/SMAPI.Installer/assets/install on macOS.command')
-rw-r--r--src/SMAPI.Installer/assets/install on macOS.command6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI.Installer/assets/install on macOS.command b/src/SMAPI.Installer/assets/install on macOS.command
new file mode 100644
index 00000000..abd21dc8
--- /dev/null
+++ b/src/SMAPI.Installer/assets/install on macOS.command
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cd "`dirname "$0"`"
+
+xattr -r -d com.apple.quarantine internal
+internal/macOS/SMAPI.Installer