Compare commits

...
6 Commits
Author SHA1 Message Date
darktohka 64de0ade31 cleanflash: Update to 34.0.0.330 2025-06-11 20:00:18 +03:00
darktohka 04445d50e6 cleanflash: Update to 34.0.0.325 2025-03-13 14:54:36 +02:00
darktohka 9606769bdf cleanflash: Update to 34.0.0.323 2024-12-21 13:26:44 +02:00
darktohka da6dfd8335 cleanflash: Update to 34.0.0.321 2024-09-06 08:08:54 +03:00
darktohka 4463ce143f cleanflash: Update to 34.0.0.317 2024-07-01 19:40:55 +03:00
darktohka c0a292cff9 cleanflash: Update to 34.0.0.315 2024-06-16 11:51:58 +03:00
5 changed files with 34 additions and 36 deletions
+3 -3
View File
@@ -32,11 +32,11 @@ namespace CleanFlashCommon {
}
public class UpdateChecker {
private static readonly string FLASH_VERSION = "34.0.0.308";
private static readonly string VERSION = "34.0.0.308";
private static readonly string FLASH_VERSION = "34.0.0.330";
private static readonly string VERSION = "34.0.0.330";
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/120.0.0.0 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/136.0.0.0 Safari/537.36";
public static string GetAPILink() {
return "https://api.github.com/repos/" + AUTHOR + "/" + REPO + "/releases/latest";
+5 -16
View File
@@ -7,11 +7,11 @@
<TargetFramework>net40</TargetFramework>
<ApplicationManifest>app.manifest</ApplicationManifest>
<StartupObject></StartupObject>
<Product>Clean Flash Player 34.0.0.308 Installer</Product>
<AssemblyTitle>Clean Flash Player 34.0.0.308 Installer</AssemblyTitle>
<FileVersion>34.0.0.308</FileVersion>
<AssemblyVersion>34.0.0.308</AssemblyVersion>
<Version>34.0.0.308</Version>
<Product>Clean Flash Player 34.0.0.330 Installer</Product>
<AssemblyTitle>Clean Flash Player 34.0.0.330 Installer</AssemblyTitle>
<FileVersion>34.0.0.330</FileVersion>
<AssemblyVersion>34.0.0.330</AssemblyVersion>
<Version>34.0.0.330</Version>
<Authors>FlashPatch Team</Authors>
<Company>FlashPatch Team</Company>
<ApplicationIcon>icon.ico</ApplicationIcon>
@@ -19,17 +19,6 @@
<ItemGroup>
<None Remove="cleanflash.7z" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<WrapperTool>tlbimp</WrapperTool>
<VersionMinor>0</VersionMinor>
<VersionMajor>1</VersionMajor>
<Guid>f935dc20-1cf0-11d0-adb9-00c04fd58a0b</Guid>
<Lcid>0</Lcid>
<Isolated>false</Isolated>
<EmbedInteropTypes>true</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
</ItemGroup>
+1 -1
View File
@@ -126,7 +126,7 @@ If you ever change your mind, check out Clean Flash Player's website!";
if (pepperBox.Checked || netscapeBox.Checked || activeXBox.Checked) {
completeLabel.Text = COMPLETE_INSTALL_TEXT;
completeLabel.Links.Add(new LinkLabel.Link(191, 28));
completeLabel.Links.Add(new LinkLabel.Link(187, 28));
} else {
completeLabel.Text = COMPLETE_UNINSTALL_TEXT;
completeLabel.Links.Add(new LinkLabel.Link(110, 28));
+19 -10
View File
@@ -1,5 +1,6 @@
using CleanFlashCommon;
using System;
using System.Text;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
@@ -7,7 +8,7 @@ using System.Diagnostics;
using SharpCompress.Archives.SevenZip;
using SharpCompress.Common;
using SharpCompress.Readers;
using IWshRuntimeLibrary;
using System.Runtime.InteropServices;
namespace CleanFlashInstaller {
public class Installer {
@@ -84,16 +85,24 @@ namespace CleanFlashInstaller {
}
public static void CreateShortcut(string folder, string executable, string name, string description) {
WshShell wsh = new WshShell();
IWshShortcut shortcut = wsh.CreateShortcut(Path.Combine(folder, name + ".lnk")) as IWshShortcut;
Type t = Type.GetTypeFromCLSID(new Guid("72C24DD5-D70A-438B-8A42-98424B88AFB8"));
dynamic shell = Activator.CreateInstance(t);
shortcut.Arguments = "";
shortcut.TargetPath = executable;
shortcut.WindowStyle = (int) WshWindowStyle.WshNormalFocus;
shortcut.Description = description;
shortcut.WorkingDirectory = Path.GetDirectoryName(executable);
shortcut.IconLocation = executable;
shortcut.Save();
try {
var lnk = shell.CreateShortcut(Path.Combine(folder, name + ".lnk"));
try {
lnk.TargetPath = executable;
lnk.IconLocation = executable;
lnk.Description = description;
lnk.WorkingDirectory = folder;
lnk.Save();
} finally {
Marshal.FinalReleaseComObject(lnk);
}
} finally {
Marshal.FinalReleaseComObject(shell);
}
}
private static void InstallFromArchive(SevenZipArchive archive, IProgressForm form, InstallFlags flags) {
@@ -10,11 +10,11 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>icon.ico</ApplicationIcon>
<StartupObject></StartupObject>
<Product>Clean Flash Player 34.0.0.308 Uninstaller</Product>
<AssemblyTitle>Clean Flash Player 34.0.0.308 Uninstaller</AssemblyTitle>
<FileVersion>34.0.0.308</FileVersion>
<AssemblyVersion>34.0.0.308</AssemblyVersion>
<Version>34.0.0.308</Version>
<Product>Clean Flash Player 34.0.0.330 Uninstaller</Product>
<AssemblyTitle>Clean Flash Player 34.0.0.330 Uninstaller</AssemblyTitle>
<FileVersion>34.0.0.330</FileVersion>
<AssemblyVersion>34.0.0.330</AssemblyVersion>
<Version>34.0.0.330</Version>
<Authors>FlashPatch Team</Authors>
<Company>FlashPatch Team</Company>
</PropertyGroup>