فهرست منبع

Updated to v10.5

deadmoon 3 سال پیش
والد
کامیت
8a020b67c6

+ 1 - 1
Optimizer/MainForm.cs

@@ -1005,7 +1005,7 @@ namespace Optimizer
 
         private void Main_Load(object sender, EventArgs e)
         {
-
+            
         }
 
         private void GetDesktopItems()

+ 3 - 0
Optimizer/Optimize.cs

@@ -54,6 +54,9 @@ namespace Optimizer
 
         internal static void EnablePerformanceTweaks()
         {
+            // add Open with CMD option
+            Utilities.ImportRegistryScript(Required.ScriptsFolder + "AddOpenWithCMD.reg");
+
             // enable auto-complete in Run Dialog 
             Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete", "Append Completion", "yes", RegistryValueKind.String);
             Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete", "AutoSuggest", "yes", RegistryValueKind.String);

+ 1 - 0
Optimizer/Optimizer.csproj

@@ -243,6 +243,7 @@
       <DependentUpon>Settings.settings</DependentUpon>
       <DesignTimeSharedInput>True</DesignTimeSharedInput>
     </Compile>
+    <None Include="Resources\AddOpenWithCMD.reg" />
     <None Include="Resources\DE.json" />
     <None Include="Resources\DesktopShortcuts.reg" />
     <None Include="Resources\DisableDefenderSafeMode1903Plus.bat" />

+ 1 - 1
Optimizer/Program.cs

@@ -12,7 +12,7 @@ namespace Optimizer
         /* DO NOT LEAVE THEM EMPTY */
 
         internal readonly static float Major = 10;
-        internal readonly static float Minor = 4;
+        internal readonly static float Minor = 5;
 
         internal readonly static bool EXPERIMENTAL_BUILD = false;
 

+ 47 - 18
Optimizer/Properties/Resources.Designer.cs

@@ -60,6 +60,33 @@ namespace Optimizer.Properties {
             }
         }
         
+        /// <summary>
+        ///   Looks up a localized string similar to Windows Registry Editor Version 5.00
+        ///
+        ///[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD]
+        ///@=&quot;Open Command Prompt here&quot;
+        ///&quot;Icon&quot;=&quot;cmd.exe&quot;
+        ///&quot;NoWorkingDirectory&quot;=&quot;&quot;
+        ///
+        ///[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD\command]
+        ///@=&quot;cmd.exe /s /k pushd \&quot;%V\&quot;&quot;
+        ///
+        ///[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD]
+        ///@=&quot;Open Command Prompt here&quot;
+        ///&quot;Icon&quot;=&quot;cmd.exe&quot;
+        ///&quot;NoWorkingDirectory&quot;=&quot;&quot;
+        ///
+        ///[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD\command]
+        ///@=&quot;cmd.exe /s /k pushd \&quot;%V\&quot;&quot;
+        ///
+        ///[HKEY_CLASSES_ROOT\D [rest of string was truncated]&quot;;.
+        /// </summary>
+        internal static string AddOpenWithCMD {
+            get {
+                return ResourceManager.GetString("AddOpenWithCMD", resourceCulture);
+            }
+        }
+        
         /// <summary>
         ///   Looks up a localized string similar to {
         ///	&quot;btnAbout&quot;: &quot;OK&quot;,
