Skip to content

Commit

Permalink
Minor improvements and fixes
Browse files Browse the repository at this point in the history
bumped versions
  • Loading branch information
farag2 committed Jul 7, 2024
1 parent 2a96da4 commit e6ade30
Show file tree
Hide file tree
Showing 36 changed files with 1,013 additions and 841 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 5.18.8 | 6.6.8 — 06.07.2024

* Removed `RestoreUWPApps`
* It doesn't work at all anymore.
* Removed `TempFolder` as it makes more harm than good;
* Fixed `OneDrive -Install -AllUsers` and `Install-WSL` functions;
* Improved all three scheduled tasks related functions;
* Improved `WindowsScriptHost -Disable`
* Now it checks whether scheduled tasks were created. If so, the function will be skipped to due to they rely on VBS scripts execution.
* Fixed typos;
* Minor changes;
* Thanks to Kudzor.

## 5.18.7 | 6.6.7 — 12.06.2024

* Fixed `CleanupTask -Register` function not working due to a typo;
Expand Down
4 changes: 2 additions & 2 deletions Download_Sophia.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
{
"17763"
{
# Check if Windows 10 is LTSC 2019
# Check for Windows 10 LTSC 2019
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName) -match "LTSC 2019")
{
$LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2019
Expand Down Expand Up @@ -69,7 +69,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
}
"19044"
{
# Check if Windows 10 is LTSC 2021
# Check for Windows 10 LTSC 2021
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName) -match "LTSC 2021")
{
$LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2021
Expand Down
128 changes: 64 additions & 64 deletions Wrapper/Config/config_Windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,70 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartNotification",
"Arg": {
"Zero": {
"Tag": "Show"
},
"One": {
"Tag": "Hide"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartDeviceAfterUpdate",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "ActiveHours",
"Arg": {
"Zero": {
"Tag": "Automatically"
},
"One": {
"Tag": "Manually"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable"
},
"One": {
"Tag": "Enable"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "System",
"Control": "cmb",
Expand Down Expand Up @@ -1496,70 +1560,6 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartNotification",
"Arg": {
"Zero": {
"Tag": "Show"
},
"One": {
"Tag": "Hide"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartDeviceAfterUpdate",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "ActiveHours",
"Arg": {
"Zero": {
"Tag": "Automatically"
},
"One": {
"Tag": "Manually"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "WindowsLatestUpdate",
"Arg": {
"Zero": {
"Tag": "Disable"
},
"One": {
"Tag": "Enable"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "System",
"Control": "chk",
Expand Down
108 changes: 54 additions & 54 deletions Wrapper/Config/config_Windows_10_LTSC.json
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,60 @@
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartNotification",
"Arg": {
"Zero": {
"Tag": "Show"
},
"One": {
"Tag": "Hide"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartDeviceAfterUpdate",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "ActiveHours",
"Arg": {
"Zero": {
"Tag": "Automatically"
},
"One": {
"Tag": "Manually"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
Expand Down Expand Up @@ -1422,60 +1476,6 @@
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartNotification",
"Arg": {
"Zero": {
"Tag": "Show"
},
"One": {
"Tag": "Hide"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "RestartDeviceAfterUpdate",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "false",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "ActiveHours",
"Arg": {
"Zero": {
"Tag": "Automatically"
},
"One": {
"Tag": "Manually"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "chk",
Expand Down
Loading

0 comments on commit e6ade30

Please sign in to comment.