mirror of
https://gitlab.com/cleanflash/installer.git
synced 2026-08-13 10:51:37 +08:00
flash: Add support for Standalone Flash Player
This commit is contained in:
@@ -34,6 +34,7 @@ namespace CleanFlashCommon {
|
||||
public class UpdateChecker {
|
||||
private static readonly string FLASH_VERSION = "34.0.0.155";
|
||||
private static readonly string VERSION = "v34.0.0.155";
|
||||
private static readonly string FLASH_PLAYER_EXECUTABLE = "flashplayer_sa.exe";
|
||||
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/90.0.4430.85 Safari/537.36";
|
||||
@@ -50,6 +51,10 @@ namespace CleanFlashCommon {
|
||||
return VERSION;
|
||||
}
|
||||
|
||||
public static string GetFlashPlayerExecutable() {
|
||||
return FLASH_PLAYER_EXECUTABLE;
|
||||
}
|
||||
|
||||
private static Version GetLatestVersionUnsafe() {
|
||||
using (WebClient client = new WebClient()) {
|
||||
client.Headers.Add("user-agent", USER_AGENT);
|
||||
|
||||
Reference in New Issue
Block a user