diff --git a/Wrapper/Config/config_Windows_10.json b/Wrapper/Config/config_Windows_10.json index 43bb5069..efa97c10 100644 --- a/Wrapper/Config/config_Windows_10.json +++ b/Wrapper/Config/config_Windows_10.json @@ -1691,7 +1691,7 @@ "Region": "WSL", "Control": "chk", "Required": "false", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "" diff --git a/Wrapper/Config/config_Windows_11.json b/Wrapper/Config/config_Windows_11.json index bf3bcc03..d44badaa 100644 --- a/Wrapper/Config/config_Windows_11.json +++ b/Wrapper/Config/config_Windows_11.json @@ -1585,7 +1585,7 @@ "Region": "WSL", "Control": "chk", "Required": "false", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "" diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json index 5d3e0dd0..b269fb3b 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_10.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_10.json @@ -1507,7 +1507,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json index 761bffa3..8db30989 100644 --- a/Wrapper/Localizations/de-DE/tooltip_Windows_11.json +++ b/Wrapper/Localizations/de-DE/tooltip_Windows_11.json @@ -1413,7 +1413,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_10.json b/Wrapper/Localizations/en-US/tooltip_Windows_10.json index 33838867..851ca16f 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_10.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_10.json @@ -1507,7 +1507,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/Wrapper/Localizations/en-US/tooltip_Windows_11.json b/Wrapper/Localizations/en-US/tooltip_Windows_11.json index 93060254..52b3e6bc 100644 --- a/Wrapper/Localizations/en-US/tooltip_Windows_11.json +++ b/Wrapper/Localizations/en-US/tooltip_Windows_11.json @@ -1413,7 +1413,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json index 566f97f7..58288945 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_10.json @@ -1507,7 +1507,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json index 5f1ff01a..7363008e 100644 --- a/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json +++ b/Wrapper/Localizations/ru-RU/tooltip_Windows_11.json @@ -1413,7 +1413,7 @@ { "Id": 600, "Region": "WSL", - "Function": "WSL", + "Function": "Install-WSL", "Arg": { "Zero": { "Tag": "", diff --git a/src/Sophia_Script_for_Windows_10/Functions.ps1 b/src/Sophia_Script_for_Windows_10/Functions.ps1 index 29563b0e..f11766f7 100644 --- a/src/Sophia_Script_for_Windows_10/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 08675e4c..eebcfc69 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -9738,17 +9738,17 @@ function Install-WSL $Panel = New-Object -TypeName System.Windows.Controls.StackPanel $RadioButton = New-Object -TypeName System.Windows.Controls.RadioButton $TextBlock = New-Object -TypeName System.Windows.Controls.TextBlock - $Panel.Orientation = "Horizontal" + $Panel.Orientation = "Horizontal" $RadioButton.GroupName = "WslDistro" $RadioButton.Tag = $Distro.Alias - $RadioButton.add_Checked({RadioButtonChecked}) + $RadioButton.Add_Checked({RadioButtonChecked}) $TextBlock.Text = $Distro.Distro $Panel.Children.Add($RadioButton) | Out-Null $Panel.Children.Add($TextBlock) | Out-Null $PanelContainer.Children.Add($Panel) | Out-Null } - $ButtonInstall.add_Click({ButtonInstallClicked}) + $ButtonInstall.Add_Click({ButtonInstallClicked}) #region Sendkey function # Emulate the Backspace key sending to prevent the console window to freeze diff --git a/src/Sophia_Script_for_Windows_10/Sophia.ps1 b/src/Sophia_Script_for_Windows_10/Sophia.ps1 index 6f99b7fe..5ff6477d 100644 --- a/src/Sophia_Script_for_Windows_10/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 10" Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 index 1209a669..60131405 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v5.5.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 index 508aaad9..86ba278a 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v5.5.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 index b95afabc..342389d0 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2019/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 10 LTSC 2019" Version: v5.5.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 index 9d2f205e..21391f44 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index 63cb3f2c..716e3200 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -8687,10 +8687,10 @@ function Install-WSL Set-Variable -Name ($_.Name) -Value $control if ($Control.Template.TargetType.Name -eq "RadioButton") { - $Control.add_Checked({RadioButtonChecked}) + $Control.Add_Checked({RadioButtonChecked}) } } - $ButtonInstall.add_Click({ButtonInstallClicked}) + $ButtonInstall.Add_Click({ButtonInstallClicked}) #region Sendkey function # Emulate the Backspace key sending to prevent the console window to freeze diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 index bdc8a5ef..df71dd6f 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 10 LTSC 2021" Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 index bf7af08f..51e596dc 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 index b10eb453..ed00bcda 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -9746,17 +9746,17 @@ function Install-WSL $Panel = New-Object -TypeName System.Windows.Controls.StackPanel $RadioButton = New-Object -TypeName System.Windows.Controls.RadioButton $TextBlock = New-Object -TypeName System.Windows.Controls.TextBlock - $Panel.Orientation = "Horizontal" + $Panel.Orientation = "Horizontal" $RadioButton.GroupName = "WslDistro" $RadioButton.Tag = $Distro.Alias - $RadioButton.add_Checked({RadioButtonChecked}) + $RadioButton.Add_Checked({RadioButtonChecked}) $TextBlock.Text = $Distro.Distro $Panel.Children.Add($RadioButton) | Out-Null $Panel.Children.Add($TextBlock) | Out-Null $PanelContainer.Children.Add($Panel) | Out-Null } - $ButtonInstall.add_Click({ButtonInstallClicked}) + $ButtonInstall.Add_Click({ButtonInstallClicked}) #region Sendkey function # Emulate the Backspace key sending to prevent the console window to freeze diff --git a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 index 40687043..fbe49a11 100644 --- a/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_10_PowerShell_7/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 10 (PowerShell 7)" Version: v5.15.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_11/Functions.ps1 b/src/Sophia_Script_for_Windows_11/Functions.ps1 index 2899d9c4..26253cb3 100644 --- a/src/Sophia_Script_for_Windows_11/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index d756dcae..bff85ede 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -13,7 +13,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2/23H2+ - Builds: 22000.1335+, 22621+ + Builds: 22000.1335+, 22621.963+ Editions: Home/Pro/Enterprise .LINK GitHub @@ -9365,17 +9365,17 @@ function Install-WSL $Panel = New-Object -TypeName System.Windows.Controls.StackPanel $RadioButton = New-Object -TypeName System.Windows.Controls.RadioButton $TextBlock = New-Object -TypeName System.Windows.Controls.TextBlock - $Panel.Orientation = "Horizontal" + $Panel.Orientation = "Horizontal" $RadioButton.GroupName = "WslDistro" $RadioButton.Tag = $Distro.Alias - $RadioButton.add_Checked({RadioButtonChecked}) + $RadioButton.Add_Checked({RadioButtonChecked}) $TextBlock.Text = $Distro.Distro $Panel.Children.Add($RadioButton) | Out-Null $Panel.Children.Add($TextBlock) | Out-Null $PanelContainer.Children.Add($Panel) | Out-Null } - $ButtonInstall.add_Click({ButtonInstallClicked}) + $ButtonInstall.Add_Click({ButtonInstallClicked}) #region Sendkey function # Emulate the Backspace key sending to prevent the console window to freeze @@ -9445,7 +9445,7 @@ function UnpinAllStartApps { Remove-Item "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start*.bin" -Force -ErrorAction Ignore - # https://gist.github.com/radtkedev + # https://gist.github.com/rad1ke $HexString = "E27AE14B01FC4D1B9C00810BDE6E51854E5A5F47005BB1498A5C92AF9084F95E9BDB91E2EEDDD701300B000067DEFA31529529B3D32D8092A6EB66C8D5EADB19CF9B13518AAB9 3275D9CEEF37E62C3574C036F327D1110AB0977996D67A2F8FA897D7207BEE85586B8CE6AD4F9736AA2154E3DCC9D082996984B76F1C73067F124F92A41F2B2CA83EF35436670979556FAE85AB10EA1 6C932C3AECE1D45DA06D64BC42F4565AD0FCB8C63CDE7F6BB97ACE300198C3EACA3E1C974F547B1A7CF5B9C6A912448AB38A3BE2D6F0230A4A9AACC710C3E75088754CC2FB054B55B1D6ED7AD41EB8B diff --git a/src/Sophia_Script_for_Windows_11/Sophia.ps1 b/src/Sophia_Script_for_Windows_11/Sophia.ps1 index c9e5c92b..96f37392 100644 --- a/src/Sophia_Script_for_Windows_11/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 11" Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -27,7 +27,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2 - Builds: 22000.1335+, 22621+ + Builds: 22000.1335+, 22621.963+ Editions: Home/Pro/Enterprise .NOTES diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 index a69c8d4d..e4202946 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Functions.ps1 @@ -3,7 +3,7 @@ The TAB completion for functions and their arguments Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 index 077d672f..6af5691d 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1 @@ -3,7 +3,7 @@ Sophia Script is a PowerShell module for Windows 10 & Windows 11 fine-tuning and automating the routine tasks Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -13,7 +13,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2/23H2+ - Builds: 22000.1335+, 22621+ + Builds: 22000.1335+, 22621.963+ Editions: Home/Pro/Enterprise .LINK GitHub @@ -9379,17 +9379,17 @@ function Install-WSL $Panel = New-Object -TypeName System.Windows.Controls.StackPanel $RadioButton = New-Object -TypeName System.Windows.Controls.RadioButton $TextBlock = New-Object -TypeName System.Windows.Controls.TextBlock - $Panel.Orientation = "Horizontal" + $Panel.Orientation = "Horizontal" $RadioButton.GroupName = "WslDistro" $RadioButton.Tag = $Distro.Alias - $RadioButton.add_Checked({RadioButtonChecked}) + $RadioButton.Add_Checked({RadioButtonChecked}) $TextBlock.Text = $Distro.Distro $Panel.Children.Add($RadioButton) | Out-Null $Panel.Children.Add($TextBlock) | Out-Null $PanelContainer.Children.Add($Panel) | Out-Null } - $ButtonInstall.add_Click({ButtonInstallClicked}) + $ButtonInstall.Add_Click({ButtonInstallClicked}) #region Sendkey function # Emulate the Backspace key sending to prevent the console window to freeze @@ -9459,7 +9459,7 @@ function UnpinAllStartApps { Remove-Item "$env:LOCALAPPDATA\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\start*.bin" -Force -ErrorAction Ignore - # https://gist.github.com/radtkedev + # https://gist.github.com/rad1ke $HexString = "E27AE14B01FC4D1B9C00810BDE6E51854E5A5F47005BB1498A5C92AF9084F95E9BDB91E2EEDDD701300B000067DEFA31529529B3D32D8092A6EB66C8D5EADB19CF9B13518AAB9 3275D9CEEF37E62C3574C036F327D1110AB0977996D67A2F8FA897D7207BEE85586B8CE6AD4F9736AA2154E3DCC9D082996984B76F1C73067F124F92A41F2B2CA83EF35436670979556FAE85AB10EA1 6C932C3AECE1D45DA06D64BC42F4565AD0FCB8C63CDE7F6BB97ACE300198C3EACA3E1C974F547B1A7CF5B9C6A912448AB38A3BE2D6F0230A4A9AACC710C3E75088754CC2FB054B55B1D6ED7AD41EB8B diff --git a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 index cd70e8ff..09d586b1 100644 --- a/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 +++ b/src/Sophia_Script_for_Windows_11_PowerShell_7/Sophia.ps1 @@ -3,7 +3,7 @@ Default preset file for "Sophia Script for Windows 11 (PowerShell 7)" Version: v6.3.1 - Date: 30.01.2023 + Date: 06.02.2023 Copyright (c) 2014—2023 farag Copyright (c) 2019—2023 farag & Inestic @@ -27,7 +27,7 @@ .NOTES Supported Windows 11 versions Versions: 21H2/22H2 - Builds: 22000.1335+, 22621+ + Builds: 22000.1335+, 22621.963+ Editions: Home/Pro/Enterprise .NOTES