@@ -133,7 +160,7 @@ namespace Optimizer.Properties {
         ///&quot;xlsolution&quot;=dword:00000001
         /// 
         ///[HKEY_CURRENT_USER\Software\Policies\microsoft\office\16.0\osm\preventedsolutiontypes]
-        ///&quot;agave&quot;=dword:0000000 [rest of string was truncated]&quot;;.
+        ///&quot;agave&quot; [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string DisableOfficeTelemetry {
             get {
@@ -160,7 +187,7 @@ namespace Optimizer.Properties {
         ///schtasks /end /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\BthSQM&quot;
         ///schtasks /change /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\BthSQM&quot; /disable
         ///schtasks /end /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask&quot;
-        ///schtasks /change /tn &quot;\Microsoft\Windo [rest of string was truncated]&quot;;.
+        ///schtasks /change /tn &quot;\Microsoft\ [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string DisableTelemetryTasks {
             get {
@@ -269,7 +296,7 @@ namespace Optimizer.Properties {
         ///schtasks /change /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask&quot; /enable
         ///schtasks /change /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip&quot; /enable
         ///schtasks /change /tn &quot;\Microsoft\Windows\Customer Experience Improvement Program\Uploader&quot; /enable
-        ///schtasks / [rest of string was truncated]&quot;;.
+        ///schta [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string EnableTelemetryTasks {
             get {
@@ -299,8 +326,9 @@ namespace Optimizer.Properties {
         ///	&quot;txtBitness&quot;: &quot;Estas trabajando con {BITS}&quot;,
         ///	&quot;linkUpdate&quot;: &quot;Actualización disponible&quot;,
         ///	&quot;lblLab&quot;: &quot;Lamzamiento experimental\n(eliminar después de la prueba)&quot;,
+        ///	&quot;CleanPreviewForm&quot;: &quot;Vista Previa Limpia&quot;,
         ///	&quot;performanceSw&quot;: &quot;Habilitar ajustes de rendimiento&quot;,
-        ///	&quot;networkSw&quot;: &quot;Deshabilitar la limitación de la r [rest of string was truncated]&quot;;.
+        ///	&quot;ne [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string ES {
             get {
@@ -326,16 +354,16 @@ namespace Optimizer.Properties {
         /// <summary>
         ///   Looks up a localized string similar to {
         ///	&quot;btnAbout&quot;: &quot;OK&quot;,
-        ///	&quot;restartButton&quot;: &quot;Appliquer &amp;&amp; Redmarrer&quot;,
-        ///	&quot;restartButton8&quot;: &quot;Appliquer &amp;&amp; Redmarrer&quot;,
-        ///	&quot;restartButton10&quot;: &quot;Appliquer &amp;&amp; Redmarrer&quot;,
-        ///	&quot;restartAndApply&quot;: &quot;Redmarrer pour appliquer les changements?&quot;,
+        ///	&quot;restartButton&quot;: &quot;Appliquer &amp;&amp; Redemarrer&quot;,
+        ///	&quot;restartButton8&quot;: &quot;Appliquer &amp;&amp; Redemarrer&quot;,
+        ///	&quot;restartButton10&quot;: &quot;Appliquer &amp;&amp; Redemarrer&quot;,
+        ///	&quot;restartAndApply&quot;: &quot;Redemarrer pour appliquer les changements?&quot;,
         ///	&quot;txtVersion&quot;: &quot;Version: {VN}&quot;,
         ///	&quot;txtBitness&quot;: &quot;Vous travaillez avec {BITS}&quot;,
-        ///	&quot;linkUpdate&quot;: &quot;Mise  jour disponible&quot;,
-        ///	&quot;lblLab&quot;: &quot;build Experimental\n(supprimer apr�s avoir test�)&quot;,
-        ///	&quot;performanceSw&quot;: &quot;Activer les Tweaks de Performance&quot;,
-        ///	&quot;networkSw&quot;: &quot;D�sactiver la limitatio [rest of string was truncated]&quot;;.
+        ///	&quot;linkUpdate&quot;: &quot;Mise a jour disponible&quot;,
+        ///	&quot;CleanPreviewForm&quot;: &quot;Nettoyer L&apos;aperçu&quot;,
+        ///	&quot;lblLab&quot;: &quot;build Experimental\n(supprimer apres avoir teste)&quot;,
+        ///	&quot;performanceSw&quot;: &quot;Activer les Tweaks de Performanc [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string FR {
             get {
@@ -383,7 +411,7 @@ namespace Optimizer.Properties {
         ///&quot;NoWorkingDirectory&quot;=&quot;&quot;
         ///
         ///[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
-        ///@=&quot;cmd.exe /c takeown /f \&quot;%1\&quot; /r /d y &amp;&amp; icacls \&quot;% [rest of string was truncated]&quot;;.
+        ///@=&quot;cmd.exe /c takeown /f \&quot;%1\&quot; /r /d  [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string InstallTakeOwnership {
             get {
@@ -429,12 +457,12 @@ namespace Optimizer.Properties {
         ///	&quot;restartButton8&quot;: &quot;Aplicar e reiniciar&quot;,
         ///	&quot;restartButton10&quot;: &quot;Aplicar e reiniciar&quot;,
         ///	&quot;restartAndApply&quot;: &quot;Reiniciar para aplicar as alterações?&quot;,
+        ///	&quot;CleanPreviewForm&quot;: &quot;Antevisão Limpa&quot;,
         ///	&quot;txtVersion&quot;: &quot;Versão: {VN}&quot;,
         ///	&quot;txtBitness&quot;: &quot;A arquitetura do seu computador é de {BITS}.&quot;,
         ///	&quot;linkUpdate&quot;: &quot;Nova atualização disponível&quot;,
         ///	&quot;lblLab&quot;: &quot;Experimentar nova implementação\n(deletar após teste)&quot;,
-        ///	&quot;performanceSw&quot;: &quot;Habilitar ajustes de desempenho&quot;,
-        ///	&quot;networkSw&quot;: &quot;Desativar limitaç [rest of string was truncated]&quot;;.
+        ///	&quot;performanceSw&quot;: &quot;Habilitar ajustes de desem [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string PT {
             get {
@@ -466,10 +494,10 @@ namespace Optimizer.Properties {
         ///	&quot;restartAndApply&quot;: &quot;перезагрузить, чтобы изменения вступили в силу?&quot;,
         ///	&quot;txtVersion&quot;: &quot;Версия: {VN}&quot;,
         ///	&quot;txtBitness&quot;: &quot;Вы работаете с {BITS}&quot;,
+        ///	&quot;CleanPreviewForm&quot;: &quot;Чистый предварительный просмотр&quot;,
         ///	&quot;linkUpdate&quot;: &quot;обновление доступно&quot;,
         ///	&quot;lblLab&quot;: &quot;экспериментальная сборка\n(удалить после тестирования)&quot;,
-        ///	&quot;performanceSw&quot;: &quot;Вкл Настройки производительности&quot;,
-        ///	&quot;networkSw&quot;: &quot;Отключить Сетевое  [rest of string was truncated]&quot;;.
+        ///	&quot;performanceSw&quot;: &quot;Вкл Настройк [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string RU {
             get {
@@ -529,10 +557,11 @@ namespace Optimizer.Properties {
         ///	&quot;restartAndApply&quot;: &quot;Değişiklikleri uygulamak için yeniden başlatılsın mı?&quot;,
         ///	&quot;txtVersion&quot;: &quot;Versiyon: {VN}&quot;,
         ///	&quot;txtBitness&quot;: &quot;{BITS} ile çalışıyor.&quot;,
+        ///	&quot;CleanPreviewForm&quot;: &quot;Temiz Önizleme&quot;,
         ///	&quot;linkUpdate&quot;: &quot;Güncelleme Mevcut&quot;,
         ///	&quot;lblLab&quot;: &quot;Deneysel Yapı\n(Testten sonra silin)&quot;,
         ///	&quot;performanceSw&quot;: &quot;Performans Ayarlarını Etkinleştir&quot;,
-        ///	&quot;networkSw&quot;: &quot;Ağ Kısıtlamasını Devre Dışı Bıra [rest of string was truncated]&quot;;.
+        ///	&quot;netwo [rest of string was truncated]&quot;;.
         /// </summary>
         internal static string TR {
             get {

+ 3 - 0
Optimizer/Properties/Resources.resx

@@ -202,4 +202,7 @@
   <data name="FR" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\Resources\FR.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
   </data>
+  <data name="AddOpenWithCMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\Resources\AddOpenWithCMD.reg;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
+  </data>
 </root>

+ 5 - 3
Optimizer/Required.cs

@@ -20,7 +20,7 @@ namespace Optimizer
             ReadyMadeMenusFolder + "SystemTools.reg",
             ReadyMadeMenusFolder + "WindowsApps.reg",
             ReadyMadeMenusFolder + "InstallTakeOwnership.reg",
-            ReadyMadeMenusFolder + "RemoveTakeOwnership.reg"
+            ReadyMadeMenusFolder + "RemoveTakeOwnership.reg",
         };
 
         readonly static string[] readyMadeMenusFiles =
@@ -46,7 +46,8 @@ namespace Optimizer
             ScriptsFolder + "EnableXboxTasks.bat",
             ScriptsFolder + "OneDrive_Uninstaller.cmd",
             ScriptsFolder + "GPEditEnablerInHome.bat",
-            ScriptsFolder + "FlushDNSCache.bat"
+            ScriptsFolder + "FlushDNSCache.bat",
+            ScriptsFolder + "AddOpenWithCMD.reg"
         };
 
         readonly static string[] scriptFiles =
@@ -61,7 +62,8 @@ namespace Optimizer
             Properties.Resources.EnableXboxTasks,
             Encoding.UTF8.GetString(Properties.Resources.OneDrive_Uninstaller),
             Properties.Resources.GPEditEnablerInHome,
-            Properties.Resources.FlushDNSCache
+            Properties.Resources.FlushDNSCache,
+            Properties.Resources.AddOpenWithCMD
         };
 
         internal static void Deploy()

+ 25 - 0
Optimizer/Resources/AddOpenWithCMD.reg

@@ -0,0 +1,25 @@
+Windows Registry Editor Version 5.00
+
+[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD]
+@="Open Command Prompt here"
+"Icon"="cmd.exe"
+"NoWorkingDirectory"=""
+
+[HKEY_CLASSES_ROOT\Directory\shell\OpenWithCMD\command]
+@="cmd.exe /s /k pushd \"%V\""
+
+[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD]
+@="Open Command Prompt here"
+"Icon"="cmd.exe"
+"NoWorkingDirectory"=""
+
+[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWithCMD\command]
+@="cmd.exe /s /k pushd \"%V\""
+
+[HKEY_CLASSES_ROOT\Drive\shell\OpenWithCMD]
+@="Open Command Prompt here"
+"Icon"="cmd.exe"
+"NoWorkingDirectory"=""
+
+[HKEY_CLASSES_ROOT\Drive\shell\OpenWithCMD\command]
+@="cmd.exe /s /k pushd \"%V\""

+ 4 - 4
README.md

@@ -10,7 +10,7 @@ Optimizer is recommended after a fresh, clean installation of Windows to achieve
 
 Depending on your version of Windows, Optimizer will also allow you to perform some specific tweaks.
 <p align="center">
-	<a href="https://github.com/hellzerg/optimizer/releases/download/10.4/Optimizer-10.4.exe" target="_blank">
+	<a href="https://github.com/hellzerg/optimizer/releases/download/10.5/Optimizer-10.5.exe" target="_blank">
 		<img src="download-button.png">
 		<br>
 		<img src="flags.png">
@@ -80,6 +80,6 @@ https://github.com/hellzerg/optimizer/blob/master/FEED.md
 
 ## Details: ##
 
-* Latest version: 10.4
-* Released: October 29, 2021
-* SHA256: C3533267A4815C2E6D1F92469C43ACAB3744194457B1288870F6467AE124A298
+* Latest version: 10.5
+* Released: November 14, 2021
+* SHA256: 1F1287855E47C9222872D67D376C11F6BFA5600C32EEFAE9FFE0FB6D1A68246A

+ 1 - 1
version.txt

@@ -1 +1 @@
-10.4
+10.5