Skip to content

Commit

Permalink
调整 检查更新
Browse files Browse the repository at this point in the history
  • Loading branch information
XIU2 committed Mar 13, 2023
1 parent ff58a34 commit e20678d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Form.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Form.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ public Form(string[] args)
this.AllowDrop = false;
FileDroper = new FileDropAdmin(this);
}

Debug.Print(Button_自动检查更新.Text);
// 读入程序配置文件
Read_AppConfig();
Debug.Print(Button_自动检查更新.Text);

// 创建线程检查更新
if (Button_自动检查更新.Text == "自动检查更新 [√]")
Expand Down Expand Up @@ -197,7 +198,7 @@ public Form(string[] args)

private void Read_AppConfig() // 读入程序配置文件
{
if (AppConfig.GetValue("AutoCheckUpdate", "true", AppConfig_Path) == "true")
if (AppConfig.GetValue("AutoCheckUpdate", "false", AppConfig_Path) == "true")
{
Button_自动检查更新.Text = "自动检查更新 [√]";
}
Expand Down Expand Up @@ -688,7 +689,7 @@ private void Button_显示文字_TextChanged(object sender, EventArgs e)

private void Check_Update(bool Tip) // 检查更新
{
string strHTML = GetHTTP.Get_HTTP("https://api.xiuer.pw/ver/win10kscdmhxgj.txt", 10000, "utf-8");
string strHTML = GetHTTP.Get_HTTP("https://api.xiu2.xyz/ver/win10kscdmhxgj.txt", 10000, "utf-8");
string[] Ver_Info = strHTML.Split('\n');
if (Ver_Info.Length > 2 && Ver_Info[1] != Now_VerInfo)
{
Expand Down
2 changes: 1 addition & 1 deletion Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
</startup>
<appSettings>
<add key="AutoCheckUpdate" value="true"/>
<add key="AutoCheckUpdate" value="false"/>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
</appSettings>
&lt;/configuration&gt;</value>
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,32 @@

## 软件界面

![软件界面](https://raw.githubusercontent.com/XIU2/TileTool/master/img/01.png)
![软件界面](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/01.png)
> 界面折腾半天发现还是好丑,我可能真的没有设计天赋 -.-...
![右键菜单](https://raw.githubusercontent.com/XIU2/TileTool/master/img/02.png)
![右键菜单](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/02.png)
> 右键菜单示例
****

## 效果示例

![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/09.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/10.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/03.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/04.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/05.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/06.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/07.png)
![](https://raw.githubusercontent.com/XIU2/TileTool/master/img/08.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/09.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/10.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/03.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/04.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/05.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/06.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/07.png)
![](https://cdn.staticaly.com/gh/XIU2/TileTool/master/img/08.png)

> 磁贴图标包(400+)我放在蓝奏云网盘中了,需要自取。
****

## 下载地址

* 蓝奏云 :[https://pan.lanzouv.com/b0sp46eh](https://pan.lanzouv.com/b0sp46eh)
* 蓝奏云 :[https://pan.lanzouf.com/b0sp46eh](https://pan.lanzouf.com/b0sp46eh)
* Github:[https://github.com/XIU2/TileTool/releases](https://github.com/XIU2/TileTool/releases)

****
Expand Down
2 changes: 1 addition & 1 deletion 磁贴美化小工具.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PlatformTarget>x64</PlatformTarget>
<LangVersion>latest</LangVersion>
<UseWindowsForms>true</UseWindowsForms>
<Version>4.1.0</Version>
<Version>4.1.1</Version>
<Company>XIU2</Company>
<Copyright>Copyright © 2020 XIU2. All Rights Reserved.</Copyright>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down

0 comments on commit e20678d

Please sign in to comment.