Skip to content

Commit ba9f361

Browse files
committed
Fixed missing old cursor pack
1 parent b299515 commit ba9f361

File tree

11 files changed

+56
-56
lines changed

11 files changed

+56
-56
lines changed

Misc/dark.zip

-6.18 KB
Binary file not shown.

Misc/dark_new.zip

39.5 KB
Binary file not shown.

Misc/light.zip

-4.38 KB
Binary file not shown.

Misc/light_new.zip

36.9 KB
Binary file not shown.

src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4879,8 +4879,8 @@ function Cursors
48794879

48804880
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
48814881
$Parameters = @{
4882-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
4883-
OutFile = "$DownloadsFolder\dark.zip"
4882+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
4883+
OutFile = "$DownloadsFolder\dark_new.zip"
48844884
UseBasicParsing = $true
48854885
Verbose = $true
48864886
}
@@ -4892,7 +4892,7 @@ function Cursors
48924892
}
48934893

48944894
# Extract archive
4895-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
4895+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
48964896

48974897
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
48984898
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -4941,7 +4941,7 @@ function Cursors
49414941

49424942
Start-Sleep -Seconds 1
49434943

4944-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
4944+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
49454945
}
49464946
catch [System.Net.WebException]
49474947
{
@@ -4965,8 +4965,8 @@ function Cursors
49654965

49664966
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
49674967
$Parameters = @{
4968-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
4969-
OutFile = "$DownloadsFolder\light.zip"
4968+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
4969+
OutFile = "$DownloadsFolder\light_new.zip"
49704970
UseBasicParsing = $true
49714971
Verbose = $true
49724972
}
@@ -4978,7 +4978,7 @@ function Cursors
49784978
}
49794979

49804980
# Extract archive
4981-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
4981+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
49824982

49834983
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
49844984
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -5027,7 +5027,7 @@ function Cursors
50275027

50285028
Start-Sleep -Seconds 1
50295029

5030-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
5030+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
50315031
}
50325032
catch [System.Net.WebException]
50335033
{

src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3776,8 +3776,8 @@ function Cursors
37763776

37773777
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
37783778
$Parameters = @{
3779-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
3780-
OutFile = "$DownloadsFolder\dark.zip"
3779+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
3780+
OutFile = "$DownloadsFolder\dark_new.zip"
37813781
UseBasicParsing = $true
37823782
Verbose = $true
37833783
}
@@ -3789,7 +3789,7 @@ function Cursors
37893789
}
37903790

37913791
# Extract archive
3792-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
3792+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
37933793

37943794
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
37953795
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -3838,7 +3838,7 @@ function Cursors
38383838

38393839
Start-Sleep -Seconds 1
38403840

3841-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
3841+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
38423842
}
38433843
catch [System.Net.WebException]
38443844
{
@@ -3862,8 +3862,8 @@ function Cursors
38623862

38633863
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
38643864
$Parameters = @{
3865-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
3866-
OutFile = "$DownloadsFolder\light.zip"
3865+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
3866+
OutFile = "$DownloadsFolder\light_new.zip"
38673867
UseBasicParsing = $true
38683868
Verbose = $true
38693869
}
@@ -3875,7 +3875,7 @@ function Cursors
38753875
}
38763876

38773877
# Extract archive
3878-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
3878+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
38793879

38803880
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
38813881
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -3924,7 +3924,7 @@ function Cursors
39243924

39253925
Start-Sleep -Seconds 1
39263926

3927-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
3927+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
39283928
}
39293929
catch [System.Net.WebException]
39303930
{

src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4158,8 +4158,8 @@ function Cursors
41584158

41594159
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
41604160
$Parameters = @{
4161-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
4162-
OutFile = "$DownloadsFolder\dark.zip"
4161+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
4162+
OutFile = "$DownloadsFolder\dark_new.zip"
41634163
UseBasicParsing = $true
41644164
Verbose = $true
41654165
}
@@ -4171,7 +4171,7 @@ function Cursors
41714171
}
41724172

41734173
# Extract archive
4174-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
4174+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
41754175

41764176
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
41774177
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -4220,7 +4220,7 @@ function Cursors
42204220

42214221
Start-Sleep -Seconds 1
42224222

4223-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
4223+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
42244224
}
42254225
catch [System.Net.WebException]
42264226
{
@@ -4244,8 +4244,8 @@ function Cursors
42444244

42454245
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
42464246
$Parameters = @{
4247-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
4248-
OutFile = "$DownloadsFolder\light.zip"
4247+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
4248+
OutFile = "$DownloadsFolder\light_new.zip"
42494249
UseBasicParsing = $true
42504250
Verbose = $true
42514251
}
@@ -4257,7 +4257,7 @@ function Cursors
42574257
}
42584258

42594259
# Extract archive
4260-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
4260+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
42614261

42624262
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
42634263
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -4306,7 +4306,7 @@ function Cursors
43064306

43074307
Start-Sleep -Seconds 1
43084308

4309-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
4309+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
43104310
}
43114311
catch [System.Net.WebException]
43124312
{

src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4897,8 +4897,8 @@ function Cursors
48974897

48984898
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
48994899
$Parameters = @{
4900-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
4901-
OutFile = "$DownloadsFolder\dark.zip"
4900+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
4901+
OutFile = "$DownloadsFolder\dark_new.zip"
49024902
UseBasicParsing = $true
49034903
Verbose = $true
49044904
}
@@ -4910,7 +4910,7 @@ function Cursors
49104910
}
49114911

