Skip to content

Commit b89f8f5

Browse files
committed
Refactored Install-DotNetRuntimes and Install-VCRedist functions
1 parent a5b054e commit b89f8f5

File tree

18 files changed

+1077
-2801
lines changed

18 files changed

+1077
-2801
lines changed

src/Sophia_Script_for_Windows_10/Module/Private/InitialActions.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
372372

373373
Write-Verbose -Message "https://youtu.be/na93MS-1EkM" -Verbose
374374
Write-Verbose -Message "https://pikabu.ru/story/byekdor_v_win_10_tweaker_ili_sovremennyie_metodyi_borbyi_s_piratstvom_8227558" -Verbose
375-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
375+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
376376
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
377377
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
378378

@@ -385,7 +385,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
385385
Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker)
386386
Write-Information -MessageData "" -InformationAction Continue
387387

388-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
388+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
389389
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
390390
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
391391

@@ -410,7 +410,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
410410
Write-Warning -Message ($Localization.TweakerWarning -f $Tweaker)
411411
Write-Information -MessageData "" -InformationAction Continue
412412

413-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
413+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
414414
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
415415
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
416416

@@ -472,7 +472,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
472472
Write-Warning -Message ($Localization.WindowsComponentBroken -f $([WinAPI.GetStrings]::GetString(22029)))
473473
Write-Information -MessageData "" -InformationAction Continue
474474

475-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
475+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
476476
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
477477
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
478478

@@ -497,7 +497,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
497497
Write-Warning -Message ($Localization.WindowsComponentBroken -f "UWP")
498498
Write-Information -MessageData "" -InformationAction Continue
499499

500-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
500+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
501501
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
502502
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
503503

@@ -524,7 +524,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
524524
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender")
525525
Write-Information -MessageData "" -InformationAction Continue
526526

527-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
527+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
528528
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
529529
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
530530

@@ -540,7 +540,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
540540
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender")
541541
Write-Information -MessageData "" -InformationAction Continue
542542

543-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
543+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
544544
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
545545
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
546546

@@ -565,7 +565,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
565565
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender")
566566
Write-Information -MessageData "" -InformationAction Continue
567567

568-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
568+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
569569
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
570570
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
571571

@@ -585,7 +585,7 @@ public static extern bool SetForegroundWindow(IntPtr hWnd);
585585
Write-Warning -Message ($Localization.WindowsComponentBroken -f "Microsoft Defender")
586586
Write-Information -MessageData "" -InformationAction Continue
587587

588-
Write-Verbose -Message "https://www.microsoft.com/software-download/windows10" -Verbose
588+
Write-Verbose -Message "https://massgrave.dev/genuine-installation-media" -Verbose
589589
Write-Verbose -Message "https://t.me/sophia_chat" -Verbose
590590
Write-Verbose -Message "https://discord.gg/sSryhaEv79" -Verbose
591591

0 commit comments

Comments
 (0)