From 8c48509dfcb5879a2ef5c2a2f1672a2cb4d5d0c5 Mon Sep 17 00:00:00 2001
From: Niko <20830349+Peliex@users.noreply.github.com>
Date: Wed, 21 Jun 2023 10:40:15 -0700
Subject: [PATCH] Created application resource manifest
Creates a separate resource manifest for the Tgstation.Server.Host.exe so that the process will automatically elevate to the user's highest permission when ran. Shows a warning to the user and triggers UAC.
---
.../Tgstation.Server.Host.csproj | 1 +
src/Tgstation.Server.Host/manifest.xml | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 src/Tgstation.Server.Host/manifest.xml
diff --git a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
index 6aa45b0e12..b24c328f95 100644
--- a/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
+++ b/src/Tgstation.Server.Host/Tgstation.Server.Host.csproj
@@ -23,6 +23,7 @@
ClientApp/node_modules/.install-stamp
Linux
..\..
+ manifest.xml
diff --git a/src/Tgstation.Server.Host/manifest.xml b/src/Tgstation.Server.Host/manifest.xml
new file mode 100644
index 0000000000..6374470a86
--- /dev/null
+++ b/src/Tgstation.Server.Host/manifest.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+