Browse Source

Merge branch 'master' into master

pull/231/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
0bfef71a6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      CHANGELOG.md
  2. 12
      README.md
  3. 2
      Sophia/LTSC/Module/Sophia.psm1
  4. 2
      Sophia/PowerShell 5.1/Module/Sophia.psm1
  5. 2
      Sophia/PowerShell 7/Module/Sophia.psm1
  6. 2
      Sophia/Windows 11/Module/Sophia.psm1
  7. 2293
      Wrapper/Localizations/de-DE/tooltip.json
  8. 6
      Wrapper/Localizations/de-DE/ui.json
  9. 8
      sophia_script_versions.json

12
CHANGELOG.md

@ -7,7 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 5.12 | 6.0.1 — 05.08.2021 ## 5.12 | 6.0.1 — 05.08.2021
## Windows 11 21H2 | Windows 10 2004/20H2/21H1 | LTSC ## Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | LTSC
Diff from v5.12
[5.12...5.12.1](https://github.com/farag2/Sophia-Script-for-Windows/compare/5.12...5.12.1)
* Fixed typo that prevets script from showing the error description;
* Fixed typos in descriptions.
## 5.12 | 6.0.1 — 05.08.2021
## Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | LTSC
Diff from v5.11.1 Diff from v5.11.1
[5.11.1...5.12](https://github.com/farag2/Sophia-Script-for-Windows/compare/5.11.1...5.12) [5.11.1...5.12](https://github.com/farag2/Sophia-Script-for-Windows/compare/5.11.1...5.12)

12
README.md

@ -2,7 +2,9 @@
<img src="./img/Sophia.png" alt="Sophia Script" width='350' align="right"> <img src="./img/Sophia.png" alt="Sophia Script" width='350' align="right">
**A PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks** :trophy: **The largest PowerShell module on `GitHub` for `Windows 10` & `Windows 11` fine-tuning and automating the routine tasks** :trophy:
<img src="https://upload.wikimedia.org/wikipedia/commons/0/05/Windows_10_Logo.svg" height="30px"/> &emsp; <img src="https://upload.wikimedia.org/wikipedia/commons/e/e6/Windows_11_logo.svg" height="30px"/>
<p align="left"> <p align="left">
<a href="https://github.com/farag2/Sophia-Script-for-Windows/actions"><img src="https://img.shields.io/github/workflow/status/farag2/Sophia-Script-for-Windows/Build?label=GitHub%20Actions&logo=GitHub"></a> <a href="https://github.com/farag2/Sophia-Script-for-Windows/actions"><img src="https://img.shields.io/github/workflow/status/farag2/Sophia-Script-for-Windows/Build?label=GitHub%20Actions&logo=GitHub"></a>
@ -175,7 +177,7 @@ Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag
* Uninstall Windows capabilities displaying friendly packages names with pop-up form written in [WPF](#Screenshots); * Uninstall Windows capabilities displaying friendly packages names with pop-up form written in [WPF](#Screenshots);
* Download and install the [HEVC Video Extensions from Device Manufacturer](https://www.microsoft.com/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq) from Microsoft server using <https://store.rg-adguard.net> parser to be able to open .heic and .heif formats; * Download and install the [HEVC Video Extensions from Device Manufacturer](https://www.microsoft.com/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq) from Microsoft server using <https://store.rg-adguard.net> parser to be able to open .heic and .heif formats;
* Register app, calculate hash, and set as default for specific extension without the "How do you want to open this" pop-up using special [function](https://github.com/DanysysTeam/PS-SFTA); * Register app, calculate hash, and set as default for specific extension without the "How do you want to open this" pop-up using special [function](https://github.com/DanysysTeam/PS-SFTA);
* Install and setup WSL * Install any supported Linux distrobution for WSL displaying friendly distro names with pop-up form written in [WPF](#Screenshots);
* Create a `Windows Cleanup` and `Windows Cleanup Notification` scheduled tasks for Windows cleaning up unused files and updates; * Create a `Windows Cleanup` and `Windows Cleanup Notification` scheduled tasks for Windows cleaning up unused files and updates;
* A native toast notification will be displayed where you can choose to snooze, run the cleanup task or [dismiss](#native-interactive-toasts-for-the-windows-cleanup-scheduled-task) * A native toast notification will be displayed where you can choose to snooze, run the cleanup task or [dismiss](#native-interactive-toasts-for-the-windows-cleanup-scheduled-task)
* Create tasks in the Task Scheduler to clear * Create tasks in the Task Scheduler to clear
@ -213,12 +215,14 @@ Available in: <img src="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag
* Download and expand the archive; * Download and expand the archive;
* Run `SophiaScriptWrapper.exe` and import Sophia.ps1; * Run `SophiaScriptWrapper.exe` and import Sophia.ps1;
* The Wrapper has a real time UI rendering;
* Configure every function; * Configure every function;
* Open the `Console Output` tab and press `Run PowerShell`. * Open the `Console Output` tab and press `Run PowerShell`.
*** ***
### How to run the specific function(s) ### How to run the specific function(s)
To run the specific function(s) [dot source](https://docs.microsoft.com/ru-ru/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-) the `Functions.ps1` file first: To run the specific function(s) [dot source](https://docs.microsoft.com/ru-ru/powershell/module/microsoft.powershell.core/about/about_operators#dot-sourcing-operator-) the `Functions.ps1` file first:
```powershell ```powershell
@ -246,11 +250,9 @@ Or use an old-style format without the TAB functions autocomplete (the quotation
*** ***
* Regardless of the functions entered as an argument the `Checkings` function will be executed first, and the `Refresh` and `Errors` functions will be executed at the end.
## How to translate ## How to translate
* Get your OS UI culture by `$PSUICulture`. * Get your OS UI culture by `$PSUICulture`
* Create a folder with the UI culture name; * Create a folder with the UI culture name;
* Place your localized Sophia.psd1 file into this folder. * Place your localized Sophia.psd1 file into this folder.

2
Sophia/LTSC/Module/Sophia.psm1

@ -8149,7 +8149,7 @@ function RunAsDifferentUserContext
ParameterSetName = "Hide" ParameterSetName = "Hide"
)] )]
[switch] [switch]
$Remove $Hide
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)

2
Sophia/PowerShell 5.1/Module/Sophia.psm1

@ -11235,7 +11235,7 @@ function RunAsDifferentUserContext
ParameterSetName = "Hide" ParameterSetName = "Hide"
)] )]
[switch] [switch]
$Remove $Hide
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)

