Skip to content

Commit 4eaa58e

Browse files
committed
Minor improvements and fixes
bumped versions
1 parent 2a96da4 commit 4eaa58e

File tree

35 files changed

+1000
-841
lines changed

35 files changed

+1000
-841
lines changed

Download_Sophia.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
3838
{
3939
"17763"
4040
{
41-
# Check if Windows 10 is LTSC 2019
41+
# Check for Windows 10 LTSC 2019
4242
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName) -match "LTSC 2019")
4343
{
4444
$LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2019
@@ -69,7 +69,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber)
6969
}
7070
"19044"
7171
{
72-
# Check if Windows 10 is LTSC 2021
72+
# Check for Windows 10 LTSC 2021
7373
if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName) -match "LTSC 2021")
7474
{
7575
$LatestRelease = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2021

Wrapper/Config/config_Windows_10.json

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,70 @@
12021202
"Preset": "Zero",
12031203
"WindowsDefault": "One"
12041204
},
1205+
{
1206+
"Region": "System",
1207+
"Control": "cmb",
1208+
"Required": "false",
1209+
"Function": "RestartNotification",
1210+
"Arg": {
1211+
"Zero": {
1212+
"Tag": "Show"
1213+
},
1214+
"One": {
1215+
"Tag": "Hide"
1216+
}
1217+
},
1218+
"Preset": "Zero",
1219+
"WindowsDefault": "One"
1220+
},
1221+
{
1222+
"Region": "System",
1223+
"Control": "cmb",
1224+
"Required": "false",
1225+
"Function": "RestartDeviceAfterUpdate",
1226+
"Arg": {
1227+
"Zero": {
1228+
"Tag": "Enable"
1229+
},
1230+
"One": {
1231+
"Tag": "Disable"
1232+
}
1233+
},
1234+
"Preset": "Zero",
1235+
"WindowsDefault": "One"
1236+
},
1237+
{
1238+
"Region": "System",
1239+
"Control": "cmb",
1240+
"Required": "false",
1241+
"Function": "ActiveHours",
1242+
"Arg": {
1243+
"Zero": {
1244+
"Tag": "Automatically"
1245+
},
1246+
"One": {
1247+
"Tag": "Manually"
1248+
}
1249+
},
1250+
"Preset": "Zero",
1251+
"WindowsDefault": "One"
1252+
},
1253+
{
1254+
"Region": "System",
1255+
"Control": "cmb",
1256+
"Required": "false",
1257+
"Function": "WindowsLatestUpdate",
1258+
"Arg": {
1259+
"Zero": {
1260+
"Tag": "Disable"
1261+
},
1262+
"One": {
1263+
"Tag": "Enable"
1264+
}
1265+
},
1266+
"Preset": "Zero",
1267+
"WindowsDefault": "Zero"
1268+
},
12051269
{
12061270
"Region": "System",
12071271
"Control": "cmb",
@@ -1496,70 +1560,6 @@
14961560
"Preset": "Zero",
14971561
"WindowsDefault": "One"
14981562
},
1499-
{
1500-
"Region": "System",
1501-
"Control": "cmb",
1502-
"Required": "false",
1503-
"Function": "RestartNotification",
1504-
"Arg": {
1505-
"Zero": {
1506-
"Tag": "Show"
1507-
},
1508-
"One": {
1509-
"Tag": "Hide"
1510-
}
1511-
},
1512-
"Preset": "Zero",
1513-
"WindowsDefault": "One"
1514-
},
1515-
{
1516-
"Region": "System",
1517-
"Control": "cmb",
1518-
"Required": "false",
1519-
"Function": "RestartDeviceAfterUpdate",
1520-
"Arg": {
1521-
"Zero": {
1522-
"Tag": "Enable"
1523-
},
1524-
"One": {
1525-
"Tag": "Disable"
1526-
}
1527-
},
1528-
"Preset": "Zero",
1529-
"WindowsDefault": "One"
1530-
},
1531-
{
1532-
"Region": "System",
1533-
"Control": "cmb",
1534-
"Required": "false",
1535-
"Function": "ActiveHours",
1536-
"Arg": {
1537-
"Zero": {
1538-
"Tag": "Automatically"
1539-
},
1540-
"One": {
1541-
"Tag": "Manually"
1542-
}
1543-
},
1544-
"Preset": "Zero",
1545-
"WindowsDefault": "One"
1546-
},
1547-
{
1548-
"Region": "System",
1549-
"Control": "cmb",
1550-
"Required": "false",
1551-
"Function": "WindowsLatestUpdate",
1552-
"Arg": {
1553-
"Zero": {
1554-
"Tag": "Disable"
1555-
},
1556-
"One": {
1557-
"Tag": "Enable"
1558-
}
1559-
},
1560-
"Preset": "Zero",
1561-
"WindowsDefault": "Zero"
1562-
},
15631563
{
15641564
"Region": "System",
15651565
"Control": "chk",

Wrapper/Config/config_Windows_10_LTSC.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,6 +1094,60 @@
10941094
"LTSC2019": "true",
10951095
"LTSC2021": "true"
10961096
},
1097+
{
1098+
"Region": "System",
1099+
"Control": "cmb",
1100+
"Required": "false",
1101+
"Function": "RestartNotification",
1102+
"Arg": {
1103+
"Zero": {
1104+
"Tag": "Show"
1105+
},
1106+
"One": {
1107+
"Tag": "Hide"
1108+
}
1109+
},
1110+
"Preset": "Zero",
1111+
"WindowsDefault": "One",
1112+
"LTSC2019": "true",
1113+
"LTSC2021": "true"
1114+
},
1115+
{
1116+
"Region": "System",
1117+
"Control": "cmb",
1118+
"Required": "false",
1119+
"Function": "RestartDeviceAfterUpdate",
1120+
"Arg": {
1121+
"Zero": {
1122+
"Tag": "Enable"
1123+
},
1124+
"One": {
1125+
"Tag": "Disable"
1126+
}
1127+
},
1128+
"Preset": "Zero",
1129+
"WindowsDefault": "One",
1130+
"LTSC2019": "false",
1131+
"LTSC2021": "true"
1132+
},
1133+
{
1134+
"Region": "System",
1135+
"Control": "cmb",
1136+
"Required": "false",
1137+
"Function": "ActiveHours",
1138+
"Arg": {
1139+
"Zero": {
1140+
"Tag": "Automatically"
1141+
},
1142+
"One": {
1143+
"Tag": "Manually"
1144+
}
1145+
},
1146+
"Preset": "Zero",
1147+
"WindowsDefault": "One",
1148+
"LTSC2019": "true",
1149+
"LTSC2021": "true"
1150+
},
10971151
{
10981152
"Region": "System",
10991153
"Control": "cmb",
@@ -1422,60 +1476,6 @@
14221476
"LTSC2019": "true",
14231477
"LTSC2021": "true"
14241478
},
1425-
{
1426-
"Region": "System",
1427-
"Control": "cmb",
1428-
"Required": "false",
1429-
"Function": "RestartNotification",
1430-
"Arg": {
1431-
"Zero": {
1432-
"Tag": "Show"
1433-
},
1434-
"One": {
1435-
"Tag": "Hide"
1436-
}
1437-
},
1438-
"Preset": "Zero",
1439-
"WindowsDefault": "One",
1440-
"LTSC2019": "true",
1441-
"LTSC2021": "true"
1442-
},
1443-
{
1444-
"Region": "System",
1445-
"Control": "cmb",
1446-
"Required": "false",
1447-
"Function": "RestartDeviceAfterUpdate",
1448-
"Arg": {
1449-
"Zero": {
1450-
"Tag": "Enable"
1451-
},
1452-
"One": {
1453-
"Tag": "Disable"
1454-
}
1455-
},
1456-
"Preset": "Zero",
1457-
"WindowsDefault": "One",
1458-
"LTSC2019": "false",
1459-
"LTSC2021": "true"
1460-
},
1461-
{
1462-
"Region": "System",
1463-
"Control": "cmb",
1464-
"Required": "false",
1465-
"Function": "ActiveHours",
1466-
"Arg": {
1467-
"Zero": {
1468-
"Tag": "Automatically"
1469-
},
1470-
"One": {
1471-
"Tag": "Manually"
1472-
}
1473-
},
1474-
"Preset": "Zero",
1475-
"WindowsDefault": "One",
1476-
"LTSC2019": "true",
1477-
"LTSC2021": "true"
1478-
},
14791479
{
14801480
"Region": "System",
14811481
"Control": "chk",

0 commit comments

Comments
 (0)