From 57fcc8fdeb51910d71f0e8ecdd64c9396189d2a1 Mon Sep 17 00:00:00 2001
From: hinto-janaiyo <hinto.janaiyo@protonmail.com>
Date: Sun, 18 Dec 2022 13:57:50 -0500
Subject: [PATCH] Update [/external]

---
 .gitmodules         | 3 +++
 external/README.md  | 6 ++++++
 external/rust-runas | 1 +
 3 files changed, 10 insertions(+)
 create mode 100644 external/README.md
 create mode 160000 external/rust-runas

diff --git a/.gitmodules b/.gitmodules
index 1828c57..bf9ff6d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
 [submodule "origin"]
 	path = external/egui
 	url = https://github.com/hinto-janaiyo/egui
+[submodule "external/rust-runas"]
+	path = external/rust-runas
+	url = https://github.com/mitsuhiko/rust-runas
diff --git a/external/README.md b/external/README.md
new file mode 100644
index 0000000..06ffabc
--- /dev/null
+++ b/external/README.md
@@ -0,0 +1,6 @@
+# external
+These are some external git repositories for various purposes:
+| Repo | Purpose             |
+|------|---------------------|
+| egui | [external/egui/crates/eframe/src/native/run.rs] line 41: [.with_srgb(true)]. This line causes a [panic!] inside a Windows VM, from a Linux host. The only change is [.with_srgb()] is set to [false]. This is only used for testing, since ironically, this crashes bare-metal Windows. |
+| rust-runas | This contains some interesting code that could be used as an alternative to running proccesses with elevated privilege in Windows for Gupax |
diff --git a/external/rust-runas b/external/rust-runas
new file mode 160000
index 0000000..54ace0f
--- /dev/null
+++ b/external/rust-runas
@@ -0,0 +1 @@
+Subproject commit 54ace0fcc09f54bdbd057452270989cb90880894