Strip ending \ from prefix. Add in DEBUG setting for on the fly debugging

This commit is contained in:
kougyoku 2022-06-15 14:12:39 -07:00
parent a24112162b
commit ea08721627
2 changed files with 14 additions and 2 deletions

View File

@ -25,7 +25,7 @@ namespace LocalExplorer.Properties {
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("ssv.wa.lcl\\")]
[global::System.Configuration.DefaultSettingValueAttribute("ssv.wa.lcl")]
public string PREFIX {
get {
return ((string)(this["PREFIX"]));
@ -48,5 +48,14 @@ namespace LocalExplorer.Properties {
return ((global::System.Collections.Specialized.StringCollection)(this["ALLOWED_EXTENSIONS"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool DEBUG {
get {
return ((bool)(this["DEBUG"]));
}
}
}
}

View File

@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="PREFIX" Type="System.String" Scope="Application">
<Value Profile="(Default)">ssv.wa.lcl\</Value>
<Value Profile="(Default)">ssv.wa.lcl</Value>
</Setting>
<Setting Name="ALLOWED_EXTENSIONS" Type="System.Collections.Specialized.StringCollection" Scope="Application">
<Value Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
@ -16,5 +16,8 @@
&lt;string&gt;.wav&lt;/string&gt;
&lt;/ArrayOfString&gt;</Value>
</Setting>
<Setting Name="DEBUG" Type="System.Boolean" Scope="Application">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>