49124912
# Extract archive
4913-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
4913+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
49144914

49154915
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
49164916
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -4959,7 +4959,7 @@ function Cursors
49594959

49604960
Start-Sleep -Seconds 1
49614961

4962-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
4962+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
49634963
}
49644964
catch [System.Net.WebException]
49654965
{
@@ -4983,8 +4983,8 @@ function Cursors
49834983

49844984
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
49854985
$Parameters = @{
4986-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
4987-
OutFile = "$DownloadsFolder\light.zip"
4986+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
4987+
OutFile = "$DownloadsFolder\light_new.zip"
49884988
UseBasicParsing = $true
49894989
Verbose = $true
49904990
}
@@ -4996,7 +4996,7 @@ function Cursors
49964996
}
49974997

49984998
# Extract archive
4999-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
4999+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
50005000

50015001
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
50025002
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -5045,7 +5045,7 @@ function Cursors
50455045

50465046
Start-Sleep -Seconds 1
50475047

5048-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
5048+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
50495049
}
50505050
catch [System.Net.WebException]
50515051
{

src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,8 +4281,8 @@ function Cursors
42814281

42824282
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
42834283
$Parameters = @{
4284-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
4285-
OutFile = "$DownloadsFolder\dark.zip"
4284+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
4285+
OutFile = "$DownloadsFolder\dark_new.zip"
42864286
UseBasicParsing = $true
42874287
Verbose = $true
42884288
}
@@ -4294,7 +4294,7 @@ function Cursors
42944294
}
42954295

42964296
# Extract archive
4297-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
4297+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
42984298

42994299
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
43004300
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -4343,7 +4343,7 @@ function Cursors
43434343

43444344
Start-Sleep -Seconds 1
43454345

4346-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
4346+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
43474347
}
43484348
catch [System.Net.WebException]
43494349
{
@@ -4367,8 +4367,8 @@ function Cursors
43674367

43684368
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
43694369
$Parameters = @{
4370-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
4371-
OutFile = "$DownloadsFolder\light.zip"
4370+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
4371+
OutFile = "$DownloadsFolder\light_new.zip"
43724372
UseBasicParsing = $true
43734373
Verbose = $true
43744374
}
@@ -4380,7 +4380,7 @@ function Cursors
43804380
}
43814381

43824382
# Extract archive
4383-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
4383+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
43844384

43854385
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
43864386
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -4429,7 +4429,7 @@ function Cursors
44294429

44304430
Start-Sleep -Seconds 1
44314431

4432-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
4432+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
44334433
}
44344434
catch [System.Net.WebException]
44354435
{

src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4123,8 +4123,8 @@ function Cursors
41234123

41244124
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
41254125
$Parameters = @{
4126-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark.zip"
4127-
OutFile = "$DownloadsFolder\dark.zip"
4126+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/dark_new.zip"
4127+
OutFile = "$DownloadsFolder\dark_new.zip"
41284128
UseBasicParsing = $true
41294129
Verbose = $true
41304130
}
@@ -4136,7 +4136,7 @@ function Cursors
41364136
}
41374137

41384138
# Extract archive
4139-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
4139+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\dark_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Dark Free"
41404140

41414141
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Dark Free by Jepri Creations" -Force
41424142
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Dark Free\appstarting.ani" -Force
@@ -4185,7 +4185,7 @@ function Cursors
41854185

41864186
Start-Sleep -Seconds 1
41874187

4188-
Remove-Item -Path "$DownloadsFolder\dark.zip" -Force
4188+
Remove-Item -Path "$DownloadsFolder\dark_new.zip" -Force
41894189
}
41904190
catch [System.Net.WebException]
41914191
{
@@ -4209,8 +4209,8 @@ function Cursors
42094209

42104210
$DownloadsFolder = Get-ItemPropertyValue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -Name "{374DE290-123F-4565-9164-39C4925E467B}"
42114211
$Parameters = @{
4212-
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light.zip"
4213-
OutFile = "$DownloadsFolder\light.zip"
4212+
Uri = "https://github.com/farag2/Sophia-Script-for-Windows/raw/master/Misc/light_new.zip"
4213+
OutFile = "$DownloadsFolder\light_new.zip"
42144214
UseBasicParsing = $true
42154215
Verbose = $true
42164216
}
@@ -4222,7 +4222,7 @@ function Cursors
42224222
}
42234223

42244224
# Extract archive
4225-
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
4225+
& "$env:SystemRoot\System32\tar.exe" -xvf "$DownloadsFolder\light_new.zip" -C "$env:SystemRoot\Cursors\W11 Cursor Light Free"
42264226

42274227
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name "(default)" -PropertyType String -Value "W11 Cursor Light Free by Jepri Creations" -Force
42284228
New-ItemProperty -Path "HKCU:\Control Panel\Cursors" -Name AppStarting -PropertyType ExpandString -Value "%SystemRoot%\Cursors\W11 Cursor Light Free\appstarting.ani" -Force
@@ -4271,7 +4271,7 @@ function Cursors
42714271

42724272
Start-Sleep -Seconds 1
42734273

4274-
Remove-Item -Path "$DownloadsFolder\light.zip" -Force
4274+
Remove-Item -Path "$DownloadsFolder\light_new.zip" -Force
42754275
}
42764276
catch [System.Net.WebException]
42774277
{

0 commit comments

Comments
 (0)