diff --git a/README.en-US.md b/README.en-US.md
index 4bbdebc..0fd5be9 100644
--- a/README.en-US.md
+++ b/README.en-US.md
@@ -33,12 +33,12 @@ Project inspired by [Windows apps that amaze us](https://amazing-apps.gitbooks.i
## Example
### Before
-
+
### Disallow it and save
-
+
### After
-
+
diff --git a/README.md b/README.md
index 059abd8..2ea6e84 100644
--- a/README.md
+++ b/README.md
@@ -33,12 +33,12 @@
## 例子
### 屏蔽前
-
+
### 屏蔽并保存
-
+
### 屏蔽后
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/mwp.exe b/mwp.exe
index 02e30d9..cfc98fb 100644
Binary files a/mwp.exe and b/mwp.exe differ
diff --git a/src/MalwarePatch/Models/Updater.cs b/src/MalwarePatch/Models/Updater.cs
index eb473e2..d6bf091 100644
--- a/src/MalwarePatch/Models/Updater.cs
+++ b/src/MalwarePatch/Models/Updater.cs
@@ -26,10 +26,10 @@ sealed class Updater
private UpdateLanguage Languages { get; } = new UpdateLanguage();
public DownloadProgressChangedEventHandler ProgressChanged { get; set; }
- public const string
- UpdateFileName = "__mwp.exe",
- UpdateParameter = "--update",
- RestartParameter = "--restart",
+ public const string
+ UpdateFileName = "__mwp.exe",
+ UpdateParameter = "--update",
+ RestartParameter = "--restart",
RemoveOldFileParameter = "--remove";
public Task DownloadUpdate()
{
@@ -42,7 +42,7 @@ public Task DownloadUpdate()
{
File.Delete(UpdateFileName);
}
- var downloadLink = "http://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp.exe";
+ var downloadLink = "https://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp.exe";
// var downloadLink = "https://github.com/the1812/malware-patch/raw/master/mwp.exe";
// var downloadLink = GoogleDrive.GetDirectLinkFromId(UpdateId);
var info = new DownloadInfo(downloadLink)
diff --git a/src/MalwarePatch/Models/VersionChecker.cs b/src/MalwarePatch/Models/VersionChecker.cs
index e3fa42e..67959db 100644
--- a/src/MalwarePatch/Models/VersionChecker.cs
+++ b/src/MalwarePatch/Models/VersionChecker.cs
@@ -13,14 +13,14 @@ namespace MalwarePatch.Models
sealed class VersionChecker
{
public Version NewVersion { get; private set; }
- private Version CurrectVerison => Assembly.GetEntryAssembly().GetName().Version;
+ private Version CurrectVersion => Assembly.GetEntryAssembly().GetName().Version;
public string Proxy { get; set; }
public bool HasNewVersion
{
get
{
- var downloadLink = "http://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp-ver.txt";
+ var downloadLink = "https://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp-ver.txt";
// var downloadLink = GoogleDrive.GetDirectLinkFromId(NewVersionId);
// var downloadLink = "https://github.com/the1812/malware-patch/raw/master/mwp-ver.txt";
var info = new DownloadInfo(downloadLink)
@@ -33,7 +33,7 @@ public bool HasNewVersion
//#if DEBUG
// return true;
//#endif
- return NewVersion > CurrectVerison;
+ return NewVersion > CurrectVersion;
}
}
}
diff --git a/src/MalwarePatch/UpdateID.txt b/src/MalwarePatch/UpdateID.txt
index 99fd563..df297f4 100644
--- a/src/MalwarePatch/UpdateID.txt
+++ b/src/MalwarePatch/UpdateID.txt
@@ -5,5 +5,5 @@ Program = 0B4uebmDoSFx-c0kzcG5yVlZVMlE
Version Github = https://github.com/the1812/malware-patch/raw/preview/mwp-ver.txt
Program Github = https://github.com/the1812/malware-patch/raw/preview/mwp.exe
-Version jsDelivr = http://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp-ver.txt
-Program jsDelivr = http://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp.exe
\ No newline at end of file
+Version jsDelivr = https://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp-ver.txt
+Program jsDelivr = https://cdn.jsdelivr.net/gh/the1812/Malware-Patch@master/mwp.exe
\ No newline at end of file