From 9470c8de53caec40b8d6239d6ad5d501861573c4 Mon Sep 17 00:00:00 2001 From: kougyoku Date: Tue, 17 May 2022 20:03:18 -0700 Subject: [PATCH] Add mp4, mp3, and wmv to the allowed extensions --- App.config | 3 +++ Properties/Settings.Designer.cs | 11 ++++++++--- Properties/Settings.settings | 3 +++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/App.config b/App.config index e46b0ed..9fa4a68 100644 --- a/App.config +++ b/App.config @@ -19,6 +19,9 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema"> .docx .pdf + .mp4 + .mp3 + .wmv diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs index e7e0b07..410e9da 100644 --- a/Properties/Settings.Designer.cs +++ b/Properties/Settings.Designer.cs @@ -34,9 +34,14 @@ namespace LocalExplorer.Properties { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("\r\n\r\n .docx\r\n .pdf\r\n")] + [global::System.Configuration.DefaultSettingValueAttribute(@" + + .docx + .pdf + .mp4 + .mp3 + .wmv +")] public global::System.Collections.Specialized.StringCollection ALLOWED_EXTENSIONS { get { return ((global::System.Collections.Specialized.StringCollection)(this["ALLOWED_EXTENSIONS"])); diff --git a/Properties/Settings.settings b/Properties/Settings.settings index 0f283e9..5357eac 100644 --- a/Properties/Settings.settings +++ b/Properties/Settings.settings @@ -10,6 +10,9 @@ <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <string>.docx</string> <string>.pdf</string> + <string>.mp4</string> + <string>.mp3</string> + <string>.wmv</string> </ArrayOfString>