From 086cd2b9349303d57757b1e13e228c9cbd124714 Mon Sep 17 00:00:00 2001
From: r3sus <49620111+r3sus@users.noreply.github.com>
Date: Thu, 9 Mar 2023 18:51:45 +0300
Subject: [PATCH 1/5] remove obsolete dependency
---
CleanFlashInstaller/CleanFlashInstaller.csproj | 1 -
1 file changed, 1 deletion(-)
diff --git a/CleanFlashInstaller/CleanFlashInstaller.csproj b/CleanFlashInstaller/CleanFlashInstaller.csproj
index 62fc0ed..ee5581c 100644
--- a/CleanFlashInstaller/CleanFlashInstaller.csproj
+++ b/CleanFlashInstaller/CleanFlashInstaller.csproj
@@ -48,7 +48,6 @@
-
From 9c609ae28ba442e622bdd9c3dd5496745240bd13 Mon Sep 17 00:00:00 2001
From: r3sus <49620111+r3sus@users.noreply.github.com>
Date: Thu, 9 Mar 2023 18:53:26 +0300
Subject: [PATCH 2/5] prevent installer from closing by pressing Enter
---
CleanFlashInstaller/InstallForm.Designer.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/CleanFlashInstaller/InstallForm.Designer.cs b/CleanFlashInstaller/InstallForm.Designer.cs
index 9de73fd..44db441 100644
--- a/CleanFlashInstaller/InstallForm.Designer.cs
+++ b/CleanFlashInstaller/InstallForm.Designer.cs
@@ -374,6 +374,7 @@ namespace CleanFlashInstaller {
this.prevButton.Name = "prevButton";
this.prevButton.Size = new System.Drawing.Size(138, 31);
this.prevButton.TabIndex = 3;
+ this.prevButton.TabStop = false;
this.prevButton.Text = "QUIT";
this.prevButton.UseVisualStyleBackColor = false;
this.prevButton.Click += new System.EventHandler(this.prevButton_Click);
From ec8dbc5a91634ea016d20b40281b435dd099c850 Mon Sep 17 00:00:00 2001
From: r3sus <49620111+r3sus@users.noreply.github.com>
Date: Thu, 9 Mar 2023 19:22:46 +0300
Subject: [PATCH 3/5] prevent installer from closing during installation
---
CleanFlashInstaller/InstallForm.Designer.cs | 1 +
CleanFlashInstaller/InstallForm.cs | 30 +++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/CleanFlashInstaller/InstallForm.Designer.cs b/CleanFlashInstaller/InstallForm.Designer.cs
index 44db441..7270eba 100644
--- a/CleanFlashInstaller/InstallForm.Designer.cs
+++ b/CleanFlashInstaller/InstallForm.Designer.cs
@@ -621,6 +621,7 @@ namespace CleanFlashInstaller {
this.Name = "InstallForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Clean Flash Player Dev Installer";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.InstallForm_FormClosing);
this.Load += new System.EventHandler(this.InstallForm_Load);
((System.ComponentModel.ISupportInitialize)(this.flashLogo)).EndInit();
this.disclaimerPanel.ResumeLayout(false);
diff --git a/CleanFlashInstaller/InstallForm.cs b/CleanFlashInstaller/InstallForm.cs
index f3ccf7f..da79f58 100644
--- a/CleanFlashInstaller/InstallForm.cs
+++ b/CleanFlashInstaller/InstallForm.cs
@@ -293,5 +293,35 @@ If you ever change your mind, check out Clean Flash Player's website!";
debugChosen = MessageBox.Show("Are you sure you want to install the debug version?\n\nThis version is only meant to be used by experienced developers!\nIf you are not sure, choose No.", "Clean Flash Installer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes;
OpenBeforeInstall();
}
+
+ private void InstallForm_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ bool v1 = true;
+ // if installing
+ // note: msgbox not pauses the process
+ if (installPanel.Visible)
+ {
+ if (v1)
+ {
+ // hardlock, only force quit process
+ // follows current design since Back button is disabled
+ MessageBox.Show("Please, wait until process end", "Clean Flash Installer", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ e.Cancel = true;
+ }
+ else
+ // soft alternative, expert mode, todo: better warning of consequences
+ if (MessageBox.Show("Are you sure you want to interrupt the process ?", "Clean Flash Installer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
+ {
+ e.Cancel = true;
+ }
+ else
+ {
+ // use cases ?
+ // uninstall, currently not implemented
+ }
+
+ //todo: same for uninstaller: share same F
+ }
+ }
}
}
From 136cd0a2925a6eb58355448cc0e33e23d66e457a Mon Sep 17 00:00:00 2001
From: r3sus <49620111+r3sus@users.noreply.github.com>
Date: Thu, 9 Mar 2023 20:59:48 +0300
Subject: [PATCH 4/5] un: disallow closing in progress; unfocus 'back' button
---
.../UninstallForm.Designer.cs | 2 ++
CleanFlashUninstaller/UninstallForm.cs | 31 +++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/CleanFlashUninstaller/UninstallForm.Designer.cs b/CleanFlashUninstaller/UninstallForm.Designer.cs
index cebc39b..5f645cf 100644
--- a/CleanFlashUninstaller/UninstallForm.Designer.cs
+++ b/CleanFlashUninstaller/UninstallForm.Designer.cs
@@ -41,6 +41,7 @@ namespace CleanFlashUninstaller {
this.completeLabel = new System.Windows.Forms.LinkLabel();
this.failurePanel = new System.Windows.Forms.Panel();
this.copyErrorButton = new CleanFlashCommon.GradientButton();
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.InstallForm_FormClosing);
this.failureBox = new System.Windows.Forms.TextBox();
this.failureText = new System.Windows.Forms.Label();
this.nextButton = new CleanFlashCommon.GradientButton();
@@ -242,6 +243,7 @@ namespace CleanFlashUninstaller {
//
// prevButton
//
+ prevButton.TabStop = false;
this.prevButton.BackColor = System.Drawing.Color.Black;
this.prevButton.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(118)))), ((int)(((byte)(118)))));
this.prevButton.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(81)))), ((int)(((byte)(81)))));
diff --git a/CleanFlashUninstaller/UninstallForm.cs b/CleanFlashUninstaller/UninstallForm.cs
index c3c5db5..99ef991 100644
--- a/CleanFlashUninstaller/UninstallForm.cs
+++ b/CleanFlashUninstaller/UninstallForm.cs
@@ -121,5 +121,36 @@ namespace CleanFlashUninstaller {
Clipboard.SetText(failureBox.Text);
MessageBox.Show("Copied error message to clipboard!", "Clean Flash Installer", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
+
+ // note: copy pasted from installer; todo: single F for both
+ private void InstallForm_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ bool v1 = true;
+ // if installing
+ // note: msgbox not pauses the process
+ if (installPanel.Visible)
+ {
+ if (v1)
+ {
+ // hardlock, only force quit process
+ // follows current design since Back button is disabled
+ MessageBox.Show("Please, wait until process end", "Clean Flash Installer", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ e.Cancel = true;
+ }
+ else
+ // soft alternative, expert mode, todo: better warning of consequences
+ if (MessageBox.Show("Are you sure you want to interrupt the process ?", "Clean Flash Installer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
+ {
+ e.Cancel = true;
+ }
+ else
+ {
+ // use cases ?
+ // uninstall, currently not implemented
+ }
+
+ //todo: same for uninstaller: share same F
+ }
+ }
}
}
From 7d9acb493aafe4b1a439683ca7a6ea95edcfa0a3 Mon Sep 17 00:00:00 2001
From: r3sus <49620111+r3sus@users.noreply.github.com>
Date: Thu, 9 Mar 2023 19:47:44 +0300
Subject: [PATCH 5/5] add MyPal
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index d10c800..8b2ddc2 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ To keep using Flash Player on **Mozilla Firefox**, install [**Waterfox Classic**
- [Otter Browser](https://otter-browser.org)
- [roytam's XP-compatible browser builds](http://rtfreesoft.blogspot.com)
- [Portable old browser versions (guide)](https://www.raymond.cc/blog/how-to-enable-flash-support-in-firefox-portable)
+- [Mypal 29.3.0](https://www.mypal-browser.org/download.html)