mirror of
https://gitlab.com/cleanflash/installer.git
synced 2026-08-13 02:41:38 +08:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95e2af1055 | ||
|
|
7f5fcbc371 | ||
|
|
e6b3069320 | ||
|
|
ac1c5ce9f8 | ||
|
|
6b7fe572fd |
@@ -0,0 +1,18 @@
|
|||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
variables:
|
||||||
|
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe'
|
||||||
|
MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj'
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- '& nuget restore' # restore Nuget dependencies
|
||||||
|
- '& "$env:MSBUILD_PATH" "$env:MSBUILD_TARGET" /p:Configuration=Release'
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- 'CleanFlashInstaller/bin/Release/*.exe'
|
||||||
|
expire_in: never
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
@@ -32,11 +32,11 @@ namespace CleanFlashCommon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public class UpdateChecker {
|
public class UpdateChecker {
|
||||||
private static readonly string FLASH_VERSION = "34.0.0.308";
|
private static readonly string FLASH_VERSION = "34.0.0.301";
|
||||||
private static readonly string VERSION = "34.0.0.308";
|
private static readonly string VERSION = "34.0.0.301";
|
||||||
private static readonly string AUTHOR = "cleanflash";
|
private static readonly string AUTHOR = "cleanflash";
|
||||||
private static readonly string REPO = "installer";
|
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/116.0.0.0 Safari/537.36";
|
||||||
|
|
||||||
public static string GetAPILink() {
|
public static string GetAPILink() {
|
||||||
return "https://api.github.com/repos/" + AUTHOR + "/" + REPO + "/releases/latest";
|
return "https://api.github.com/repos/" + AUTHOR + "/" + REPO + "/releases/latest";
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
<TargetFramework>net40</TargetFramework>
|
<TargetFramework>net40</TargetFramework>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<StartupObject></StartupObject>
|
<StartupObject></StartupObject>
|
||||||
<Product>Clean Flash Player 34.0.0.308 Installer</Product>
|
<Product>Clean Flash Player 34.0.0.301 Installer</Product>
|
||||||
<AssemblyTitle>Clean Flash Player 34.0.0.308 Installer</AssemblyTitle>
|
<AssemblyTitle>Clean Flash Player 34.0.0.301 Installer</AssemblyTitle>
|
||||||
<FileVersion>34.0.0.308</FileVersion>
|
<FileVersion>34.0.0.301</FileVersion>
|
||||||
<AssemblyVersion>34.0.0.308</AssemblyVersion>
|
<AssemblyVersion>34.0.0.301</AssemblyVersion>
|
||||||
<Version>34.0.0.308</Version>
|
<Version>34.0.0.301</Version>
|
||||||
<Authors>FlashPatch Team</Authors>
|
<Authors>FlashPatch Team</Authors>
|
||||||
<Company>FlashPatch Team</Company>
|
<Company>FlashPatch Team</Company>
|
||||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||||
<StartupObject></StartupObject>
|
<StartupObject></StartupObject>
|
||||||
<Product>Clean Flash Player 34.0.0.308 Uninstaller</Product>
|
<Product>Clean Flash Player 34.0.0.301 Uninstaller</Product>
|
||||||
<AssemblyTitle>Clean Flash Player 34.0.0.308 Uninstaller</AssemblyTitle>
|
<AssemblyTitle>Clean Flash Player 34.0.0.301 Uninstaller</AssemblyTitle>
|
||||||
<FileVersion>34.0.0.308</FileVersion>
|
<FileVersion>34.0.0.301</FileVersion>
|
||||||
<AssemblyVersion>34.0.0.308</AssemblyVersion>
|
<AssemblyVersion>34.0.0.301</AssemblyVersion>
|
||||||
<Version>34.0.0.308</Version>
|
<Version>34.0.0.301</Version>
|
||||||
<Authors>FlashPatch Team</Authors>
|
<Authors>FlashPatch Team</Authors>
|
||||||
<Company>FlashPatch Team</Company>
|
<Company>FlashPatch Team</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user