Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
调整后台任务运行条件
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Dec 18, 2018
1 parent 8982122 commit 334669a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion TsinghuaNetHelper/BackgroundHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ namespace winrt::TsinghuaNetHelper::implementation
{
auto task = NewTask(LOGINTASK, xaml_typename<LoginTask>());
task.SetTrigger(SystemTrigger(SystemTriggerType::NetworkStateChange, false));
task.AddCondition(SystemCondition(SystemConditionType::InternetNotAvailable));
task.Register();
}
}
Expand Down
2 changes: 1 addition & 1 deletion TsinghuaNetUWP/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="Berrysoft.TsinghuaNetUWP" Publisher="CN=Straw" Version="1.3.22.0" />
<Identity Name="Berrysoft.TsinghuaNetUWP" Publisher="CN=Straw" Version="1.3.23.0" />
<mp:PhoneIdentity PhoneProductId="091ffa12-1933-4f1b-96a5-4a169e4ab5f5" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>TsinghuaNetUWP</DisplayName>
Expand Down

0 comments on commit 334669a

Please sign in to comment.