From 441fa6e64a929bb41cfe7a1dfa065475fede3f57 Mon Sep 17 00:00:00 2001 From: Luke Strickland Date: Thu, 25 Feb 2021 09:36:40 -0500 Subject: [PATCH] Adding run as admin error --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index a738e99..b192ae3 100644 --- a/main.go +++ b/main.go @@ -113,6 +113,7 @@ func patchFile(filePath string, newService obsService) { err = os.WriteFile(filePath, whatever, 0644) if err != nil { log.Printf("⛔️ Failed to patch file: %s", filePath) + log.Println("⛔️ Please try running the program as an Administrator") log.Fatal(err) }