mirror of https://github.com/2dust/v2rayN
Merge pull request #2740 from wh201906/patch-1
Add support for config file with .yml extensionpull/2755/merge
commit
c97df99c5c
|
@ -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