Skip to content

Commit

Permalink
fix:更新程序改为64位
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramCX committed Aug 16, 2024
1 parent 9fb10e6 commit f4a42ab
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 37 deletions.
3 changes: 2 additions & 1 deletion src/Update/Update/CheckForUpdate.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public async Task<string> GetLatestVersion()
if (regKey != null)
{

currentVersion = regKey.GetValue("Version", "v.1.0.0.1") as string;
currentVersion = regKey.GetValue("Version", "v.1.0.0.0") as string;
}
}
try
Expand Down Expand Up @@ -202,6 +202,7 @@ public async Task getToDownloads()
latestSingleVersion[2] = patch;
latestSingleVersion[3] = date;
}
//MessageBox.Show(currentVersion.ToString());
if (latestSingleVersion[0] == currentSingleVersion[0] &&
latestSingleVersion[1] == currentSingleVersion[1] &&
latestSingleVersion[2] == currentSingleVersion[2] &&
Expand Down
1 change: 1 addition & 0 deletions src/Update/Update/Update.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>update.ico</ApplicationIcon>
Expand Down
28 changes: 0 additions & 28 deletions src/Update/Update/bin/Debug/UpdateTemp/1.0.0.1/detail.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/Update/Update/bin/Debug/UpdateTemp/VERSION.txt

This file was deleted.

11 changes: 5 additions & 6 deletions src/Update/Update/bin/Release/UpdateTemp/1.0.0.1/detail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ addchangenumbers = 3
delnumbers = 0
plugin = false
qt = false
tr = true
messagenum=2
tr = false
messagenum=1

[addchange]
file0 = SecondDownloader.exe
file1 = libDownload.dll
file2 = libDialog.dll
file2 = libDialog.dll

[delete]
file0 = a.exe


[proxy]
url = https://mirror.ghproxy.com/
Expand All @@ -24,5 +24,4 @@ patch = 0
date = 0

[message]
msg0 = 修复已知BUG
msg1 = 该版本其实是1.0.0.0,作为内测人员是1.0.0.1
msg0 = 删除多余工程调试代码
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Update/Update/obj/Release/Update_MarkupCompile.i.cache
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ E:\Document\Projects\SecondDownloader\src\Update\Update\App.xaml
17-1258070050
CheckForUpdate.xaml;Finished.xaml;MainWindow.xaml;NoNeed.xaml;UpdateInformation.xaml;Updating.xaml;

False
True

9 changes: 9 additions & 0 deletions src/Update/Update/obj/Release/Update_MarkupCompile.i.lref
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@


FE:\Document\Projects\SecondDownloader\src\Update\Update\CheckForUpdate.xaml;;
FE:\Document\Projects\SecondDownloader\src\Update\Update\Finished.xaml;;
FE:\Document\Projects\SecondDownloader\src\Update\Update\MainWindow.xaml;;
FE:\Document\Projects\SecondDownloader\src\Update\Update\NoNeed.xaml;;
FE:\Document\Projects\SecondDownloader\src\Update\Update\UpdateInformation.xaml;;
FE:\Document\Projects\SecondDownloader\src\Update\Update\Updating.xaml;;

0 comments on commit f4a42ab

Please sign in to comment.