mirror of https://github.com/2dust/v2rayN
Add support for config file with .yml extension
parent
d0c8f5eb45
commit
809e170018
|
@ -113,7 +113,7 @@ namespace v2rayN.Forms
|
||||||
OpenFileDialog fileDialog = new OpenFileDialog
|
OpenFileDialog fileDialog = new OpenFileDialog
|
||||||
{
|
{
|
||||||
Multiselect = false,
|
Multiselect = false,
|
||||||
Filter = "Config|*.json|YAML|*.yaml|All|*.*"
|
Filter = "Config|*.json|YAML|*.yaml;*.yml|All|*.*"
|
||||||
};
|
};
|
||||||
if (fileDialog.ShowDialog() != DialogResult.OK)
|
if (fileDialog.ShowDialog() != DialogResult.OK)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue