From 7ab25bd625e53c45f1a71235e76d0e26817c12a3 Mon Sep 17 00:00:00 2001 From: ComputerElite <71177995+ComputerElite@users.noreply.github.com> Date: Fri, 10 Nov 2023 09:50:17 +0100 Subject: [PATCH] Add .nomedia file --- QuestAppVersionSwitcher/CoreService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/QuestAppVersionSwitcher/CoreService.cs b/QuestAppVersionSwitcher/CoreService.cs index 5416767..38c3ea5 100644 --- a/QuestAppVersionSwitcher/CoreService.cs +++ b/QuestAppVersionSwitcher/CoreService.cs @@ -61,6 +61,7 @@ public static void Start() if (!started) { FileManager.CreateDirectoryIfNotExisting(coreVars.QAVSDir); + File.WriteAllText(coreVars.QAVSDir + ".nomedia", ""); Logger.SetLogFile(coreVars.QAVSDir + "qavslog.log"); Logger.Log("\n\n\nQAVS Version: " + version + " starting up...\n\n\n"); ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; });