debug: Add debug labels

This commit is contained in:
Daniel
2021-07-19 12:01:38 +03:00
parent 65fa79fe7c
commit 5b374708c5
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -84,11 +84,16 @@ namespace CleanFlashInstaller {
if (flags.IsSet(InstallFlags.PLAYER)) {
form.UpdateProgressLabel("Installing 32-bit Standalone Flash Player...", true);
ExtractArchive("flash_player_32.zip", flashProgram32Path);
string name = "Flash Player";
string description = "Standalone Flash Player " + UpdateChecker.GetFlashVersion();
string executable = Path.Combine(flashProgram32Path, UpdateChecker.GetFlashPlayerExecutable());
if (UpdateChecker.IsDebug()) {
name += " (Debug)";
description += " (Debug)";
}
if (flags.IsSet(InstallFlags.PLAYER_START_MENU)) {
CreateShortcut(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), executable, name, description);
}