Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
-added disable defrag & re
Greedeksd9527a0b57af
diff --git a/.Source/GTweak/Assets/DrawingImages/Other.xaml b/.Source/GTweak/Assets/DrawingImages/Other.xamlindex 6dea0240..a2d113de 100644--- a/.Source/GTweak/Assets/DrawingImages/Other.xaml+++ b/.Source/GTweak/Assets/DrawingImages/Other.xaml@@ -372,6 +372,18 @@</DrawingImage.Drawing></DrawingImage>+ <DrawingImage x:Key="DI_Defrag">+ <DrawingImage.Drawing>+ <DrawingGroup ClipGeometry="M0,0 V60 H60 V0 H0 Z">+ <DrawingGroup Opacity="1">+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M60,60z M0,0z M6.332031,9.523438C6.425781,9.523438 6.519531,9.523438 6.617188,9.519531 6.929688,9.519531 7.238281,9.519531 7.550781,9.523438 7.773438,9.523438 8,9.519531 8.222656,9.519531 8.832031,9.515625 9.4375,9.515625 10.046875,9.519531 10.679688,9.519531 11.316406,9.519531 11.953125,9.519531 13.019531,9.515625 14.085938,9.519531 15.152344,9.523438 16.386719,9.523438 17.621094,9.523438 18.855469,9.519531 19.914062,9.519531 20.976562,9.515625 22.035156,9.519531 22.667969,9.519531 23.300781,9.519531 23.933594,9.519531 24.527344,9.515625 25.121094,9.519531 25.71875,9.519531 25.9375,9.523438 26.152344,9.523438 26.371094,9.519531 26.671875,9.519531 26.96875,9.519531 27.265625,9.523438 27.394531,9.523438 27.394531,9.523438 27.527344,9.519531 27.984375,9.527344 28.1875,9.589844 28.554688,9.875 28.796875,10.195312 28.875,10.3125 28.871094,10.703125 28.871094,10.800781 28.875,10.898438 28.875,11 28.871094,11.101562 28.871094,11.207031 28.867188,11.316406 28.867188,11.480469 28.867188,11.480469 28.867188,11.652344 28.867188,12.019531 28.863281,12.386719 28.859375,12.753906 28.859375,13.007812 28.855469,13.261719 28.855469,13.515625 28.855469,14.1875 28.847656,14.855469 28.839844,15.527344 28.835938,16.210938 28.832031,16.894531 28.828125,17.578125 28.824219,18.917969 28.8125,20.257812 28.800781,21.601562 28.941406,21.597656 29.082031,21.597656 29.230469,21.597656 30.5625,21.582031 31.894531,21.574219 33.226562,21.570312 33.914062,21.566406 34.597656,21.5625 35.285156,21.554688 35.945312,21.546875 36.605469,21.542969 37.269531,21.542969 37.519531,21.542969 37.773438,21.539062 38.023438,21.535156 38.378906,21.53125 38.730469,21.53125 39.085938,21.53125 39.191406,21.53125 39.292969,21.527344 39.402344,21.523438 39.898438,21.53125 40.140625,21.5625 40.566406,21.839844 40.867188,22.300781 40.878906,22.671875 40.867188,23.203125 40.867188,23.304688 40.867188,23.402344 40.867188,23.507812 40.867188,23.835938 40.863281,24.160156 40.859375,24.488281 40.859375,24.71875 40.855469,24.945312 40.855469,25.171875 40.855469,25.773438 40.847656,26.371094 40.839844,26.96875 40.835938,27.582031 40.832031,28.191406 40.828125,28.804688 40.824219,30.003906 40.8125,31.203125 40.800781,32.398438 40.96875,32.398438 40.96875,32.398438 41.136719,32.394531 42.1875,32.382812 43.238281,32.375 44.289062,32.367188 44.828125,32.367188 45.371094,32.363281 45.910156,32.355469 46.429688,32.347656 46.953125,32.34375 47.472656,32.34375 47.671875,32.34375 47.871094,32.339844 48.070312,32.335938 48.347656,32.332031 48.628906,32.332031 48.90625,32.332031 49.027344,32.328125 49.027344,32.328125 49.152344,32.324219 49.578125,32.328125 49.78125,32.386719 50.121094,32.648438 50.472656,33.09375 50.476562,33.324219 50.476562,33.886719 50.476562,33.976562 50.476562,34.066406 50.480469,34.15625 50.480469,34.449219 50.480469,34.746094 50.476562,35.042969 50.476562,35.253906 50.480469,35.464844 50.480469,35.675781 50.484375,36.253906 50.484375,36.828125 50.480469,37.402344 50.480469,38.003906 50.480469,38.605469 50.480469,39.207031 50.484375,40.21875 50.480469,41.230469 50.476562,42.242188 50.476562,43.410156 50.476562,44.578125 50.480469,45.746094 50.480469,46.75 50.484375,47.753906 50.480469,48.757812 50.480469,49.355469 50.480469,49.957031 50.480469,50.554688 50.484375,51.117188 50.480469,51.679688 50.480469,52.246094 50.476562,52.453125 50.476562,52.660156 50.480469,52.867188 50.480469,53.148438 50.480469,53.429688 50.476562,53.710938 50.476562,53.871094 50.476562,54.027344 50.476562,54.191406 50.378906,54.714844 50.210938,54.867188 49.800781,55.199219 49.441406,55.273438 49.441406,55.273438 49.035156,55.277344 48.878906,55.277344 48.722656,55.277344 48.5625,55.28125 48.390625,55.277344 48.21875,55.277344 48.046875,55.277344 47.863281,55.277344 47.679688,55.277344 47.496094,55.277344 46.992188,55.28125 46.488281,55.28125 45.984375,55.277344 45.441406,55.277344 44.898438,55.277344 44.355469,55.28125 43.292969,55.285156 42.226562,55.28125 41.164062,55.28125 40.300781,55.28125 39.433594,55.28125 38.570312,55.28125 38.445312,55.28125 38.324219,55.28125 38.195312,55.28125 37.945312,55.28125 37.699219,55.28125 37.449219,55.28125 35.105469,55.28125 32.761719,55.28125 30.417969,55.277344 28.40625,55.273438 26.394531,55.277344 24.382812,55.277344 22.046875,55.28125 19.710938,55.28125 17.378906,55.28125 17.128906,55.28125 16.878906,55.28125 16.628906,55.28125 16.507812,55.28125 16.386719,55.28125 16.257812,55.28125 15.394531,55.28125 14.53125,55.28125 13.667969,55.28125 12.617188,55.285156 11.5625,55.28125 10.511719,55.28125 9.972656,55.277344 9.4375,55.277344 8.898438,55.28125 8.40625,55.28125 7.914062,55.28125 7.425781,55.277344 7.246094,55.277344 7.070312,55.277344 6.890625,55.277344 6.648438,55.28125 6.40625,55.277344 6.164062,55.277344 6.03125,55.277344 5.898438,55.273438 5.757812,55.273438 5.273438,55.171875 5.09375,54.996094 4.800781,54.601562 4.726562,54.242188 4.726562,54.242188 4.722656,53.835938 4.722656,53.679688 4.722656,53.523438 4.71875,53.363281 4.722656,53.191406 4.722656,53.019531 4.722656,52.847656 4.722656,52.664062 4.722656,52.480469 4.722656,52.296875 4.71875,51.792969 4.71875,51.289062 4.722656,50.785156 4.722656,50.242188 4.722656,49.699219 4.71875,49.15625 4.714844,48.09375 4.71875,47.027344 4.71875,45.964844 4.71875,45.097656 4.71875,44.234375 4.71875,43.371094 4.71875,43.246094 4.71875,43.125 4.71875,42.996094 4.71875,42.746094 4.71875,42.496094 4.71875,42.246094 4.71875,39.902344 4.71875,37.5625 4.722656,35.21875 4.726562,33.207031 4.722656,31.195312 4.722656,29.183594 4.71875,26.847656 4.71875,24.511719 4.71875,22.175781 4.71875,21.929688 4.71875,21.679688 4.71875,21.429688 4.71875,21.308594 4.71875,21.183594 4.71875,21.058594 4.71875,20.195312 4.71875,19.332031 4.71875,18.46875 4.714844,17.414062 4.71875,16.363281 4.71875,15.308594 4.722656,14.773438 4.722656,14.234375 4.71875,13.699219 4.71875,13.207031 4.71875,12.714844 4.722656,12.222656 4.722656,12.046875 4.722656,11.867188 4.722656,11.691406 4.71875,11.449219 4.722656,11.207031 4.722656,10.964844 4.722656,10.832031 4.726562,10.695312 4.726562,10.558594 4.910156,9.683594 5.535156,9.511719 6.332031,9.523438z M7.199219,12C7.199219,13.585938 7.199219,15.167969 7.199219,16.800781 8.167969,16.8125 8.167969,16.8125 9.15625,16.820312 9.566406,16.828125 9.972656,16.832031 10.382812,16.835938 11.03125,16.84375 11.679688,16.851562 12.328125,16.859375 12.851562,16.867188 13.375,16.871094 13.894531,16.878906 14.097656,16.878906 14.296875,16.882812 14.496094,16.886719 14.773438,16.886719 15.054688,16.890625 15.332031,16.894531 15.457031,16.894531 15.457031,16.894531 15.585938,16.898438 15.941406,16.902344 16.21875,16.925781 16.558594,17.039062 17.042969,18.484375 16.757812,20.078125 16.800781,21.601562 19.96875,21.601562 23.136719,21.601562 26.398438,21.601562 26.398438,18.433594 26.398438,15.265625 26.398438,12 20.0625,12 13.726562,12 7.199219,12z M7.199219,19.199219C7.199219,30.289062 7.199219,41.375 7.199219,52.800781 20.664062,52.800781 34.128906,52.800781 48,52.800781 48,50.425781 48,48.046875 48,45.601562 47.003906,45.597656 46.003906,45.59375 44.976562,45.589844 41.785156,45.582031 38.597656,45.570312 35.40625,45.558594 34.910156,45.558594 34.414062,45.558594 33.921875,45.554688 33.820312,45.554688 33.722656,45.554688 33.621094,45.554688 32.023438,45.550781 30.425781,45.542969 28.828125,45.539062 27.1875,45.535156 25.550781,45.527344 23.910156,45.523438 22.898438,45.519531 21.886719,45.515625 20.875,45.515625 20.183594,45.511719 19.492188,45.511719 18.796875,45.507812 18.398438,45.503906 17.996094,45.503906 17.597656,45.503906 17.164062,45.503906 16.730469,45.5 16.296875,45.5 16.105469,45.5 16.105469,45.5 15.910156,45.5 15.792969,45.496094 15.679688,45.496094 15.558594,45.496094 15.460938,45.496094 15.359375,45.496094 15.257812,45.496094 15,45.480469 15,45.480469 14.640625,45.359375 14.484375,44.898438 14.5,44.460938 14.5,43.976562 14.5,43.820312 14.5,43.820312 14.5,43.65625 14.496094,43.300781 14.496094,42.945312 14.496094,42.589844 14.496094,42.335938 14.492188,42.082031 14.492188,41.828125 14.488281,41.136719 14.484375,40.445312 14.484375,39.753906 14.480469,39.03125 14.476562,38.308594 14.472656,37.585938 14.46875,36.21875 14.464844,34.851562 14.457031,33.484375 14.453125,31.925781 14.445312,30.367188 14.4375,28.8125 14.425781,25.609375 14.414062,22.402344 14.398438,19.199219 12.023438,19.199219 9.648438,19.199219 7.199219,19.199219z M16.800781,24C16.800781,26.773438 16.800781,29.542969 16.800781,32.398438 23.929688,32.398438 31.054688,32.398438 38.398438,32.398438 38.398438,29.628906 38.398438,26.855469 38.398438,24 31.273438,24 24.144531,24 16.800781,24z M16.800781,34.800781C16.800781,37.570312 16.800781,40.34375 16.800781,43.199219 23.929688,43.199219 31.054688,43.199219 38.398438,43.199219 38.398438,40.429688 38.398438,37.65625 38.398438,34.800781 31.273438,34.800781 24.144531,34.800781 16.800781,34.800781z M40.800781,34.800781C40.800781,37.570312 40.800781,40.34375 40.800781,43.199219 43.175781,43.199219 45.550781,43.199219 48,43.199219 48,40.429688 48,37.65625 48,34.800781 45.625,34.800781 43.246094,34.800781 40.800781,34.800781z M40.800781,34.800781" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M60,60z M0,0z M44.996094,2.332031C45.785156,2.476562 46.519531,2.78125 47.265625,3.070312 47.449219,3.140625 47.636719,3.210938 47.820312,3.28125 48.308594,3.464844 48.792969,3.652344 49.28125,3.839844 49.765625,4.023438 50.25,4.210938 50.734375,4.394531 51.390625,4.644531 52.046875,4.894531 52.703125,5.144531 53.433594,5.425781 54.164062,5.703125 54.898438,5.972656 55.03125,6.023438 55.164062,6.074219 55.300781,6.125 55.542969,6.214844 55.785156,6.300781 56.027344,6.390625 57.320312,6.867188 57.320312,6.867188 57.636719,7.289062 57.871094,8.054688 57.652344,8.699219 57.375,9.410156 57.335938,9.503906 57.300781,9.597656 57.265625,9.695312 57.1875,9.890625 57.113281,10.085938 57.035156,10.28125 56.917969,10.582031 56.804688,10.882812 56.691406,11.183594 56.617188,11.375 56.539062,11.566406 56.464844,11.757812 56.433594,11.847656 56.398438,11.9375 56.363281,12.027344 56.152344,12.558594 55.964844,12.921875 55.441406,13.199219 54.402344,13.355469 53.492188,12.929688 52.539062,12.5625 52.359375,12.496094 52.183594,12.429688 52.003906,12.363281 51.535156,12.1875 51.0625,12.007812 50.59375,11.832031 50.128906,11.652344 49.664062,11.480469 49.199219,11.304688 48.558594,11.066406 47.921875,10.824219 47.285156,10.582031 46.585938,10.316406 45.882812,10.050781 45.179688,9.796875 44.855469,9.675781 44.53125,9.558594 44.207031,9.4375 43.984375,9.355469 43.761719,9.277344 43.539062,9.199219 43.40625,9.148438 43.273438,9.101562 43.136719,9.050781 43.019531,9.007812 42.902344,8.964844 42.785156,8.921875 42.410156,8.722656 42.230469,8.511719 42,8.160156 41.828125,7.152344 42.261719,6.265625 42.632812,5.347656 42.742188,5.078125 42.847656,4.808594 42.953125,4.539062 43.023438,4.363281 43.089844,4.191406 43.160156,4.019531 43.191406,3.9375 43.222656,3.859375 43.253906,3.777344 43.621094,2.886719 43.957031,2.265625 44.996094,2.332031z M45.480469,5.28125C45.378906,5.515625 45.28125,5.75 45.179688,5.984375 45.125,6.117188 45.070312,6.246094 45.011719,6.382812 44.867188,6.695312 44.867188,6.695312 44.878906,6.960938 44.984375,7 45.085938,7.035156 45.195312,7.078125 46.175781,7.441406 47.15625,7.804688 48.132812,8.167969 48.636719,8.355469 49.140625,8.542969 49.644531,8.730469 50.132812,8.910156 50.617188,9.089844 51.105469,9.269531 51.289062,9.339844 51.476562,9.40625 51.660156,9.476562 51.921875,9.574219 52.179688,9.667969 52.441406,9.765625 52.589844,9.820312 52.738281,9.875 52.890625,9.933594 53.132812,10.023438 53.371094,10.117188 53.609375,10.21875 53.886719,10.339844 53.886719,10.339844 54.238281,10.320312 54.4375,9.804688 54.636719,9.289062 54.839844,8.761719 53.886719,8.320312 52.914062,7.949219 51.933594,7.578125 51.757812,7.511719 51.585938,7.445312 51.410156,7.378906 51.042969,7.238281 50.679688,7.101562 50.316406,6.960938 49.847656,6.785156 49.378906,6.605469 48.910156,6.429688 48.550781,6.292969 48.191406,6.15625 47.828125,6.019531 47.65625,5.953125 47.484375,5.886719 47.3125,5.820312 47.070312,5.730469 46.832031,5.636719 46.589844,5.546875 46.453125,5.496094 46.316406,5.445312 46.175781,5.390625 45.84375,5.261719 45.84375,5.261719 45.480469,5.28125z M45.480469,5.28125" />+ <GeometryDrawing Brush="{DynamicResource Color_Accent}" Geometry="F1 M60,60z M0,0z M45.011719,11.917969C45.683594,12.074219 46.160156,12.5625 46.671875,12.996094 47.164062,13.402344 47.679688,13.78125 48.1875,14.167969 48.40625,14.335938 48.628906,14.503906 48.847656,14.671875 49.390625,15.085938 49.9375,15.496094 50.484375,15.902344 51.152344,16.402344 51.8125,16.910156 52.472656,17.414062 52.933594,17.765625 53.398438,18.121094 53.871094,18.46875 53.996094,18.558594 54.125,18.652344 54.253906,18.75 54.363281,18.828125 54.46875,18.90625 54.578125,18.984375 54.910156,19.257812 55.144531,19.5 55.273438,19.914062 55.335938,20.816406 54.835938,21.339844 54.277344,22.007812 54.066406,22.265625 53.863281,22.53125 53.664062,22.796875 53.417969,23.121094 53.167969,23.441406 52.921875,23.761719 52.828125,23.878906 52.738281,23.996094 52.644531,24.117188 52.558594,24.222656 52.472656,24.332031 52.386719,24.441406 52.3125,24.535156 52.238281,24.632812 52.164062,24.730469 51.835938,25.101562 51.617188,25.195312 51.128906,25.28125 50.355469,25.257812 49.886719,24.78125 49.3125,24.308594 48.847656,23.929688 48.367188,23.574219 47.886719,23.210938 47.667969,23.046875 47.449219,22.878906 47.226562,22.710938 46.691406,22.296875 46.152344,21.886719 45.613281,21.476562 45.40625,21.320312 45.195312,21.160156 44.988281,21.003906 44.441406,20.585938 43.894531,20.167969 43.347656,19.753906 43.175781,19.625 43.175781,19.625 43.003906,19.492188 42.785156,19.328125 42.566406,19.164062 42.351562,18.996094 42.074219,18.785156 41.796875,18.574219 41.519531,18.359375 41.445312,18.304688 41.371094,18.25 41.292969,18.191406 41.019531,17.980469 40.824219,17.816406 40.6875,17.496094 40.679688,17.410156 40.671875,17.324219 40.664062,17.234375 40.65625,17.148438 40.644531,17.066406 40.632812,16.976562 40.765625,16.136719 41.472656,15.390625 41.96875,14.730469 42.121094,14.527344 42.269531,14.328125 42.421875,14.125 42.492188,14.027344 42.566406,13.929688 42.640625,13.832031 42.972656,13.382812 43.292969,12.929688 43.613281,12.472656 44.011719,11.972656 44.40625,11.902344 45.011719,11.917969z M45,15C44.792969,15.25 44.589844,15.5 44.390625,15.757812 44.335938,15.828125 44.277344,15.898438 44.21875,15.972656 43.878906,16.398438 43.878906,16.398438 43.800781,16.921875 44.082031,17.15625 44.363281,17.375 44.664062,17.585938 44.839844,17.71875 45.019531,17.847656 45.199219,17.980469 45.289062,18.042969 45.375,18.109375 45.46875,18.175781 45.804688,18.421875 46.132812,18.675781 46.460938,18.929688 47.164062,19.472656 47.867188,20.011719 48.570312,20.550781 48.675781,20.632812 48.78125,20.710938 48.886719,20.796875 49.535156,21.289062 50.195312,21.753906 50.878906,22.199219 51.316406,21.644531 51.75,21.089844 52.199219,20.519531 51.820312,20.140625 51.507812,19.832031 51.089844,19.523438 50.992188,19.453125 50.894531,19.378906 50.796875,19.304688 50.695312,19.230469 50.59375,19.15625 50.488281,19.078125 50.273438,18.917969 50.058594,18.757812 49.839844,18.597656 49.734375,18.515625 49.625,18.4375 49.511719,18.355469 49.058594,18.015625 48.609375,17.671875 48.15625,17.324219 48.078125,17.261719 47.996094,17.199219 47.910156,17.136719 47.46875,16.796875 47.027344,16.457031 46.582031,16.117188 46.488281,16.042969 46.394531,15.972656 46.296875,15.894531 46.117188,15.757812 45.933594,15.617188 45.753906,15.476562 45.671875,15.414062 45.589844,15.351562 45.507812,15.285156 45.433594,15.230469 45.363281,15.175781 45.289062,15.117188 45.136719,14.988281 45.136719,14.988281 45,15z M45,15" />+ </DrawingGroup>+ </DrawingGroup>+ </DrawingImage.Drawing>+ </DrawingImage>+<DrawingImage x:Key="DI_Show"><DrawingImage.Drawing><DrawingGroup ClipGeometry="M0,0 V32 H32 V0 H0 Z">diff --git a/.Source/GTweak/GTweak.csproj b/.Source/GTweak/GTweak.csprojindex 39fe4e5b..46f0e9c0 100644--- a/.Source/GTweak/GTweak.csproj+++ b/.Source/GTweak/GTweak.csproj@@ -280,6 +280,7 @@<Compile Include="Utilities\Control\ViewNotification.cs" /><Compile Include="Utilities\Helpers\TrustedInstaller.cs" /><Compile Include="Utilities\Tweaks\ConfidentialityTweaks.cs" />+ <Compile Include="Utilities\Tweaks\Defragmentation.cs" /><Compile Include="Utilities\Tweaks\Firewall.cs" /><Compile Include="Utilities\Tweaks\InterfaceTweaks.cs" /><Compile Include="Utilities\Tweaks\ServicesTweaks.cs" />diff --git a/.Source/GTweak/Languages/en/Localize.xaml b/.Source/GTweak/Languages/en/Localize.xamlindex 0d45f5b1..ed84926f 100644--- a/.Source/GTweak/Languages/en/Localize.xaml+++ b/.Source/GTweak/Languages/en/Localize.xaml@@ -61,6 +61,9 @@<v:String x:Key="disable_recovery_notification">System recovery is disabled, recovery points are unavailable</v:String><v:String x:Key="warndisable_recovery_notification">You have already disabled the recovery system</v:String><v:String x:Key="warn_update_notification">An error occurred during the program update, please try again later</v:String>+ <v:String x:Key="warn_defrag_notification">You have already disabled disk defragmentation</v:String>+ <v:String x:Key="error_defrag_notification">Something went wrong, defragmentation could not be disabled.</v:String>+ <v:String x:Key="success_defrag_notification">Defragmentation has been successfully disabled for your drive</v:String><!--#endregion--><!--#region Main Window -->@@ -421,7 +424,9 @@<v:String x:Key="btntext_clear_more">Clear</v:String><v:String x:Key="title_disablepoint_more">Disable protection</v:String><v:String x:Key="text_disablepoint_more">Disables the system restore point, but note that previously created ones are deleted.</v:String>- <v:String x:Key="btntext_disablepoint_more">Disable</v:String>+ <v:String x:Key="btntext_disable_more">Disable</v:String>+ <v:String x:Key="title_defrag_more">Defragmentation</v:String>+ <v:String x:Key="text_defrag_more">Disables defragmentation, extending the life of your SSD, saving it from unnecessary writes.</v:String><!--#endregion--></ResourceDictionary>\ No newline at end of filediff --git a/.Source/GTweak/Languages/ru/Localize.xaml b/.Source/GTweak/Languages/ru/Localize.xamlindex 4e0b0e66..b2d076b4 100644--- a/.Source/GTweak/Languages/ru/Localize.xaml+++ b/.Source/GTweak/Languages/ru/Localize.xaml@@ -61,6 +61,9 @@<v:String x:Key="disable_recovery_notification">Восстановление системы отключено, точки восстановления недоступны</v:String><v:String x:Key="warndisable_recovery_notification">У вас уже отключена система восстановления</v:String><v:String x:Key="warn_update_notification">Во время обновления программы произошла ошибка, повторите попытку позже</v:String>+ <v:String x:Key="warn_defrag_notification">У вас уже отключена дефрагментация диска</v:String>+ <v:String x:Key="error_defrag_notification">Что то-то пошло не так, не удалось отключить дефрагментацию</v:String>+ <v:String x:Key="success_defrag_notification">Дефрагментация вашего диска успешно отключена</v:String><!--#endregion--><!--#region Main Window -->@@ -421,7 +424,9 @@<v:String x:Key="btntext_clear_more">Очистить</v:String><v:String x:Key="title_disablepoint_more">Отключить защиту</v:String><v:String x:Key="text_disablepoint_more">Отключает точку восстановления системы, но учтите что ранее созданные удаляются.</v:String>- <v:String x:Key="btntext_disablepoint_more">Отключить</v:String>+ <v:String x:Key="btntext_disable_more">Отключить</v:String>+ <v:String x:Key="title_defrag_more">Дефрагментация</v:String>+ <v:String x:Key="text_defrag_more">Отключает дефрагментацию, продлевая срок службы вашего SSD, избавляя его от лишних записи.</v:String><!--#endregion--></ResourceDictionary>\ No newline at end of filediff --git a/.Source/GTweak/Utilities/Helpers/INIManager.cs b/.Source/GTweak/Utilities/Helpers/INIManager.csindex d6e32d90..e25c1c59 100644--- a/.Source/GTweak/Utilities/Helpers/INIManager.cs+++ b/.Source/GTweak/Utilities/Helpers/INIManager.cs@@ -47,12 +47,12 @@ namespace GTweak.Utilities.HelpersWritePrivateProfileString(section, addKeyValue.Key, addKeyValue.Value, pathToConfig);}- internal static void TempWrite(Dictionary<string, string> selectedDictionary, string tweak, bool state)+ internal static void TempWrite<T>(Dictionary<string, string> selectedDictionary, string tweak, T value){if (selectedDictionary.ContainsKey(tweak))selectedDictionary.Remove(tweak);- selectedDictionary.Add(tweak, Convert.ToString(state));+ selectedDictionary.Add(tweak, value.ToString());}internal bool IsThereSection(string section)diff --git a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.csindex 4f53045a..19889eed 100644--- a/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/ConfidentialityTweaks.cs@@ -43,7 +43,7 @@ namespace GTweak.Utilities.Tweaks@"Microsoft\Office\OfficeTelemetryAgentLogOn",@"Microsoft\Office\Office 15 Subscription Heartbeat" };- internal void ViewСonfidentiality(ConfidentialityView confidentialityV)+ internal void AnalyzeAndUpdate(ConfidentialityView confidentialityV){confidentialityV.TglButton1.StateNA =RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo", "Enabled", "0") ||@@ -142,7 +142,7 @@ namespace GTweak.Utilities.Tweakscatch { return false; }}- internal static void UseСonfidentiality(string tweak, bool isChoose)+ internal static void ApplyTweaks(string tweak, bool isChoose){INIManager.TempWrite(INIManager.TempTweaksConf, tweak, isChoose);diff --git a/.Source/GTweak/Utilities/Tweaks/Defragmentation.cs b/.Source/GTweak/Utilities/Tweaks/Defragmentation.csnew file mode 100644index 00000000..2cda3b48--- /dev/null+++ b/.Source/GTweak/Utilities/Tweaks/Defragmentation.cs@@ -0,0 +1,29 @@+using GTweak.Utilities.Control;+using GTweak.Utilities.Helpers;+using Microsoft.Win32;+using System.Windows;++namespace GTweak.Utilities.Tweaks+{+ internal sealed class Defragmentation : TaskSchedulerManager+ {+ private readonly string[] task = { @"Microsoft\Windows\Defrag\ScheduledDefrag" };+ internal void Disable()+ {+ if (IsTaskEnabled(task))+ {+ try+ {+ SetTaskStateOwner(task, false);+ RegistryHelp.Write(Registry.LocalMachine, @"SYSTEM\CurrentControlSet\services\defragsvc", "Start", 4, RegistryValueKind.DWord);+ RegistryHelp.Write(Registry.LocalMachine, @"SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction", "Enable", "N", RegistryValueKind.String);++ new ViewNotification(300).Show("", "info", (string)Application.Current.Resources["success_defrag_notification"]);+ }+ catch { new ViewNotification(300).Show("", "warn", (string)Application.Current.Resources["error_defrag_notification"]); }+ }+ else+ new ViewNotification(300).Show("", "info", (string)Application.Current.Resources["warn_defrag_notification"]);+ }+ }+}diff --git a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.csindex baf282bf..def318e2 100644--- a/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/InterfaceTweaks.cs@@ -12,7 +12,7 @@ namespace GTweak.Utilities.Tweaks{internal sealed class InterfaceTweaks{- internal void ViewInterface(InterfaceView interfaceV)+ internal void AnalyzeAndUpdate(InterfaceView interfaceV){interfaceV.TglButton1.StateNA =RegistryHelp.CheckValue(@"HKEY_CURRENT_USER\Control Panel\Colors", "Hilight", "80 80 80") ||@@ -193,7 +193,7 @@ namespace GTweak.Utilities.Tweaks});}- internal static void UseInterface(string tweak, bool isChoose)+ internal static void ApplyTweaks(string tweak, bool isChoose){INIManager.TempWrite(INIManager.TempTweaksIntf, tweak, isChoose);diff --git a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.csindex 6112c948..1273f6fd 100644--- a/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/ServicesTweaks.cs@@ -36,7 +36,7 @@ namespace GTweak.Utilities.Tweaksreturn string.Concat(path, ProgramsUUP[program]);}- internal void ViewServices(ServicesView servicesV)+ internal void AnalyzeAndUpdate(ServicesView servicesV){servicesV.TglButton1.StateNA =RegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch", "Start", "4") ||@@ -199,7 +199,7 @@ namespace GTweak.Utilities.TweaksRegistryHelp.CheckValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmicvss", "Start", "4");}- internal static void UseServices(string tweak, bool isChoose)+ internal static void ApplyTweaks(string tweak, bool isChoose){INIManager.TempWrite(INIManager.TempTweaksSvc, tweak, isChoose);diff --git a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.csindex d345f93b..d94d87e3 100644--- a/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs+++ b/.Source/GTweak/Utilities/Tweaks/SystemTweaks.cs@@ -10,6 +10,7 @@ using System.Runtime.InteropServices;using System.Text;using System.Text.RegularExpressions;using System.Threading.Tasks;+using System.Windows.Controls;namespace GTweak.Utilities.Tweaks{@@ -32,7 +33,7 @@ namespace GTweak.Utilities.Tweaksprivate static bool isNetshState = false, isBluetoothStatus = false;private readonly string activeGuid = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes", "ActivePowerScheme", string.Empty).ToString();- internal void ViewSystem(SystemView systemV)+ internal void AnalyzeAndUpdate(SystemView systemV){systemV.Slider1.Value = Convert.ToDouble(Registry.GetValue(@"HKEY_CURRENT_USER\Control Panel\Mouse", "MouseSensitivity", "10").ToString());@@ -183,8 +184,10 @@ namespace GTweak.Utilities.Tweaks[DllImport("user32.dll")]private static extern bool SystemParametersInfo(uint _uiAction, uint _uiParam, uint _pvParam, uint _fWinIni);- internal static void UseSystemSliders(string tweak, uint value)+ internal static void ApplyTweaksSlider(string tweak, uint value){+ INIManager.TempWrite(INIManager.TempTweaksSys, tweak, value);+switch (tweak){case "Slider1":@@ -205,7 +208,7 @@ namespace GTweak.Utilities.Tweaks[DllImport("user32.dll")]private static extern bool SystemParametersInfo(uint _uiAction, uint _uiParam, uint[] _pvParam, uint _fWinIni);- internal static void UseSystem(string tweak, bool isChoose)+ internal static void ApplyTweaks(string tweak, bool isChoose){INIManager.TempWrite(INIManager.TempTweaksSys, tweak, isChoose);diff --git a/.Source/GTweak/View/ConfidentialityView.xaml.cs b/.Source/GTweak/View/ConfidentialityView.xaml.csindex 2424b0c3..c01e0213 100644--- a/.Source/GTweak/View/ConfidentialityView.xaml.cs+++ b/.Source/GTweak/View/ConfidentialityView.xaml.cs@@ -18,8 +18,7 @@ namespace GTweak.Viewprivate void Tweak_MouseEnter(object sender, MouseEventArgs e){- ToggleButton toggleButton = (ToggleButton)sender;- string descriptionTweak = (string)FindResource(toggleButton.Name + "_description_confidentiality");+ string descriptionTweak = (string)FindResource(((ToggleButton)sender).Name + "_description_confidentiality");if (CommentTweak.Text != descriptionTweak)CommentTweak.Text = descriptionTweak;@@ -35,7 +34,7 @@ namespace GTweak.View{ToggleButton toggleButton = (ToggleButton)sender;- ConfidentialityTweaks.UseСonfidentiality(toggleButton.Name, toggleButton.State);+ ConfidentialityTweaks.ApplyTweaks(toggleButton.Name, toggleButton.State);switch (toggleButton.Name){@@ -45,10 +44,10 @@ namespace GTweak.Viewbreak;}- Parallel.Invoke(async delegate { await Task.Delay(1000); new ConfidentialityTweaks().ViewСonfidentiality(this); });+ Parallel.Invoke(async delegate { await Task.Delay(1000); new ConfidentialityTweaks().AnalyzeAndUpdate(this); });}- private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new ConfidentialityTweaks().ViewСonfidentiality(this));+ private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new ConfidentialityTweaks().AnalyzeAndUpdate(this));}}diff --git a/.Source/GTweak/View/InterfaceView.xaml.cs b/.Source/GTweak/View/InterfaceView.xaml.csindex 18427bf4..c4ba7f8e 100644--- a/.Source/GTweak/View/InterfaceView.xaml.cs+++ b/.Source/GTweak/View/InterfaceView.xaml.cs@@ -61,7 +61,7 @@ namespace GTweak.Viewprivate void TglButton_ChangedState(object sender, EventArgs e){ToggleButton toggleButton = (ToggleButton)sender;- InterfaceTweaks.UseInterface(toggleButton.Name, toggleButton.State);+ InterfaceTweaks.ApplyTweaks(toggleButton.Name, toggleButton.State);switch (toggleButton.Name){@@ -83,10 +83,10 @@ namespace GTweak.Viewbreak;}- Parallel.Invoke(async delegate { await Task.Delay(1000); new InterfaceTweaks().ViewInterface(this); });+ Parallel.Invoke(async delegate { await Task.Delay(1000); new InterfaceTweaks().AnalyzeAndUpdate(this); });}- private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new InterfaceTweaks().ViewInterface(this));+ private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new InterfaceTweaks().AnalyzeAndUpdate(this));}}diff --git a/.Source/GTweak/View/MoreView.xaml b/.Source/GTweak/View/MoreView.xamlindex 422faa18..c6e896e7 100644--- a/.Source/GTweak/View/MoreView.xaml+++ b/.Source/GTweak/View/MoreView.xaml@@ -41,7 +41,7 @@</Grid><Grid Grid.Column="2">- <UserControl:Card x:Name="CardRecoveyLaunch" ImageSource="{StaticResource DI_RecoverySystem}" Title="{DynamicResource title_recovery_more}" Description="{DynamicResource text_recovery_more}" BtnContent="{DynamicResource btntext_recovery_more}" ClickButton="BtnRecoveyLaunch_ClickButton"/>+ <UserControl:Card ImageSource="{StaticResource DI_RecoverySystem}" Title="{DynamicResource title_recovery_more}" Description="{DynamicResource text_recovery_more}" BtnContent="{DynamicResource btntext_recovery_more}" ClickButton="BtnRecoveyLaunch_ClickButton"/></Grid></Grid>@@ -49,14 +49,19 @@<Grid.ColumnDefinitions><ColumnDefinition/><ColumnDefinition/>+ <ColumnDefinition/></Grid.ColumnDefinitions>- <Grid Grid.Column="0" Margin="180,0,0,0">+ <Grid Grid.Column="0"><UserControl:Card ImageSource="{StaticResource DI_Trash}" Title="{DynamicResource title_clear_more}" Description="{DynamicResource text_clear_more}" BtnContent="{DynamicResource btntext_clear_more}" ClickButton="BtnClear_ClickButton"/></Grid>- <Grid Grid.Column="1" Margin="0,0,180,0">- <UserControl:Card ImageSource="{StaticResource DI_DisableRecovery}" Title="{DynamicResource title_disablepoint_more}" Description="{DynamicResource text_disablepoint_more}" BtnContent="{DynamicResource btntext_disablepoint_more}" ClickButton="BtnDisableRecovery_ClickButton"/>+ <Grid Grid.Column="1">+ <UserControl:Card ImageSource="{StaticResource DI_Defrag}" Title="{DynamicResource title_defrag_more}" Description="{DynamicResource text_defrag_more}" BtnContent="{DynamicResource btntext_disable_more}" ClickButton="BtnDisableDefrag_ClickButton"/>+ </Grid>++ <Grid Grid.Column="2">+ <UserControl:Card ImageSource="{StaticResource DI_DisableRecovery}" Title="{DynamicResource title_disablepoint_more}" Description="{DynamicResource text_disablepoint_more}" BtnContent="{DynamicResource btntext_disable_more}" ClickButton="BtnDisableRecovery_ClickButton"/></Grid></Grid></Grid>diff --git a/.Source/GTweak/View/MoreView.xaml.cs b/.Source/GTweak/View/MoreView.xaml.csindex 724c92d7..bfbb4425 100644--- a/.Source/GTweak/View/MoreView.xaml.cs+++ b/.Source/GTweak/View/MoreView.xaml.cs@@ -40,6 +40,8 @@ namespace GTweak.Viewprivate void BtnClear_ClickButton(object sender, EventArgs e) => new ClearingMemory().StartMemoryCleanup();+ private void BtnDisableDefrag_ClickButton(object sender, EventArgs e) => new Defragmentation().Disable();+private async void BtnDisableRecovery_ClickButton(object sender, EventArgs e){if (!RecoveryPoint.IsSystemRestoreDisabled())diff --git a/.Source/GTweak/View/PakagesView.xaml.cs b/.Source/GTweak/View/PakagesView.xaml.csindex 36e9897b..8ffb7ec5 100644--- a/.Source/GTweak/View/PakagesView.xaml.cs+++ b/.Source/GTweak/View/PakagesView.xaml.cs@@ -36,6 +36,20 @@ namespace GTweak.View}, Application.Current.Dispatcher);}+ private void Apps_MouseEnter(object sender, MouseEventArgs e)+ {+ string descriptionApp = (string)FindResource(((Image)sender).Name + "_applications");++ if (CommentApp.Text != descriptionApp)+ CommentApp.Text = descriptionApp;+ }++ private void Apps_MouseLeave(object sender, MouseEventArgs e)+ {+ if (CommentApp.Text != (string)FindResource("defaultDescriptionApp"))+ CommentApp.Text = (string)FindResource("defaultDescriptionApp");+ }+private async void ClickApp_PreviewMouseDown(object sender, MouseButtonEventArgs e){Image appImage = (Image)sender;@@ -75,22 +89,6 @@ namespace GTweak.View}}- private void Apps_MouseEnter(object sender, MouseEventArgs e)- {- Image imageApp = (Image)sender;-- string descriptionApp = (string)FindResource(imageApp.Name + "_applications");-- if (CommentApp.Text != descriptionApp)- CommentApp.Text = descriptionApp;- }-- private void Apps_MouseLeave(object sender, MouseEventArgs e)- {- if (CommentApp.Text != (string)FindResource("defaultDescriptionApp"))- CommentApp.Text = (string)FindResource("defaultDescriptionApp");- }-private void Page_Loaded(object sender, RoutedEventArgs e) => UpdateViewStatePakages();diff --git a/.Source/GTweak/View/ServicesView.xaml.cs b/.Source/GTweak/View/ServicesView.xaml.csindex 8e214fcd..ae0643af 100644--- a/.Source/GTweak/View/ServicesView.xaml.cs+++ b/.Source/GTweak/View/ServicesView.xaml.cs@@ -17,8 +17,7 @@ namespace GTweak.Viewprivate void Tweak_MouseEnter(object sender, MouseEventArgs e){- ToggleButton toggleButton = (ToggleButton)sender;- string descriptionTweak = (string)FindResource(toggleButton.Name + "_description_services");+ string descriptionTweak = (string)FindResource(((ToggleButton)sender).Name + "_description_services");if (CommentTweak.Text != descriptionTweak)CommentTweak.Text = descriptionTweak;@@ -32,14 +31,13 @@ namespace GTweak.Viewprivate void TglButton_ChangedState(object sender, EventArgs e){- ToggleButton toggleButton = (ToggleButton)sender;- ServicesTweaks.UseServices(toggleButton.Name, toggleButton.State);+ ServicesTweaks.ApplyTweaks(((ToggleButton)sender).Name, ((ToggleButton)sender).State);new ViewNotification(300).Show("restart");- Parallel.Invoke(async delegate { await Task.Delay(1000); new ServicesTweaks().ViewServices(this); });+ Parallel.Invoke(async delegate { await Task.Delay(1000); new ServicesTweaks().AnalyzeAndUpdate(this); });}- private void Page_Loaded(object sender, System.Windows.RoutedEventArgs e) => Parallel.Invoke(() => new ServicesTweaks().ViewServices(this));+ private void Page_Loaded(object sender, System.Windows.RoutedEventArgs e) => Parallel.Invoke(() => new ServicesTweaks().AnalyzeAndUpdate(this));}}diff --git a/.Source/GTweak/View/SystemView.xaml b/.Source/GTweak/View/SystemView.xamlindex 13ffaa95..22e7bd98 100644--- a/.Source/GTweak/View/SystemView.xaml+++ b/.Source/GTweak/View/SystemView.xaml@@ -25,17 +25,17 @@<StackPanel Orientation="Vertical" VerticalAlignment="Top" Width="Auto" Height="Auto"><StackPanel x:Name="TextSlider1" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,0,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider1_system}"/>- <Slider x:Name="Slider1" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="20" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider1" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="20" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged"/></StackPanel><StackPanel x:Name="TextSlider2" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,4,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider2_system}"/>- <Slider x:Name="Slider2" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="3" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider2" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="3" Margin="7,13,0,0" Width="150" ValueChanged="Sliders_ValueChanged"/></StackPanel><StackPanel x:Name="TextSlider3" Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="20,4,0,0" MouseEnter="TweakSlider_MouseEnter" MouseLeave="Tweak_MouseLeave"><TextBlock Style="{StaticResource Text}" Foreground="{StaticResource Color_Highlighted}" Margin="0,2,0,0" Text="{DynamicResource slider3_system}"/>- <Slider x:Name="Slider3" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="31" Margin="7,13,0,0" Width="170" ValueChanged="Sliders_ValueChanged" PreviewMouseLeftButtonUp="Sliders_PreviewMouseUp"/>+ <Slider x:Name="Slider3" Style="{StaticResource VerticalText_Slider}" IsSnapToTickEnabled="True" Minimum="0" Maximum="31" Margin="7,13,0,0" Width="170" ValueChanged="Sliders_ValueChanged"/></StackPanel><TextBox x:Name="TestKeybSettings" Margin="-100,5,0,0" Tag="{DynamicResource text_system}" Width="400" MaxLength="50" Cursor="IBeam"/>diff --git a/.Source/GTweak/View/SystemView.xaml.cs b/.Source/GTweak/View/SystemView.xaml.csindex bf89a0c0..008c4111 100644--- a/.Source/GTweak/View/SystemView.xaml.cs+++ b/.Source/GTweak/View/SystemView.xaml.cs@@ -19,8 +19,7 @@ namespace GTweak.Viewprivate void Tweak_MouseEnter(object sender, MouseEventArgs e){- ToggleButton toggleButton = (ToggleButton)sender;- string descriptionTweak = (string)FindResource(toggleButton.Name + "_description_system");+ string descriptionTweak = (string)FindResource(((ToggleButton)sender).Name + "_description_system");if (CommentTweak.Text != descriptionTweak)CommentTweak.Text = descriptionTweak;@@ -28,8 +27,7 @@ namespace GTweak.Viewprivate void TweakSlider_MouseEnter(object sender, MouseEventArgs e){- StackPanel stackPanel = (StackPanel)sender;- string descriptionTweak = (string)FindResource(stackPanel.Name + "_description_system");+ string descriptionTweak = (string)FindResource(((StackPanel)sender).Name + "_description_system");if (CommentTweak.Text != descriptionTweak)CommentTweak.Text = descriptionTweak;@@ -41,25 +39,14 @@ namespace GTweak.ViewCommentTweak.Text = (string)FindResource("defaultDescription");}- private void Sliders_PreviewMouseUp(object sender, MouseButtonEventArgs e)- {- Slider slider = (Slider)sender;- INIManager.TempTweaksSys.Remove(slider.Name);- INIManager.TempTweaksSys.Add(slider.Name, Convert.ToString(slider.Value));- }-- private void Sliders_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)- {- Slider slider = (Slider)sender;- SystemTweaks.UseSystemSliders(slider.Name, (uint)slider.Value);- }+ private void Sliders_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) => SystemTweaks.ApplyTweaksSlider(((Slider)sender).Name, (uint)((Slider)sender).Value);private void TglButton_ChangedState(object sender, EventArgs e){ToggleButton toggleButton = (ToggleButton)sender;if (toggleButton.Name != "TglButton8"){- SystemTweaks.UseSystem(toggleButton.Name, toggleButton.State);+ SystemTweaks.ApplyTweaks(toggleButton.Name, toggleButton.State);switch (toggleButton.Name){@@ -78,14 +65,14 @@ namespace GTweak.Viewbreak;}- Parallel.Invoke(async delegate { await Task.Delay(1000); new SystemTweaks().ViewSystem(this); });+ Parallel.Invoke(async delegate { await Task.Delay(1000); new SystemTweaks().AnalyzeAndUpdate(this); });}else{if (!SystemTweaks.isTweakWorkingAntivirus){SystemTweaks.isTweakWorkingAntivirus = true;- SystemTweaks.UseSystem(toggleButton.Name, toggleButton.State);+ SystemTweaks.ApplyTweaks(toggleButton.Name, toggleButton.State);new ViewNotification().Show("", "info", (string)FindResource("windefender_notification"));}else if (SystemTweaks.isTweakWorkingAntivirus)@@ -93,6 +80,6 @@ namespace GTweak.View}}- private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new SystemTweaks().ViewSystem(this));+ private void Page_Loaded(object sender, RoutedEventArgs e) => Parallel.Invoke(() => new SystemTweaks().AnalyzeAndUpdate(this));}}diff --git a/.Source/GTweak/Windows/ImportWindow.xaml.cs b/.Source/GTweak/Windows/ImportWindow.xaml.csindex ba5442ff..48c565a1 100644--- a/.Source/GTweak/Windows/ImportWindow.xaml.cs+++ b/.Source/GTweak/Windows/ImportWindow.xaml.cs@@ -70,7 +70,7 @@ namespace GTweak.Windowsforeach (var set in acceptanceList){await Task.Delay(700, _token);- ConfidentialityTweaks.UseСonfidentiality(set.Tweak, Convert.ToBoolean(set.Value));+ ConfidentialityTweaks.ApplyTweaks(set.Tweak, Convert.ToBoolean(set.Value));switch (set.Tweak){@@ -100,7 +100,7 @@ namespace GTweak.Windows"TglButton17" => 2000,_ => 700,}, _token);- InterfaceTweaks.UseInterface(set.Tweak, Convert.ToBoolean(set.Value));+ InterfaceTweaks.ApplyTweaks(set.Tweak, Convert.ToBoolean(set.Value));switch (set.Tweak){@@ -136,7 +136,7 @@ namespace GTweak.Windowsforeach (var set in acceptanceList){await Task.Delay(700, _token);- ServicesTweaks.UseServices(set.Tweak, Convert.ToBoolean(set.Value));+ ServicesTweaks.ApplyTweaks(set.Tweak, Convert.ToBoolean(set.Value));isRestartNeed = true;}}@@ -157,9 +157,9 @@ namespace GTweak.Windowsif (set.Tweak != "TglButton8"){if (set.Tweak.Contains("TglButton"))- SystemTweaks.UseSystem(set.Tweak, Convert.ToBoolean(set.Value));+ SystemTweaks.ApplyTweaks(set.Tweak, Convert.ToBoolean(set.Value));else- SystemTweaks.UseSystemSliders(set.Tweak, Convert.ToUInt32(set.Value));+ SystemTweaks.ApplyTweaksSlider(set.Tweak, Convert.ToUInt32(set.Value));switch (set.Tweak){@@ -183,7 +183,7 @@ namespace GTweak.Windowsif (!SystemTweaks.isTweakWorkingAntivirus){SystemTweaks.isTweakWorkingAntivirus = true;- SystemTweaks.UseSystem(set.Tweak, Convert.ToBoolean(set.Value));+ SystemTweaks.ApplyTweaks(set.Tweak, Convert.ToBoolean(set.Value));await Task.Delay(20000, _token);}}diff --git a/Assets/SVG Others/Defrag.svg b/Assets/SVG Others/Defrag.svgnew file mode 100644index 00000000..fbb816b4--- /dev/null+++ b/Assets/SVG Others/Defrag.svg@@ -0,0 +1,8 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="60px" height="60px" viewBox="0 0 60 60" version="1.1">+<g id="surface1">+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 6.332031 9.523438 C 6.425781 9.523438 6.519531 9.523438 6.617188 9.519531 C 6.929688 9.519531 7.238281 9.519531 7.550781 9.523438 C 7.773438 9.523438 8 9.519531 8.222656 9.519531 C 8.832031 9.515625 9.4375 9.515625 10.046875 9.519531 C 10.679688 9.519531 11.316406 9.519531 11.953125 9.519531 C 13.019531 9.515625 14.085938 9.519531 15.152344 9.523438 C 16.386719 9.523438 17.621094 9.523438 18.855469 9.519531 C 19.914062 9.519531 20.976562 9.515625 22.035156 9.519531 C 22.667969 9.519531 23.300781 9.519531 23.933594 9.519531 C 24.527344 9.515625 25.121094 9.519531 25.71875 9.519531 C 25.9375 9.523438 26.152344 9.523438 26.371094 9.519531 C 26.671875 9.519531 26.96875 9.519531 27.265625 9.523438 C 27.394531 9.523438 27.394531 9.523438 27.527344 9.519531 C 27.984375 9.527344 28.1875 9.589844 28.554688 9.875 C 28.796875 10.195312 28.875 10.3125 28.871094 10.703125 C 28.871094 10.800781 28.875 10.898438 28.875 11 C 28.871094 11.101562 28.871094 11.207031 28.867188 11.316406 C 28.867188 11.480469 28.867188 11.480469 28.867188 11.652344 C 28.867188 12.019531 28.863281 12.386719 28.859375 12.753906 C 28.859375 13.007812 28.855469 13.261719 28.855469 13.515625 C 28.855469 14.1875 28.847656 14.855469 28.839844 15.527344 C 28.835938 16.210938 28.832031 16.894531 28.828125 17.578125 C 28.824219 18.917969 28.8125 20.257812 28.800781 21.601562 C 28.941406 21.597656 29.082031 21.597656 29.230469 21.597656 C 30.5625 21.582031 31.894531 21.574219 33.226562 21.570312 C 33.914062 21.566406 34.597656 21.5625 35.285156 21.554688 C 35.945312 21.546875 36.605469 21.542969 37.269531 21.542969 C 37.519531 21.542969 37.773438 21.539062 38.023438 21.535156 C 38.378906 21.53125 38.730469 21.53125 39.085938 21.53125 C 39.191406 21.53125 39.292969 21.527344 39.402344 21.523438 C 39.898438 21.53125 40.140625 21.5625 40.566406 21.839844 C 40.867188 22.300781 40.878906 22.671875 40.867188 23.203125 C 40.867188 23.304688 40.867188 23.402344 40.867188 23.507812 C 40.867188 23.835938 40.863281 24.160156 40.859375 24.488281 C 40.859375 24.71875 40.855469 24.945312 40.855469 25.171875 C 40.855469 25.773438 40.847656 26.371094 40.839844 26.96875 C 40.835938 27.582031 40.832031 28.191406 40.828125 28.804688 C 40.824219 30.003906 40.8125 31.203125 40.800781 32.398438 C 40.96875 32.398438 40.96875 32.398438 41.136719 32.394531 C 42.1875 32.382812 43.238281 32.375 44.289062 32.367188 C 44.828125 32.367188 45.371094 32.363281 45.910156 32.355469 C 46.429688 32.347656 46.953125 32.34375 47.472656 32.34375 C 47.671875 32.34375 47.871094 32.339844 48.070312 32.335938 C 48.347656 32.332031 48.628906 32.332031 48.90625 32.332031 C 49.027344 32.328125 49.027344 32.328125 49.152344 32.324219 C 49.578125 32.328125 49.78125 32.386719 50.121094 32.648438 C 50.472656 33.09375 50.476562 33.324219 50.476562 33.886719 C 50.476562 33.976562 50.476562 34.066406 50.480469 34.15625 C 50.480469 34.449219 50.480469 34.746094 50.476562 35.042969 C 50.476562 35.253906 50.480469 35.464844 50.480469 35.675781 C 50.484375 36.253906 50.484375 36.828125 50.480469 37.402344 C 50.480469 38.003906 50.480469 38.605469 50.480469 39.207031 C 50.484375 40.21875 50.480469 41.230469 50.476562 42.242188 C 50.476562 43.410156 50.476562 44.578125 50.480469 45.746094 C 50.480469 46.75 50.484375 47.753906 50.480469 48.757812 C 50.480469 49.355469 50.480469 49.957031 50.480469 50.554688 C 50.484375 51.117188 50.480469 51.679688 50.480469 52.246094 C 50.476562 52.453125 50.476562 52.660156 50.480469 52.867188 C 50.480469 53.148438 50.480469 53.429688 50.476562 53.710938 C 50.476562 53.871094 50.476562 54.027344 50.476562 54.191406 C 50.378906 54.714844 50.210938 54.867188 49.800781 55.199219 C 49.441406 55.273438 49.441406 55.273438 49.035156 55.277344 C 48.878906 55.277344 48.722656 55.277344 48.5625 55.28125 C 48.390625 55.277344 48.21875 55.277344 48.046875 55.277344 C 47.863281 55.277344 47.679688 55.277344 47.496094 55.277344 C 46.992188 55.28125 46.488281 55.28125 45.984375 55.277344 C 45.441406 55.277344 44.898438 55.277344 44.355469 55.28125 C 43.292969 55.285156 42.226562 55.28125 41.164062 55.28125 C 40.300781 55.28125 39.433594 55.28125 38.570312 55.28125 C 38.445312 55.28125 38.324219 55.28125 38.195312 55.28125 C 37.945312 55.28125 37.699219 55.28125 37.449219 55.28125 C 35.105469 55.28125 32.761719 55.28125 30.417969 55.277344 C 28.40625 55.273438 26.394531 55.277344 24.382812 55.277344 C 22.046875 55.28125 19.710938 55.28125 17.378906 55.28125 C 17.128906 55.28125 16.878906 55.28125 16.628906 55.28125 C 16.507812 55.28125 16.386719 55.28125 16.257812 55.28125 C 15.394531 55.28125 14.53125 55.28125 13.667969 55.28125 C 12.617188 55.285156 11.5625 55.28125 10.511719 55.28125 C 9.972656 55.277344 9.4375 55.277344 8.898438 55.28125 C 8.40625 55.28125 7.914062 55.28125 7.425781 55.277344 C 7.246094 55.277344 7.070312 55.277344 6.890625 55.277344 C 6.648438 55.28125 6.40625 55.277344 6.164062 55.277344 C 6.03125 55.277344 5.898438 55.273438 5.757812 55.273438 C 5.273438 55.171875 5.09375 54.996094 4.800781 54.601562 C 4.726562 54.242188 4.726562 54.242188 4.722656 53.835938 C 4.722656 53.679688 4.722656 53.523438 4.71875 53.363281 C 4.722656 53.191406 4.722656 53.019531 4.722656 52.847656 C 4.722656 52.664062 4.722656 52.480469 4.722656 52.296875 C 4.71875 51.792969 4.71875 51.289062 4.722656 50.785156 C 4.722656 50.242188 4.722656 49.699219 4.71875 49.15625 C 4.714844 48.09375 4.71875 47.027344 4.71875 45.964844 C 4.71875 45.097656 4.71875 44.234375 4.71875 43.371094 C 4.71875 43.246094 4.71875 43.125 4.71875 42.996094 C 4.71875 42.746094 4.71875 42.496094 4.71875 42.246094 C 4.71875 39.902344 4.71875 37.5625 4.722656 35.21875 C 4.726562 33.207031 4.722656 31.195312 4.722656 29.183594 C 4.71875 26.847656 4.71875 24.511719 4.71875 22.175781 C 4.71875 21.929688 4.71875 21.679688 4.71875 21.429688 C 4.71875 21.308594 4.71875 21.183594 4.71875 21.058594 C 4.71875 20.195312 4.71875 19.332031 4.71875 18.46875 C 4.714844 17.414062 4.71875 16.363281 4.71875 15.308594 C 4.722656 14.773438 4.722656 14.234375 4.71875 13.699219 C 4.71875 13.207031 4.71875 12.714844 4.722656 12.222656 C 4.722656 12.046875 4.722656 11.867188 4.722656 11.691406 C 4.71875 11.449219 4.722656 11.207031 4.722656 10.964844 C 4.722656 10.832031 4.726562 10.695312 4.726562 10.558594 C 4.910156 9.683594 5.535156 9.511719 6.332031 9.523438 Z M 7.199219 12 C 7.199219 13.585938 7.199219 15.167969 7.199219 16.800781 C 8.167969 16.8125 8.167969 16.8125 9.15625 16.820312 C 9.566406 16.828125 9.972656 16.832031 10.382812 16.835938 C 11.03125 16.84375 11.679688 16.851562 12.328125 16.859375 C 12.851562 16.867188 13.375 16.871094 13.894531 16.878906 C 14.097656 16.878906 14.296875 16.882812 14.496094 16.886719 C 14.773438 16.886719 15.054688 16.890625 15.332031 16.894531 C 15.457031 16.894531 15.457031 16.894531 15.585938 16.898438 C 15.941406 16.902344 16.21875 16.925781 16.558594 17.039062 C 17.042969 18.484375 16.757812 20.078125 16.800781 21.601562 C 19.96875 21.601562 23.136719 21.601562 26.398438 21.601562 C 26.398438 18.433594 26.398438 15.265625 26.398438 12 C 20.0625 12 13.726562 12 7.199219 12 Z M 7.199219 19.199219 C 7.199219 30.289062 7.199219 41.375 7.199219 52.800781 C 20.664062 52.800781 34.128906 52.800781 48 52.800781 C 48 50.425781 48 48.046875 48 45.601562 C 47.003906 45.597656 46.003906 45.59375 44.976562 45.589844 C 41.785156 45.582031 38.597656 45.570312 35.40625 45.558594 C 34.910156 45.558594 34.414062 45.558594 33.921875 45.554688 C 33.820312 45.554688 33.722656 45.554688 33.621094 45.554688 C 32.023438 45.550781 30.425781 45.542969 28.828125 45.539062 C 27.1875 45.535156 25.550781 45.527344 23.910156 45.523438 C 22.898438 45.519531 21.886719 45.515625 20.875 45.515625 C 20.183594 45.511719 19.492188 45.511719 18.796875 45.507812 C 18.398438 45.503906 17.996094 45.503906 17.597656 45.503906 C 17.164062 45.503906 16.730469 45.5 16.296875 45.5 C 16.105469 45.5 16.105469 45.5 15.910156 45.5 C 15.792969 45.496094 15.679688 45.496094 15.558594 45.496094 C 15.460938 45.496094 15.359375 45.496094 15.257812 45.496094 C 15 45.480469 15 45.480469 14.640625 45.359375 C 14.484375 44.898438 14.5 44.460938 14.5 43.976562 C 14.5 43.820312 14.5 43.820312 14.5 43.65625 C 14.496094 43.300781 14.496094 42.945312 14.496094 42.589844 C 14.496094 42.335938 14.492188 42.082031 14.492188 41.828125 C 14.488281 41.136719 14.484375 40.445312 14.484375 39.753906 C 14.480469 39.03125 14.476562 38.308594 14.472656 37.585938 C 14.46875 36.21875 14.464844 34.851562 14.457031 33.484375 C 14.453125 31.925781 14.445312 30.367188 14.4375 28.8125 C 14.425781 25.609375 14.414062 22.402344 14.398438 19.199219 C 12.023438 19.199219 9.648438 19.199219 7.199219 19.199219 Z M 16.800781 24 C 16.800781 26.773438 16.800781 29.542969 16.800781 32.398438 C 23.929688 32.398438 31.054688 32.398438 38.398438 32.398438 C 38.398438 29.628906 38.398438 26.855469 38.398438 24 C 31.273438 24 24.144531 24 16.800781 24 Z M 16.800781 34.800781 C 16.800781 37.570312 16.800781 40.34375 16.800781 43.199219 C 23.929688 43.199219 31.054688 43.199219 38.398438 43.199219 C 38.398438 40.429688 38.398438 37.65625 38.398438 34.800781 C 31.273438 34.800781 24.144531 34.800781 16.800781 34.800781 Z M 40.800781 34.800781 C 40.800781 37.570312 40.800781 40.34375 40.800781 43.199219 C 43.175781 43.199219 45.550781 43.199219 48 43.199219 C 48 40.429688 48 37.65625 48 34.800781 C 45.625 34.800781 43.246094 34.800781 40.800781 34.800781 Z M 40.800781 34.800781 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 44.996094 2.332031 C 45.785156 2.476562 46.519531 2.78125 47.265625 3.070312 C 47.449219 3.140625 47.636719 3.210938 47.820312 3.28125 C 48.308594 3.464844 48.792969 3.652344 49.28125 3.839844 C 49.765625 4.023438 50.25 4.210938 50.734375 4.394531 C 51.390625 4.644531 52.046875 4.894531 52.703125 5.144531 C 53.433594 5.425781 54.164062 5.703125 54.898438 5.972656 C 55.03125 6.023438 55.164062 6.074219 55.300781 6.125 C 55.542969 6.214844 55.785156 6.300781 56.027344 6.390625 C 57.320312 6.867188 57.320312 6.867188 57.636719 7.289062 C 57.871094 8.054688 57.652344 8.699219 57.375 9.410156 C 57.335938 9.503906 57.300781 9.597656 57.265625 9.695312 C 57.1875 9.890625 57.113281 10.085938 57.035156 10.28125 C 56.917969 10.582031 56.804688 10.882812 56.691406 11.183594 C 56.617188 11.375 56.539062 11.566406 56.464844 11.757812 C 56.433594 11.847656 56.398438 11.9375 56.363281 12.027344 C 56.152344 12.558594 55.964844 12.921875 55.441406 13.199219 C 54.402344 13.355469 53.492188 12.929688 52.539062 12.5625 C 52.359375 12.496094 52.183594 12.429688 52.003906 12.363281 C 51.535156 12.1875 51.0625 12.007812 50.59375 11.832031 C 50.128906 11.652344 49.664062 11.480469 49.199219 11.304688 C 48.558594 11.066406 47.921875 10.824219 47.285156 10.582031 C 46.585938 10.316406 45.882812 10.050781 45.179688 9.796875 C 44.855469 9.675781 44.53125 9.558594 44.207031 9.4375 C 43.984375 9.355469 43.761719 9.277344 43.539062 9.199219 C 43.40625 9.148438 43.273438 9.101562 43.136719 9.050781 C 43.019531 9.007812 42.902344 8.964844 42.785156 8.921875 C 42.410156 8.722656 42.230469 8.511719 42 8.160156 C 41.828125 7.152344 42.261719 6.265625 42.632812 5.347656 C 42.742188 5.078125 42.847656 4.808594 42.953125 4.539062 C 43.023438 4.363281 43.089844 4.191406 43.160156 4.019531 C 43.191406 3.9375 43.222656 3.859375 43.253906 3.777344 C 43.621094 2.886719 43.957031 2.265625 44.996094 2.332031 Z M 45.480469 5.28125 C 45.378906 5.515625 45.28125 5.75 45.179688 5.984375 C 45.125 6.117188 45.070312 6.246094 45.011719 6.382812 C 44.867188 6.695312 44.867188 6.695312 44.878906 6.960938 C 44.984375 7 45.085938 7.035156 45.195312 7.078125 C 46.175781 7.441406 47.15625 7.804688 48.132812 8.167969 C 48.636719 8.355469 49.140625 8.542969 49.644531 8.730469 C 50.132812 8.910156 50.617188 9.089844 51.105469 9.269531 C 51.289062 9.339844 51.476562 9.40625 51.660156 9.476562 C 51.921875 9.574219 52.179688 9.667969 52.441406 9.765625 C 52.589844 9.820312 52.738281 9.875 52.890625 9.933594 C 53.132812 10.023438 53.371094 10.117188 53.609375 10.21875 C 53.886719 10.339844 53.886719 10.339844 54.238281 10.320312 C 54.4375 9.804688 54.636719 9.289062 54.839844 8.761719 C 53.886719 8.320312 52.914062 7.949219 51.933594 7.578125 C 51.757812 7.511719 51.585938 7.445312 51.410156 7.378906 C 51.042969 7.238281 50.679688 7.101562 50.316406 6.960938 C 49.847656 6.785156 49.378906 6.605469 48.910156 6.429688 C 48.550781 6.292969 48.191406 6.15625 47.828125 6.019531 C 47.65625 5.953125 47.484375 5.886719 47.3125 5.820312 C 47.070312 5.730469 46.832031 5.636719 46.589844 5.546875 C 46.453125 5.496094 46.316406 5.445312 46.175781 5.390625 C 45.84375 5.261719 45.84375 5.261719 45.480469 5.28125 Z M 45.480469 5.28125 "/>+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 45.011719 11.917969 C 45.683594 12.074219 46.160156 12.5625 46.671875 12.996094 C 47.164062 13.402344 47.679688 13.78125 48.1875 14.167969 C 48.40625 14.335938 48.628906 14.503906 48.847656 14.671875 C 49.390625 15.085938 49.9375 15.496094 50.484375 15.902344 C 51.152344 16.402344 51.8125 16.910156 52.472656 17.414062 C 52.933594 17.765625 53.398438 18.121094 53.871094 18.46875 C 53.996094 18.558594 54.125 18.652344 54.253906 18.75 C 54.363281 18.828125 54.46875 18.90625 54.578125 18.984375 C 54.910156 19.257812 55.144531 19.5 55.273438 19.914062 C 55.335938 20.816406 54.835938 21.339844 54.277344 22.007812 C 54.066406 22.265625 53.863281 22.53125 53.664062 22.796875 C 53.417969 23.121094 53.167969 23.441406 52.921875 23.761719 C 52.828125 23.878906 52.738281 23.996094 52.644531 24.117188 C 52.558594 24.222656 52.472656 24.332031 52.386719 24.441406 C 52.3125 24.535156 52.238281 24.632812 52.164062 24.730469 C 51.835938 25.101562 51.617188 25.195312 51.128906 25.28125 C 50.355469 25.257812 49.886719 24.78125 49.3125 24.308594 C 48.847656 23.929688 48.367188 23.574219 47.886719 23.210938 C 47.667969 23.046875 47.449219 22.878906 47.226562 22.710938 C 46.691406 22.296875 46.152344 21.886719 45.613281 21.476562 C 45.40625 21.320312 45.195312 21.160156 44.988281 21.003906 C 44.441406 20.585938 43.894531 20.167969 43.347656 19.753906 C 43.175781 19.625 43.175781 19.625 43.003906 19.492188 C 42.785156 19.328125 42.566406 19.164062 42.351562 18.996094 C 42.074219 18.785156 41.796875 18.574219 41.519531 18.359375 C 41.445312 18.304688 41.371094 18.25 41.292969 18.191406 C 41.019531 17.980469 40.824219 17.816406 40.6875 17.496094 C 40.679688 17.410156 40.671875 17.324219 40.664062 17.234375 C 40.65625 17.148438 40.644531 17.066406 40.632812 16.976562 C 40.765625 16.136719 41.472656 15.390625 41.96875 14.730469 C 42.121094 14.527344 42.269531 14.328125 42.421875 14.125 C 42.492188 14.027344 42.566406 13.929688 42.640625 13.832031 C 42.972656 13.382812 43.292969 12.929688 43.613281 12.472656 C 44.011719 11.972656 44.40625 11.902344 45.011719 11.917969 Z M 45 15 C 44.792969 15.25 44.589844 15.5 44.390625 15.757812 C 44.335938 15.828125 44.277344 15.898438 44.21875 15.972656 C 43.878906 16.398438 43.878906 16.398438 43.800781 16.921875 C 44.082031 17.15625 44.363281 17.375 44.664062 17.585938 C 44.839844 17.71875 45.019531 17.847656 45.199219 17.980469 C 45.289062 18.042969 45.375 18.109375 45.46875 18.175781 C 45.804688 18.421875 46.132812 18.675781 46.460938 18.929688 C 47.164062 19.472656 47.867188 20.011719 48.570312 20.550781 C 48.675781 20.632812 48.78125 20.710938 48.886719 20.796875 C 49.535156 21.289062 50.195312 21.753906 50.878906 22.199219 C 51.316406 21.644531 51.75 21.089844 52.199219 20.519531 C 51.820312 20.140625 51.507812 19.832031 51.089844 19.523438 C 50.992188 19.453125 50.894531 19.378906 50.796875 19.304688 C 50.695312 19.230469 50.59375 19.15625 50.488281 19.078125 C 50.273438 18.917969 50.058594 18.757812 49.839844 18.597656 C 49.734375 18.515625 49.625 18.4375 49.511719 18.355469 C 49.058594 18.015625 48.609375 17.671875 48.15625 17.324219 C 48.078125 17.261719 47.996094 17.199219 47.910156 17.136719 C 47.46875 16.796875 47.027344 16.457031 46.582031 16.117188 C 46.488281 16.042969 46.394531 15.972656 46.296875 15.894531 C 46.117188 15.757812 45.933594 15.617188 45.753906 15.476562 C 45.671875 15.414062 45.589844 15.351562 45.507812 15.285156 C 45.433594 15.230469 45.363281 15.175781 45.289062 15.117188 C 45.136719 14.988281 45.136719 14.988281 45 15 Z M 45 15 "/>+</g>+</svg>