mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-14 05:12:09 +08:00
0.0.1 -> 1.1.5 第4次更新
This commit is contained in:
parent
f7039a2618
commit
6889021d72
@ -14,6 +14,6 @@ internal class MainBrowserButtonIsEnabledConv : IMultiValueConverter
|
|||||||
string browserPath = (string)values[0];
|
string browserPath = (string)values[0];
|
||||||
string extraArgs = (string)values[1];
|
string extraArgs = (string)values[1];
|
||||||
|
|
||||||
return File.Exists(browserPath) && Path.GetFileName(browserPath).ToLowerInvariant().EndsWith(".exe") && MainConst.ExtraArgsRegex().IsMatch(extraArgs);
|
return File.Exists(browserPath) && MainConst.ExtraArgsRegex().IsMatch(extraArgs);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -43,7 +43,7 @@ internal partial class MainPres : GlobalPres
|
|||||||
private string browserPath;
|
private string browserPath;
|
||||||
partial void OnBrowserPathChanged(string value)
|
partial void OnBrowserPathChanged(string value)
|
||||||
{
|
{
|
||||||
//if (!File.Exists(value) || !Path.GetFileName(value).ToLowerInvariant().EndsWith(".exe"))
|
//if (!File.Exists(value))
|
||||||
// return;
|
// return;
|
||||||
|
|
||||||
//Settings.Default.BrowserPath = value;
|
//Settings.Default.BrowserPath = value;
|
||||||
|
Loading…
Reference in New Issue
Block a user