2
Sophia/PowerShell 7/Module/Sophia.psm1

@ -11266,7 +11266,7 @@ function RunAsDifferentUserContext
ParameterSetName = "Hide" ParameterSetName = "Hide"
)] )]
[switch] [switch]
$Remove $Hide
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)

2
Sophia/Windows 11/Module/Sophia.psm1

@ -10792,7 +10792,7 @@ function RunAsDifferentUserContext
ParameterSetName = "Hide" ParameterSetName = "Hide"
)] )]
[switch] [switch]
$Remove $Hide
) )
switch ($PSCmdlet.ParameterSetName) switch ($PSCmdlet.ParameterSetName)

2293
Wrapper/Localizations/de-DE/tooltip.json

File diff suppressed because it is too large

6
Wrapper/Localizations/de-DE/ui.json

@ -1,4 +1,4 @@
[ [
{ {
"Id": "Menu", "Id": "Menu",
"Options": { "Options": {
@ -20,9 +20,9 @@
"tabOneDrive": "OneDrive", "tabOneDrive": "OneDrive",
"tabSystem": "System", "tabSystem": "System",
"tabWSL": "WSL", "tabWSL": "WSL",
"tabStartMenu": "Starmenü", "tabStartMenu": "Startmenü",
"tabUWP": "UWP Apps", "tabUWP": "UWP Apps",
"tabGaming": "Spiele", "tabGaming": "Spielen",
"tabScheduledTasks": "Geplante Aufgaben", "tabScheduledTasks": "Geplante Aufgaben",
"tabDefenderSecurity": "Defender & Sicherheit", "tabDefenderSecurity": "Defender & Sicherheit",
"tabContextMenu": "Kontextmenü", "tabContextMenu": "Kontextmenü",

8
sophia_script_versions.json

@ -0,0 +1,8 @@
{
"Sophia_Script_Windows_10_PowerShell_5_1": "5.12.2",
"Sophia_Script_Windows_10_PowerShell_7": "5.12.2",
"Sophia_Script_Windows_10_LTSC": "5.2.13",
"Sophia_Script_Windows_11_PowerShell_5_1": "6.0.3",
"Sophia_Script_Windows_11_PowerShell_7": "6.0.3",
"Sophia_Script_Wrapper": "2.3"
}
Loading…
Cancel
Save