Skip to content

Commit

Permalink
Major update to v16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hellzerg committed Oct 21, 2023
1 parent 51427d1 commit ea93ebf
Show file tree
Hide file tree
Showing 44 changed files with 1,233 additions and 669 deletions.
1 change: 1 addition & 0 deletions AUTOMATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ To automate a range of operations using a provided template, follow these steps:
- `UnlockAllCores`: Leave `null` or `false`.
- `DisableHPET`: Enable or disable High Precision Event Timer.
- `EnableLoginVerbose`: Enable or disable Detailed Login Screen.
- `RemoveMicrosoftEdge`: If `true` removes entirely Microsoft Edge. Cannot be reverted!

#### SvchostProcessSplitting
- Mark `true` to reduce svchost.exe processes for optimal memory.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [16.1] - 2023-10-21
- Hotfix: 'Reinforce policies' issues resolved (#401, #402)
- New: Completely 'Remove Microsoft Edge' option in Advanced Tweaks (cannot be reverted!)
- New: Selective tweaks for "Optimize Performance" and "Enhance Privacy" (#393, #374)

## [16.0] - 2023-10-14
- Hotfix: 'Reinforce policies' crash resolved (#400)

Expand Down
3 changes: 3 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ The decision to disable System Restore is up to you. Keep in mind that disabling
### **Should I disable Print Service or Fax Service?**
If you actively use printer and/or fax devices, it's advisable not to disable these services. Disabling them might hinder your ability to use these devices effectively.

### **My Windows Hello stopped working! Why?**
You should reset the "Enhance Privacy" and restart your computer.

### **I cannot log in to Xbox Live! Why?**
If you're facing login issues with Xbox Live, follow these steps to troubleshoot:

Expand Down
6 changes: 4 additions & 2 deletions Optimizer/CoreHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ internal static class CoreHelper
ScriptsFolder + "GPEditEnablerInHome.bat",
ScriptsFolder + "AddOpenWithCMD.reg",
ScriptsFolder + "RestoreClassicPhotoViewer.reg",
ScriptsFolder + "DisableClassicPhotoViewer.reg"
ScriptsFolder + "DisableClassicPhotoViewer.reg",
ScriptsFolder + "RemoveEdge.bat"
};

readonly static string[] scriptFiles =
Expand All @@ -65,7 +66,8 @@ internal static class CoreHelper
Properties.Resources.GPEditEnablerInHome,
Properties.Resources.AddOpenWithCMD,
Properties.Resources.RestoreClassicPhotoViewer,
Properties.Resources.DisableClassicPhotoViewer
Properties.Resources.DisableClassicPhotoViewer,
Properties.Resources.RemoveEdge
};

internal static void Deploy()
Expand Down
371 changes: 224 additions & 147 deletions Optimizer/Forms/MainForm.Designer.cs

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions Optimizer/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public sealed partial class MainForm : Form
string _repairMessage = "Are you sure you want to reset configuration?\n\nThis will reset all your preferences, including any icons you extracted or downloaded using Integrator, but will not touch anything on your computer!";
string _flushDNSMessage = "Are you sure you wish to flush the DNS cache of Windows?\n\nThis will cause internet disconnection for a moment and it may be needed a restart to function properly.";
string _uwpRestoreMessage = "Are you sure you want to do this?";
string _reinforcePoliciesMessage = "Are you sure you want to re-apply your current policies?";
string _reinforcePoliciesMessage = "Are you sure you want to re-apply your current active policies?";
string _removeEdgeMessage = "Are you sure you want to remove Microsoft Edge? You cannot revert it later.";

string _byteSizeNullString = " b";
string _primaryItemTag = "_primary";
Expand Down Expand Up @@ -2183,6 +2184,7 @@ private void Translate(bool skipFull = false)
_uwpRestoreMessage = OptionsHelper.TranslationList["restoreUwpMessage"];
_reinforcePoliciesMessage = OptionsHelper.TranslationList["msgReinforce"];
_flushDNSMessage = OptionsHelper.TranslationList["flushDNSMessage"];
_removeEdgeMessage = OptionsHelper.TranslationList["msgRemoveEdge"];

listStartupItems.Columns[0].Text = translationList["startupItemName"];
listStartupItems.Columns[1].Text = translationList["startupItemLocation"];
Expand Down Expand Up @@ -3368,7 +3370,7 @@ private void toggleSwitch1_Click(object sender, EventArgs e)
{
if (performanceSw.ToggleChecked)
{
OptimizeHelper.EnablePerformanceTweaks();
OptimizeHelper.EnablePerformanceTweaks(chkAllTrayIcons.Checked, chkMenuDelays.Checked);
}
else
{
Expand Down Expand Up @@ -3642,7 +3644,7 @@ private void toggleSwitch21_Click(object sender, EventArgs e)
{
if (privacySw.ToggleChecked)
{
Task t = new Task(() => OptimizeHelper.EnhancePrivacy());
Task t = new Task(() => OptimizeHelper.EnhancePrivacy(chkNewsInterest.Checked));
t.Start();
}
else
Expand Down Expand Up @@ -5053,5 +5055,13 @@ private void btnReinforce_Click(object sender, EventArgs e)
Application.Restart();
}
}

private void btnRemoveEdge_Click(object sender, EventArgs e)
{
if (MessageBox.Show(_removeEdgeMessage, "Optimizer", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
OptimizeHelper.RemoveMicrosoftEdge();
}
}
}
}
Loading

0 comments on commit ea93ebf

Please sign in to comment.