取消manifest中管理员运行配置
This commit is contained in:
1 parent
772d9f4780
commit
6040c88c6a
4 files changed
+14
-9
No files matched your search
+12
-7
@@ -87,9 +87,14 @@ namespace _29WxOrder
|
||||
settings.CefCommandLineArgs.Add("disable-gpu", "1");
|
||||
settings.IgnoreCertificateErrors = true;
|
||||
settings.Locale = "zh-CN";
|
||||
settings.LogSeverity = LogSeverity.Disable;
|
||||
Cef.Initialize(settings);
|
||||
#endregion
|
||||
#if DEBUG
|
||||
settings.LogSeverity = LogSeverity.Verbose; // 设置日志级别
|
||||
#else
|
||||
settings.LogSeverity = LogSeverity.Disable;
|
||||
#endif
|
||||
settings.LogFile = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "cef_log.txt");
|
||||
var rst = Cef.Initialize(settings);
|
||||
#endregion
|
||||
}
|
||||
|
||||
void SetHideEvent(Control control)
|
||||
@@ -165,7 +170,7 @@ namespace _29WxOrder
|
||||
});
|
||||
SaveUserList();
|
||||
}
|
||||
#region 设置UA
|
||||
#region 设置UA
|
||||
string html = GetHtml.PostUtf8(BaseClass.UserAgentUrl, UserLogin.GetSignaturex());
|
||||
if (!string.IsNullOrEmpty(html) && !html.Contains("error") && !html.StartsWith("测试网络正常,现在时间是"))
|
||||
{
|
||||
@@ -180,7 +185,7 @@ namespace _29WxOrder
|
||||
{
|
||||
BaseClass.ChromeUserAgent = xx.Trim();
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Dispose();
|
||||
@@ -333,11 +338,11 @@ namespace _29WxOrder
|
||||
|
||||
public static void GetUserList()
|
||||
{
|
||||
#region 用户账户记忆功能
|
||||
#region 用户账户记忆功能
|
||||
UserParamList = ConfigHelper.LoadConfig<ConcurrentList<UserParam>>("user_account_list");
|
||||
if (UserParamList == null)
|
||||
UserParamList = new ConcurrentList<UserParam>();
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
|
||||
private void panelEx2_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
如果你的应用程序需要此虚拟化来实现向后兼容性,则删除此
|
||||
元素。
|
||||
-->
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />-->
|
||||
</requestedPrivileges>
|
||||
<applicationRequestMinimum>
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NaiBa.Util">
|
||||
<HintPath>..\FindLittleRabbitOrder\DLL\NaiBa.Util.dll</HintPath>
|
||||
<HintPath>..\DllReference\NaiBa.Util.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user