cleanflash: Update to 34.0.0.251

This commit is contained in:
Disyer
2022-06-17 09:28:52 +03:00
parent b915e9432a
commit 68448e704b
17 changed files with 114 additions and 61 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CleanFlashCommon")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
+7 -3
View File
@@ -80,7 +80,7 @@ namespace CleanFlashCommon {
// Remove Flash Center cache and user data
FileUtil.WipeFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Flash_Center"));
// Remove shared start menu shortcuts
FileUtil.WipeFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu), "Programs", "Flash Center"));
FileUtil.WipeFolder(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), "Programs", "Flash Center"));
@@ -93,14 +93,18 @@ namespace CleanFlashCommon {
// Remove Flash Player from Program Files
FileUtil.WipeFolder(SystemInfo.GetProgramFlash32Path());
// Remove spyware dropped by Flash Center in the temporary folder
// Remove spyware dropped by Flash Center in the temporary folder
string tempFolder = Path.GetTempPath();
foreach (string dir in Directory.GetDirectories(tempFolder)) {
string parentName = Path.GetFileName(dir);
if (parentName.Length == 11 && parentName.EndsWith(".tmp")) {
FileUtil.WipeFolder(dir);
try {
FileUtil.WipeFolder(dir);
} catch {
// Oh well...
}
}
}
+3 -3
View File
@@ -32,11 +32,11 @@ namespace CleanFlashCommon {
}
public class UpdateChecker {
private static readonly string FLASH_VERSION = "34.0.0.192";
private static readonly string VERSION = "v34.0.0.192";
private static readonly string FLASH_VERSION = "34.0.0.251";
private static readonly string VERSION = "v34.0.0.251";
private static readonly string AUTHOR = "cleanflash";
private static readonly string REPO = "installer";
private static readonly string USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36";
private static readonly string USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36";
public static string GetAPILink() {
return "https://api.github.com/repos/" + AUTHOR + "/" + REPO + "/releases/latest";