Compare commits

..

No commits in common. "master" and "0.43.30" have entirely different histories.

48 changed files with 250 additions and 505 deletions

View file

@ -1 +1 @@
0.60.0
0.43.0

View file

@ -19,7 +19,7 @@ namespace Privatezilla.Locales {
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Locale {
@ -733,7 +733,7 @@ namespace Privatezilla.Locales {
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Remove pre-installed bloatware apps ONLY ähnelt.
/// Sucht eine lokalisierte Zeichenfolge, die Remove all built-in apps except defaults ähnelt.
/// </summary>
internal static string settingsBloatwareRemoveUWPDefaults {
get {
@ -742,7 +742,7 @@ namespace Privatezilla.Locales {
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die This will search and remove pre-installed bloatware apps fully automatically.\nThe matching takes place on the basis of a community list ähnelt.
/// Sucht eine lokalisierte Zeichenfolge, die This will remove all built-in apps except the following:\nMicrosoft Store\nApp Installer\nCalendar\nMail\nCalculator\nCamera\nSkype\nGroove Music\nMaps\nPaint 3D\nYour Phone\nPhotos\nSticky Notes\nWeather\nXbox ähnelt.
/// </summary>
internal static string settingsBloatwareRemoveUWPDefaultsInfo {
get {
@ -1255,7 +1255,7 @@ namespace Privatezilla.Locales {
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die The Inventory Collector inventories applications files devices and drivers on the system and sends the information to Microsoft. This information is used to help diagnose compatibility problems.\nNote: This setting has no effect if the Customer Experience Improvement Program is turned off. The Inventory Collector will be off. ähnelt.
/// Sucht eine lokalisierte Zeichenfolge, die The Inventory Collector inventories applications files devices and drivers on the system and sends the information to Microsoft. This information is used to help diagnose compatibility problems.\nNote: This setting setting has no effect if the Customer Experience Improvement Program is turned off. The Inventory Collector will be off. ähnelt.
/// </summary>
internal static string settingsPrivacyInventoryCollectorInfo {
get {

View file

@ -158,8 +158,8 @@
<data name="helpApp" xml:space="preserve">
<value>Info zu einer Einstellung: \r\nBewegen Sie den Cursor über eine Einstellung, um eine kurze Erläuterung anzuzeigen
\r\nAnalyse (Button): Bestimmt, welche Einstellungen auf Ihrem System aktiviert und konfiguriert werden oder nicht. Es werden noche KEINE Systemänderungen vorgenommen!
\r\nAusgewähltes anwenden (Button): Dies wird alle ausgewählten Einstellungen aktivieren.
\r\nAusgewähltes zurücksetzen (Button): Damit werden die Standardeinstellungen für Windows 10 wiederhergestellt.
\r\nAusgewählte (Button): Dies wird alle ausgewählten Einstellungen aktivieren.
\r\nAusgewählte zurücksetzen (Button): Damit werden die Standardeinstellungen für Windows 10 wiederhergestellt.
\r\nKonfiguriert (Zustand): Dies gibt an, dass Ihre Privatsphäre geschützt ist.
\r\nNicht konfiguriert (Zustand): Dies bedeutet, dass die Windows 10-Einstellungen vorhanden sind.</value>
<comment>Main menu</comment>
@ -378,10 +378,10 @@ Sie können mir außerdem folgen auf
<value>Dadurch werden alle integrierten Apps, außer der Microsoft Store, entfernt.</value>
</data>
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
<value>Nur vorinstallierte Bloatware Apps entfernen</value>
<value>Alle integrierten Apps, außer Standard-Apps, entfernen</value>
</data>
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
<value>Der Abgleich findet anhand einer Community Liste statt</value>
<value>Dadurch werden alle integrierten Apps, außer folgenden, entfernt:\nMicrosoft Store\nApp Installer\nKalender\nMail\nRechner\nKamera\nSkype\nGroove Music\nKarte\n3D Paint\nIhr Telefon\nFotos\nNotizen\nWetter\nXbox</value>
</data>
<data name="settingsCortanaDisableBing" xml:space="preserve">
<value>Bing in Windows-Suche deaktivieren</value>

View file

@ -411,11 +411,11 @@ Add translation credits here!</comment>
<comment>Settings &gt; Bloatware</comment>
</data>
<data name="settingsBloatwareRemoveUWPDefaults" xml:space="preserve">
<value>Remove pre-installed bloatware apps ONLY</value>
<value>Remove all built-in apps except defaults</value>
<comment>Settings &gt; Bloatware</comment>
</data>
<data name="settingsBloatwareRemoveUWPDefaultsInfo" xml:space="preserve">
<value>This will search and remove pre-installed bloatware apps fully automatically.\nThe matching takes place on the basis of a community list</value>
<value>This will remove all built-in apps except the following:\nMicrosoft Store\nApp Installer\nCalendar\nMail\nCalculator\nCamera\nSkype\nGroove Music\nMaps\nPaint 3D\nYour Phone\nPhotos\nSticky Notes\nWeather\nXbox</value>
<comment>Settings &gt; Bloatware</comment>
</data>
<data name="settingsCortanaDisableBing" xml:space="preserve">

View file

@ -30,6 +30,7 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
this.TvwSettings = new System.Windows.Forms.TreeView();
this.LblMainMenu = new System.Windows.Forms.Button();
this.MainMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.Help = new System.Windows.Forms.ToolStripMenuItem();
@ -39,7 +40,6 @@
this.PnlNav = new System.Windows.Forms.Panel();
this.LblPS = new System.Windows.Forms.LinkLabel();
this.LblSettings = new System.Windows.Forms.LinkLabel();
this.TvwSettings = new System.Windows.Forms.TreeView();
this.LstPS = new System.Windows.Forms.CheckedListBox();
this.PnlSettings = new System.Windows.Forms.Panel();
this.assetOpenGitHub = new System.Windows.Forms.PictureBox();
@ -73,6 +73,20 @@
this.PnlSettingsBottom.SuspendLayout();
this.SuspendLayout();
//
// TvwSettings
//
resources.ApplyResources(this.TvwSettings, "TvwSettings");
this.TvwSettings.BackColor = System.Drawing.Color.WhiteSmoke;
this.TvwSettings.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.TvwSettings.CheckBoxes = true;
this.TvwSettings.LineColor = System.Drawing.Color.DarkOrchid;
this.TvwSettings.Name = "TvwSettings";
this.TvwSettings.ShowLines = false;
this.TvwSettings.ShowNodeToolTips = true;
this.TvwSettings.ShowPlusMinus = false;
this.TvwSettings.TabStop = false;
this.TvwSettings.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.TvwSetting_AfterCheck);
//
// LblMainMenu
//
resources.ApplyResources(this.LblMainMenu, "LblMainMenu");
@ -156,20 +170,6 @@
this.LblSettings.VisitedLinkColor = System.Drawing.Color.DimGray;
this.LblSettings.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LblSettings_LinkClicked);
//
// TvwSettings
//
resources.ApplyResources(this.TvwSettings, "TvwSettings");
this.TvwSettings.BackColor = System.Drawing.Color.WhiteSmoke;
this.TvwSettings.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.TvwSettings.CheckBoxes = true;
this.TvwSettings.LineColor = System.Drawing.Color.DarkOrchid;
this.TvwSettings.Name = "TvwSettings";
this.TvwSettings.ShowLines = false;
this.TvwSettings.ShowNodeToolTips = true;
this.TvwSettings.ShowPlusMinus = false;
this.TvwSettings.TabStop = false;
this.TvwSettings.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.TvwSetting_AfterCheck);
//
// LstPS
//
resources.ApplyResources(this.LstPS, "LstPS");
@ -411,6 +411,7 @@
}
#endregion
private System.Windows.Forms.TreeView TvwSettings;
private System.Windows.Forms.Button LblMainMenu;
private System.Windows.Forms.ContextMenuStrip MainMenu;
private System.Windows.Forms.ToolStripMenuItem Info;
@ -421,7 +422,12 @@
private System.Windows.Forms.LinkLabel LblPS;
private System.Windows.Forms.CheckedListBox LstPS;
private System.Windows.Forms.Panel PnlSettings;
private System.Windows.Forms.ListView LvwStatus;
private System.Windows.Forms.ColumnHeader Setting;
private System.Windows.Forms.ColumnHeader State;
private System.Windows.Forms.Button BtnSettingsUndo;
private System.Windows.Forms.ProgressBar PBar;
private System.Windows.Forms.Label LblStatus;
private System.Windows.Forms.Button BtnSettingsDo;
private System.Windows.Forms.Button BtnSettingsAnalyze;
private System.Windows.Forms.Panel PnlPS;
@ -439,12 +445,6 @@
private System.Windows.Forms.Panel PnlSettingsBottom;
private System.Windows.Forms.Button BtnDoPS;
private System.Windows.Forms.CheckBox ChkCodePS;
private System.Windows.Forms.TreeView TvwSettings;
private System.Windows.Forms.ProgressBar PBar;
private System.Windows.Forms.ListView LvwStatus;
private System.Windows.Forms.ColumnHeader Setting;
private System.Windows.Forms.ColumnHeader State;
private System.Windows.Forms.Label LblStatus;
}
}

View file

@ -12,6 +12,9 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Globalization;
using System.Threading;
namespace Privatezilla
{
public partial class MainWindow : Form
@ -91,18 +94,6 @@ namespace Privatezilla
State.Text = Locale.columnState; // State column
}
private void AutoAdjustScreensize()
{
var screen = Screen.FromControl(this);
var screenSize = screen.Bounds.Size;
if (Width > screenSize.Width)
Width = screenSize.Width;
if (Height > screenSize.Height)
Height = screenSize.Height - 30; //Height -30 because of the Windows Task bar
}
public MainWindow()
{
// Uncomment lower line and add lang code to run localization test
@ -121,9 +112,6 @@ namespace Privatezilla
// GUI localization
Globalization();
//Adjust to current screensize if window is too big
AutoAdjustScreensize();
}
public void InitializeSettings()
@ -296,7 +284,6 @@ namespace Privatezilla
LvwStatus.Refresh();
}
private void IncrementProgress()
{
_progress += _progressIncrement;
@ -383,15 +370,17 @@ namespace Privatezilla
state.Tag = setting;
LvwStatus.Items.Add(state);
IncrementProgress();
}
DoProgress(100);
// Summary
var sum = (Locale.summarySelected + " " + $"{selectedSettings.Count}" + " - " + Locale.summaryConfigured + " " + $"{selectedSettings.Count - performSettingsCount}" + " - " + Locale.summaryNotConfigured + " " + $"{performSettingsCount}");
LblStatus.Text = Locale.statusFinishAnalyze + "\n" + sum;
ListViewItem sum = new ListViewItem(Locale.summarySelected + " " + $"{selectedSettings.Count}" + " | " + Locale.summaryConfigured + " " + $"{selectedSettings.Count - performSettingsCount}" + " | " + Locale.summaryNotConfigured + " " + $"{performSettingsCount}");
sum.SubItems.Add(Locale.summaryInfo);
LvwStatus.Items.Insert(0, sum);
LblStatus.Text = Locale.statusFinishAnalyze;
BtnSettingsAnalyze.Enabled = true;
LvwStatus.EndUpdate();
@ -504,7 +493,7 @@ namespace Privatezilla
private void Info_Click(object sender, EventArgs e)
{
MessageBox.Show("Privatezilla" + "\nVersion " + Program.GetCurrentVersionTostring() + " (Pollux)\r\n" +
MessageBox.Show("Privatezilla" + "\nVersion " + Program.GetCurrentVersionTostring() + " (Phoenix)\r\n" +
Locale.infoApp.Replace("\\t", "\t"), "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
@ -700,7 +689,6 @@ namespace Privatezilla
try
{
File.Copy(fileName, strDestPath + @"\" + Path.GetFileName(fileName));
File.Delete(fileName);
}
catch (Exception ex)
{ MessageBox.Show(ex.Message, this.Text); }

View file

@ -117,15 +117,42 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="TvwSettings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="TvwSettings.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semilight, 12pt</value>
</data>
<data name="TvwSettings.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 88</value>
</data>
<data name="TvwSettings.Size" type="System.Drawing.Size, System.Drawing">
<value>355, 746</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="TvwSettings.TabIndex" type="System.Int32, mscorlib">
<value>18</value>
</data>
<data name="&gt;&gt;TvwSettings.Name" xml:space="preserve">
<value>TvwSettings</value>
</data>
<data name="&gt;&gt;TvwSettings.Type" xml:space="preserve">
<value>System.Windows.Forms.TreeView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;TvwSettings.Parent" xml:space="preserve">
<value>PnlNav</value>
</data>
<data name="&gt;&gt;TvwSettings.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="LblMainMenu.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="LblMainMenu.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="LblMainMenu.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe MDL2 Assets, 12pt, style=Bold</value>
</data>
@ -156,15 +183,6 @@
<data name="MainMenu.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 14.25pt</value>
</data>
<data name="MainMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>271, 116</value>
</data>
<data name="&gt;&gt;MainMenu.Name" xml:space="preserve">
<value>MainMenu</value>
</data>
<data name="&gt;&gt;MainMenu.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Help.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12.75pt</value>
</data>
@ -209,6 +227,15 @@
<data name="Info.Text" xml:space="preserve">
<value>Info</value>
</data>
<data name="MainMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>271, 116</value>
</data>
<data name="&gt;&gt;MainMenu.Name" xml:space="preserve">
<value>MainMenu</value>
</data>
<data name="&gt;&gt;MainMenu.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<metadata name="PnlNav.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -281,33 +308,6 @@
<data name="&gt;&gt;LblSettings.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="TvwSettings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left</value>
</data>
<data name="TvwSettings.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semilight, 12pt</value>
</data>
<data name="TvwSettings.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 88</value>
</data>
<data name="TvwSettings.Size" type="System.Drawing.Size, System.Drawing">
<value>355, 746</value>
</data>
<data name="TvwSettings.TabIndex" type="System.Int32, mscorlib">
<value>18</value>
</data>
<data name="&gt;&gt;TvwSettings.Name" xml:space="preserve">
<value>TvwSettings</value>
</data>
<data name="&gt;&gt;TvwSettings.Type" xml:space="preserve">
<value>System.Windows.Forms.TreeView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;TvwSettings.Parent" xml:space="preserve">
<value>PnlNav</value>
</data>
<data name="&gt;&gt;TvwSettings.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="LstPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
@ -365,6 +365,39 @@
<data name="PnlSettings.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="assetOpenGitHub.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="assetOpenGitHub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAiJJREFUSEvd
lU1r1FAYheMHSgUVVyIIBVvQYW5SsG66c9GFqC0qfiG69leoWXRyb6R2oRuhIH6s9AeI+/6CopaRYSY3
Yy2CUHRh3RnPHc9M7k0npLPUB14m855z3klykzve/0127c0eLdQF7atn2perqE3WaurL54mQN4yH9tHA
gFkM+oTKKqqdBmqOsWoyL9uF0D3Ub2tIVRnvkslyTDk6kIuF8AilHnHMcMyluoFoRgt5Gcdrbr9X7VSo
6526mnL70XmOc8nOhnthaNlm0zPa55mlsa6Iz2BdjpjSQeN0e1odtnLWD8jmx3q4z2gO3SCaLxizTm1h
nHIpHdE4WswNXXTc+5cFY8ucOeVSNqbDA8ZrZ/H4vqCcA+GDY/KjS5Qq4ToNsqj3lHJg+mabWpPhIUqV
GK+dRW1SykHzh21qnowPUqrELLidRW1RykHTuUVpEF2lVEkSqJt2Fu9Dh1IOhFeuSa5jHU5RLkWLuAbv
hp1F7jXlHC2iK7aJ9TP11X08+ydoG9AVDydSIR/As1XIZHgBb9OWY14OiH8fNyEX8Pm2H0A9oW0AesUr
7tfX1uTj/bS5pCK6CIPZuH6tB/FxfH+H4++61jhGy4B0StU50Clk7tAynMRXcc/oR5KtofT+KwrDceXL
lTuqMSS+VAytIbRCaRv2cJzQ0/7etSOSQJ5DsGnCbG2Dw7/gsbzF1mhkXri7dPsFuJ13d7Jf/ct43h8o
1jKqDLJlDQAAAABJRU5ErkJggg==
</value>
</data>
<data name="assetOpenGitHub.Location" type="System.Drawing.Point, System.Drawing">
<value>681, 7</value>
</data>
<data name="assetOpenGitHub.Size" type="System.Drawing.Size, System.Drawing">
<value>24, 24</value>
</data>
<data name="assetOpenGitHub.TabIndex" type="System.Int32, mscorlib">
<value>32</value>
</data>
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>229, 19</value>
</metadata>
<data name="assetOpenGitHub.ToolTip" xml:space="preserve">
<value>Open @github.com/builtbybel/privatezilla</value>
</data>
<data name="&gt;&gt;assetOpenGitHub.Name" xml:space="preserve">
<value>assetOpenGitHub</value>
</data>
@ -377,6 +410,21 @@
<data name="&gt;&gt;assetOpenGitHub.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="PBar.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="PBar.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 41</value>
</data>
<data name="PBar.Size" type="System.Drawing.Size, System.Drawing">
<value>814, 5</value>
</data>
<data name="PBar.TabIndex" type="System.Int32, mscorlib">
<value>27</value>
</data>
<data name="PBar.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;PBar.Name" xml:space="preserve">
<value>PBar</value>
</data>
@ -389,6 +437,33 @@
<data name="&gt;&gt;PBar.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="LvwStatus.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="Setting.Text" xml:space="preserve">
<value>Setting</value>
</data>
<data name="Setting.Width" type="System.Int32, mscorlib">
<value>550</value>
</data>
<data name="State.Text" xml:space="preserve">
<value>State</value>
</data>
<data name="State.Width" type="System.Int32, mscorlib">
<value>150</value>
</data>
<data name="LvwStatus.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semilight, 12pt</value>
</data>
<data name="LvwStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 50</value>
</data>
<data name="LvwStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>704, 720</value>
</data>
<data name="LvwStatus.TabIndex" type="System.Int32, mscorlib">
<value>31</value>
</data>
<data name="&gt;&gt;LvwStatus.Name" xml:space="preserve">
<value>LvwStatus</value>
</data>
@ -401,6 +476,24 @@
<data name="&gt;&gt;LvwStatus.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="LblStatus.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="LblStatus.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semibold, 12pt, style=Bold</value>
</data>
<data name="LblStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 7</value>
</data>
<data name="LblStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>704, 40</value>
</data>
<data name="LblStatus.TabIndex" type="System.Int32, mscorlib">
<value>29</value>
</data>
<data name="LblStatus.Text" xml:space="preserve">
<value>Press Analyze to check for configured settings.</value>
</data>
<data name="&gt;&gt;LblStatus.Name" xml:space="preserve">
<value>LblStatus</value>
</data>
@ -434,153 +527,6 @@
<data name="&gt;&gt;PnlSettings.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>229, 19</value>
</metadata>
<data name="assetOpenGitHub.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="assetOpenGitHub.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABGdBTUEAALGPC/xhBQAAAiJJREFUSEvd
lU1r1FAYheMHSgUVVyIIBVvQYW5SsG66c9GFqC0qfiG69leoWXRyb6R2oRuhIH6s9AeI+/6CopaRYSY3
Yy2CUHRh3RnPHc9M7k0npLPUB14m855z3klykzve/0127c0eLdQF7atn2perqE3WaurL54mQN4yH9tHA
gFkM+oTKKqqdBmqOsWoyL9uF0D3Ub2tIVRnvkslyTDk6kIuF8AilHnHMcMyluoFoRgt5Gcdrbr9X7VSo
6526mnL70XmOc8nOhnthaNlm0zPa55mlsa6Iz2BdjpjSQeN0e1odtnLWD8jmx3q4z2gO3SCaLxizTm1h
nHIpHdE4WswNXXTc+5cFY8ucOeVSNqbDA8ZrZ/H4vqCcA+GDY/KjS5Qq4ToNsqj3lHJg+mabWpPhIUqV
GK+dRW1SykHzh21qnowPUqrELLidRW1RykHTuUVpEF2lVEkSqJt2Fu9Dh1IOhFeuSa5jHU5RLkWLuAbv
hp1F7jXlHC2iK7aJ9TP11X08+ydoG9AVDydSIR/As1XIZHgBb9OWY14OiH8fNyEX8Pm2H0A9oW0AesUr
7tfX1uTj/bS5pCK6CIPZuH6tB/FxfH+H4++61jhGy4B0StU50Clk7tAynMRXcc/oR5KtofT+KwrDceXL
lTuqMSS+VAytIbRCaRv2cJzQ0/7etSOSQJ5DsGnCbG2Dw7/gsbzF1mhkXri7dPsFuJ13d7Jf/ct43h8o
1jKqDLJlDQAAAABJRU5ErkJggg==
</value>
</data>
<data name="assetOpenGitHub.Location" type="System.Drawing.Point, System.Drawing">
<value>681, 7</value>
</data>
<data name="assetOpenGitHub.Size" type="System.Drawing.Size, System.Drawing">
<value>24, 24</value>
</data>
<data name="assetOpenGitHub.TabIndex" type="System.Int32, mscorlib">
<value>32</value>
</data>
<data name="assetOpenGitHub.ToolTip" xml:space="preserve">
<value>Open @github.com/builtbybel/privatezilla</value>
</data>
<data name="&gt;&gt;assetOpenGitHub.Name" xml:space="preserve">
<value>assetOpenGitHub</value>
</data>
<data name="&gt;&gt;assetOpenGitHub.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;assetOpenGitHub.Parent" xml:space="preserve">
<value>PnlSettings</value>
</data>
<data name="&gt;&gt;assetOpenGitHub.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="PBar.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="PBar.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="PBar.Location" type="System.Drawing.Point, System.Drawing">
<value>13, 54</value>
</data>
<data name="PBar.Size" type="System.Drawing.Size, System.Drawing">
<value>702, 5</value>
</data>
<data name="PBar.TabIndex" type="System.Int32, mscorlib">
<value>27</value>
</data>
<data name="PBar.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;PBar.Name" xml:space="preserve">
<value>PBar</value>
</data>
<data name="&gt;&gt;PBar.Type" xml:space="preserve">
<value>System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;PBar.Parent" xml:space="preserve">
<value>PnlSettings</value>
</data>
<data name="&gt;&gt;PBar.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="LvwStatus.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="LvwStatus.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semilight, 12pt</value>
</data>
<data name="LvwStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 62</value>
</data>
<data name="LvwStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>704, 708</value>
</data>
<data name="LvwStatus.TabIndex" type="System.Int32, mscorlib">
<value>31</value>
</data>
<data name="&gt;&gt;LvwStatus.Name" xml:space="preserve">
<value>LvwStatus</value>
</data>
<data name="&gt;&gt;LvwStatus.Type" xml:space="preserve">
<value>System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;LvwStatus.Parent" xml:space="preserve">
<value>PnlSettings</value>
</data>
<data name="&gt;&gt;LvwStatus.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="Setting.Text" xml:space="preserve">
<value>Setting</value>
</data>
<data name="Setting.Width" type="System.Int32, mscorlib">
<value>550</value>
</data>
<data name="State.Text" xml:space="preserve">
<value>State</value>
</data>
<data name="State.Width" type="System.Int32, mscorlib">
<value>150</value>
</data>
<data name="LblStatus.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="LblStatus.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI Semibold, 12pt, style=Bold</value>
</data>
<data name="LblStatus.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="LblStatus.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 7</value>
</data>
<data name="LblStatus.Size" type="System.Drawing.Size, System.Drawing">
<value>704, 50</value>
</data>
<data name="LblStatus.TabIndex" type="System.Int32, mscorlib">
<value>29</value>
</data>
<data name="LblStatus.Text" xml:space="preserve">
<value>Press Analyze to check for configured settings.</value>
</data>
<data name="&gt;&gt;LblStatus.Name" xml:space="preserve">
<value>LblStatus</value>
</data>
<data name="&gt;&gt;LblStatus.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;LblStatus.Parent" xml:space="preserve">
<value>PnlSettings</value>
</data>
<data name="&gt;&gt;LblStatus.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="BtnSettingsUndo.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
</data>
@ -683,78 +629,6 @@
<data name="PnlPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="&gt;&gt;BtnMenuPS.Name" xml:space="preserve">
<value>BtnMenuPS</value>
</data>
<data name="&gt;&gt;BtnMenuPS.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;BtnMenuPS.Parent" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;BtnMenuPS.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;LblPSHeader.Name" xml:space="preserve">
<value>LblPSHeader</value>
</data>
<data name="&gt;&gt;LblPSHeader.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;LblPSHeader.Parent" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;LblPSHeader.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="&gt;&gt;TxtConsolePS.Name" xml:space="preserve">
<value>TxtConsolePS</value>
</data>
<data name="&gt;&gt;TxtConsolePS.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;TxtConsolePS.Parent" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;TxtConsolePS.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="&gt;&gt;TxtPSInfo.Name" xml:space="preserve">
<value>TxtPSInfo</value>
</data>
<data name="&gt;&gt;TxtPSInfo.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;TxtPSInfo.Parent" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;TxtPSInfo.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="PnlPS.Location" type="System.Drawing.Point, System.Drawing">
<value>366, 0</value>
</data>
<data name="PnlPS.Size" type="System.Drawing.Size, System.Drawing">
<value>716, 773</value>
</data>
<data name="PnlPS.TabIndex" type="System.Int32, mscorlib">
<value>113</value>
</data>
<data name="PnlPS.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;PnlPS.Name" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;PnlPS.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;PnlPS.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;PnlPS.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="BtnMenuPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
@ -903,21 +777,36 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
<data name="&gt;&gt;TxtPSInfo.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="PnlPS.Location" type="System.Drawing.Point, System.Drawing">
<value>366, 0</value>
</data>
<data name="PnlPS.Size" type="System.Drawing.Size, System.Drawing">
<value>716, 773</value>
</data>
<data name="PnlPS.TabIndex" type="System.Int32, mscorlib">
<value>113</value>
</data>
<data name="PnlPS.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;PnlPS.Name" xml:space="preserve">
<value>PnlPS</value>
</data>
<data name="&gt;&gt;PnlPS.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;PnlPS.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;PnlPS.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<metadata name="PSMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 19</value>
</metadata>
<data name="PSMenu.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 14.25pt, style=Bold</value>
</data>
<data name="PSMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>353, 82</value>
</data>
<data name="&gt;&gt;PSMenu.Name" xml:space="preserve">
<value>PSMenu</value>
</data>
<data name="&gt;&gt;PSMenu.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="PSImport.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12pt</value>
</data>
@ -962,56 +851,14 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
<data name="PSMarketplace.Text" xml:space="preserve">
<value>Visit Marketplace</value>
</data>
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>229, 19</value>
</metadata>
<data name="&gt;&gt;BtnDoPS.Name" xml:space="preserve">
<value>BtnDoPS</value>
<data name="PSMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>353, 82</value>
</data>
<data name="&gt;&gt;BtnDoPS.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;PSMenu.Name" xml:space="preserve">
<value>PSMenu</value>
</data>
<data name="&gt;&gt;BtnDoPS.Parent" xml:space="preserve">
<value>PnlSettingsBottom</value>
</data>
<data name="&gt;&gt;BtnDoPS.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="&gt;&gt;ChkCodePS.Name" xml:space="preserve">
<value>ChkCodePS</value>
</data>
<data name="&gt;&gt;ChkCodePS.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;ChkCodePS.Parent" xml:space="preserve">
<value>PnlSettingsBottom</value>
</data>
<data name="&gt;&gt;ChkCodePS.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="PnlSettingsBottom.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Bottom</value>
</data>
<data name="PnlSettingsBottom.Location" type="System.Drawing.Point, System.Drawing">
<value>367, 779</value>
</data>
<data name="PnlSettingsBottom.Size" type="System.Drawing.Size, System.Drawing">
<value>716, 58</value>
</data>
<data name="PnlSettingsBottom.TabIndex" type="System.Int32, mscorlib">
<value>114</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Name" xml:space="preserve">
<value>PnlSettingsBottom</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.ZOrder" xml:space="preserve">
<value>2</value>
<data name="&gt;&gt;PSMenu.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="BtnDoPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
@ -1094,6 +941,30 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
<data name="&gt;&gt;ChkCodePS.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="PnlSettingsBottom.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Bottom</value>
</data>
<data name="PnlSettingsBottom.Location" type="System.Drawing.Point, System.Drawing">
<value>367, 779</value>
</data>
<data name="PnlSettingsBottom.Size" type="System.Drawing.Size, System.Drawing">
<value>716, 58</value>
</data>
<data name="PnlSettingsBottom.TabIndex" type="System.Int32, mscorlib">
<value>114</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Name" xml:space="preserve">
<value>PnlSettingsBottom</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;PnlSettingsBottom.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View file

@ -95,7 +95,6 @@
<Compile Include="Settings\Apps\FileSystem.cs" />
<Compile Include="Settings\Apps\EyeGaze.cs" />
<Compile Include="Settings\Bloatware\RemoveUWPDefaults.cs" />
<Compile Include="Settings\Bloatware\UWPAppsEngine.cs" />
<Compile Include="Settings\Defender\DisableSmartScreenStore.cs" />
<Compile Include="Settings\Edge\BlockEdgeRollout.cs" />
<Compile Include="Settings\Privacy\DisableCEIP.cs" />
@ -155,7 +154,6 @@
<Compile Include="Settings\Cortana\DisableCortana.cs" />
<Compile Include="Helpers\SetttingsBase.cs" />
<Compile Include="Settings\Privacy\DisableTelemetry.cs" />
<EmbeddedResource Include="Locales\Locale.ar.resx" />
<EmbeddedResource Include="Locales\Locale.de.resx" />
<EmbeddedResource Include="Locales\Locale.fr.resx" />
<EmbeddedResource Include="Locales\Locale.it.resx" />

View file

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.60.0")]
[assembly: AssemblyFileVersion("0.60.0")]
[assembly: AssemblyVersion("0.43.0")]
[assembly: AssemblyFileVersion("0.43.0")]

View file

@ -2,15 +2,11 @@
using System.Management.Automation;
using System.IO;
using Privatezilla.Locales;
using System.Linq;
using System.Text.RegularExpressions;
namespace Privatezilla.Setting.Bloatware
{
internal class RemoveUWPDefaults : SettingBase
{
private readonly PowerShell powerShell = PowerShell.Create();
public override string ID()
{
return Locale.settingsBloatwareRemoveUWPDefaults;
@ -21,45 +17,34 @@ namespace Privatezilla.Setting.Bloatware
return Locale.settingsBloatwareRemoveUWPDefaultsInfo.Replace("\\n", "\n");
}
private void RemoveApps(string str)
{
using (PowerShell script = PowerShell.Create())
{
script.AddScript("Get-AppxPackage " + str + " | Remove-AppxPackage");
script.Invoke();
}
return;
}
public override bool CheckSetting()
{
var apps = BloatwareList.GetList();
// NOTE! OPTIMIZE
// Check if app Windows.Photos exists and return false as configured
var appPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Packages", "Microsoft.Windows.Photos_8wekyb3d8bbwe");
powerShell.Commands.Clear();
powerShell.AddCommand("get-appxpackage");
powerShell.AddCommand("Select").AddParameter("property", "name");
foreach (PSObject result in powerShell.Invoke())
if (Directory.Exists(appPath))
{
string current = result.ToString();
if (!apps.Contains(Regex.Replace(current, "(@{Name=)|(})", ""))) continue;
return false;
}
return true;
}
public override bool DoSetting()
{
var apps = BloatwareList.GetList();
foreach (var str in apps)
using (PowerShell script = PowerShell.Create())
{
RemoveApps(str);
script.AddScript("Get-appxprovisionedpackage online | where-object {$_.packagename notlike “*store*” -and $_.packagename notlike “*appinstaller*” -and $_.packagename notlike “*calculator*” -and $_.packagename notlike “*photos*” -and $_.packagename notlike “*sticky*” -and $_.packagename notlike “*skypeapp*” -and $_.packagename notlike “*alarms*” -and $_.packagename notlike “*maps*” -and $_.packagename notlike “*camera*” -and $_.packagename notlike “*xbox*” -and $_.packagename notlike “*communicationssapps*” -and $_.packagename notlike “*zunemusic*” -and $_.packagename notlike “*mspaint*” -and $_.packagename notlike “*yourphone*” -and $_.packagename notlike “*bingweather*”} | Remove-AppxProvisionedPackage online");
script.AddScript("Get-AppxPackage | where-object {$_.name notlike “*store*” -and $_.name notlike “*appinstaller*” -and $_.name notlike “*calculator*” -and $_.name notlike “*photos*” -and $_.name notlike “*sticky*” -and $_.name notlike “*skypeapp*” -and $_.name notlike“*alarms*” -and $_.name notlike “*maps*” -and $_.name notlike “*camera*” -and $_.name notlike “*xbox*” -and $_.name notlike “*communicationssapps*” -and $_.name notlike “*zunemusic*” -and $_.name notlike “*mspaint*” -and $_.name notlike “*yourphone*” -and $_.name notlike “*bingweather*”} | Remove-AppxPackage");
try
{
script.Invoke();
}
catch
{ }
}
return true;

View file

@ -1,49 +0,0 @@
using System.Collections.Generic;
namespace Privatezilla.Setting.Bloatware
{
public static class BloatwareList
{
// Our Windows 10 bloatware list
public static IEnumerable<string> GetList()
{
var apps = new List<string>
{
"2FE3CB00.PICSART-PHOTOSTUDIO",
"4DF9E0F8.Netflix",
"5319275A.WhatsAppDesktop",
"9E2F88E3.TWITTER",
"AdobeSystemsIncorporated.AdobeLightroom",
"AdobeSystemsIncorporated.AdobePhotoshopExpress",
"Clipchamp.Clipchamp_yxz26nhyzhsrt",
"CorelCorporation.PaintShopPro",
"FACEBOOK.317180B0BB486",
"Facebook.InstagramBeta",
"Microsoft.549981C3F5F10",
"Microsoft.BingNews",
"Microsoft.BingWeather",
"Microsoft.GamingApp",
"Microsoft.Getstarted",
"Microsoft.Microsoft3DViewer",
"Microsoft.MicrosoftOfficeHub",
"Microsoft.MicrosoftSolitaireCollection",
"Microsoft.MicrosoftStickyNotes",
"Microsoft.MixedReality.Portal",
"Microsoft.Office.OneNote",
"Microsoft.OneConnect",
"Microsoft.People",
"Microsoft.Print3D",
"Microsoft.SkypeApp",
"Microsoft.Wallet",
"Microsoft.WindowsSoundRecorder",
"NAVER.LINEwin8_8ptj331gd3tyt",
"SpotifyAB.SpotifyMusic",
"king.com.CandyCrushFriends",
"king.com.CandyCrushSaga",
"king.com.FarmHeroesSaga",
};
return apps;
}
}
}

View file

@ -23,7 +23,7 @@ namespace Privatezilla.Setting.Updates
public override bool CheckSetting()
{
return !(
RegistryHelper.IntEquals(NoAutoUpdate, "NoAutoUpdate", 1) &&
RegistryHelper.IntEquals(NoAutoUpdate, "NoAutoUpdate",0) &&
RegistryHelper.IntEquals(AUOptions, "AUOptions", 2) &&
RegistryHelper.IntEquals(ScheduledInstallDay, "ScheduledInstallDay", 0) &&
RegistryHelper.IntEquals(ScheduledInstallTime, "ScheduledInstallTime", 3)
@ -34,7 +34,7 @@ namespace Privatezilla.Setting.Updates
{
try
{
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 1, RegistryValueKind.DWord);
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 0, RegistryValueKind.DWord);
Registry.SetValue(AUOptions, "AUOptions", 2, RegistryValueKind.DWord);
Registry.SetValue(ScheduledInstallDay, "ScheduledInstallDay", 0, RegistryValueKind.DWord);
Registry.SetValue(ScheduledInstallTime, "ScheduledInstallTime", 3, RegistryValueKind.DWord);
@ -50,7 +50,7 @@ namespace Privatezilla.Setting.Updates
{
try
{
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 0, RegistryValueKind.DWord);
Registry.SetValue(NoAutoUpdate, "NoAutoUpdate", 1, RegistryValueKind.DWord);
var RegKey = Registry.LocalMachine.OpenSubKey(@"Software\Policies\Microsoft\Windows\WindowsUpdate\AU", true);
RegKey.DeleteValue("AUOptions");
@ -60,9 +60,10 @@ namespace Privatezilla.Setting.Updates
return true;
}
catch
{ }
{}
return false;
}
}
}

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>

View file

@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View file

@ -1 +0,0 @@
1a1bafef70b1d00957f204ba49e660dd26d0bb72

View file

@ -1,38 +0,0 @@
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\Privatezilla.exe.config
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\Privatezilla.exe
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\Privatezilla.pdb
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\ar\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\de\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\fr\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\it\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\tr\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\es\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\ru\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\zh\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\bin\Debug\System.Management.Automation.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.MainWindow.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Properties.Resources.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.ar.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.de.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.fr.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.it.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.tr.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.es.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.ru.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.Locales.Locale.zh.resources
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.csproj.GenerateResource.cache
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.csproj.CoreCompileInputs.cache
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\ar\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\de\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\fr\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\it\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\tr\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\es\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\ru\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\zh\Privatezilla.resources.dll
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.csproj.CopyComplete
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.exe
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.pdb
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.csproj.AssemblyReference.cache
C:\Users\Belim\Desktop\Privatezilla\Privatezilla\obj\Debug\Privatezilla.csproj.SuggestedBindingRedirects.cache