diff --git a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 index 7138a9ee..6c1b35ae 100644 --- a/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10/Module/Sophia.psm1 @@ -935,11 +935,21 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); # Extract the localized "Skip" string from shell32.dll $Script:Skip = [WinAPI.GetStrings]::GetString(16956) + Write-Information -MessageData "┏┓ ┓ • ┏┓ • ┏ ┓ ┏• ┓ " -InformationAction Continue + Write-Information -MessageData "┗┓┏┓┏┓┣┓┓┏┓ ┗┓┏┏┓┓┏┓╋ ╋┏┓┏┓ ┃┃┃┓┏┓┏┫┏┓┓┏┏┏" -InformationAction Continue + Write-Information -MessageData "┗┛┗┛┣┛┛┗┗┗┻ ┗┛┗┛ ┗┣┛┗ ┛┗┛┛ ┗┻┛┗┛┗┗┻┗┛┗┻┛┛" -InformationAction Continue + Write-Information -MessageData " ┛ ┛ " -InformationAction Continue + + Write-Information -MessageData "https://t.me/sophianews" -InformationAction Continue + Write-Information -MessageData "https://t.me/sophia_chat" -InformationAction Continue + Write-Information -MessageData "https://discord.gg/sSryhaEv79" -InformationAction Continue + # Display a warning message about whether a user has customized the preset file if ($Warning) { # Get the name of a preset (e.g Sophia.ps1) regardless it was named # $_.File has no EndsWith() method + Write-Information -MessageData "" -InformationAction Continue $PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf Write-Verbose -Message ($Localization.CustomizationWarning -f $PresetName) -Verbose 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 c060ba8c..577dc5a7 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 @@ -904,11 +904,21 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); # Extract the localized "Skip" string from shell32.dll $Script:Skip = [WinAPI.GetStrings]::GetString(16956) + Write-Information -MessageData "┏┓ ┓ • ┏┓ • ┏ ┓ ┏• ┓ " -InformationAction Continue + Write-Information -MessageData "┗┓┏┓┏┓┣┓┓┏┓ ┗┓┏┏┓┓┏┓╋ ╋┏┓┏┓ ┃┃┃┓┏┓┏┫┏┓┓┏┏┏" -InformationAction Continue + Write-Information -MessageData "┗┛┗┛┣┛┛┗┗┗┻ ┗┛┗┛ ┗┣┛┗ ┛┗┛┛ ┗┻┛┗┛┗┗┻┗┛┗┻┛┛" -InformationAction Continue + Write-Information -MessageData " ┛ ┛ " -InformationAction Continue + + Write-Information -MessageData "https://t.me/sophianews" -InformationAction Continue + Write-Information -MessageData "https://t.me/sophia_chat" -InformationAction Continue + Write-Information -MessageData "https://discord.gg/sSryhaEv79" -InformationAction Continue + # Display a warning message about whether a user has customized the preset file if ($Warning) { # Get the name of a preset (e.g Sophia.ps1) regardless it was named # $_.File has no EndsWith() method + Write-Information -MessageData "" -InformationAction Continue $PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf Write-Verbose -Message ($Localization.CustomizationWarning -f $PresetName) -Verbose 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 936b9ffb..425956c8 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 @@ -904,11 +904,21 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); # Extract the localized "Skip" string from shell32.dll $Script:Skip = [WinAPI.GetStrings]::GetString(16956) + Write-Information -MessageData "┏┓ ┓ • ┏┓ • ┏ ┓ ┏• ┓ " -InformationAction Continue + Write-Information -MessageData "┗┓┏┓┏┓┣┓┓┏┓ ┗┓┏┏┓┓┏┓╋ ╋┏┓┏┓ ┃┃┃┓┏┓┏┫┏┓┓┏┏┏" -InformationAction Continue + Write-Information -MessageData "┗┛┗┛┣┛┛┗┗┗┻ ┗┛┗┛ ┗┣┛┗ ┛┗┛┛ ┗┻┛┗┛┗┗┻┗┛┗┻┛┛" -InformationAction Continue + Write-Information -MessageData " ┛ ┛ " -InformationAction Continue + + Write-Information -MessageData "https://t.me/sophianews" -InformationAction Continue + Write-Information -MessageData "https://t.me/sophia_chat" -InformationAction Continue + Write-Information -MessageData "https://discord.gg/sSryhaEv79" -InformationAction Continue + # Display a warning message about whether a user has customized the preset file if ($Warning) { # Get the name of a preset (e.g Sophia.ps1) regardless it was named # $_.File has no EndsWith() method + Write-Information -MessageData "" -InformationAction Continue $PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf Write-Verbose -Message ($Localization.CustomizationWarning -f $PresetName) -Verbose 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 ba23230a..26c69f3a 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 @@ -941,11 +941,21 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); # Extract the localized "Skip" string from shell32.dll $Script:Skip = [WinAPI.GetStrings]::GetString(16956) + Write-Information -MessageData "┏┓ ┓ • ┏┓ • ┏ ┓ ┏• ┓ " -InformationAction Continue + Write-Information -MessageData "┗┓┏┓┏┓┣┓┓┏┓ ┗┓┏┏┓┓┏┓╋ ╋┏┓┏┓ ┃┃┃┓┏┓┏┫┏┓┓┏┏┏" -InformationAction Continue + Write-Information -MessageData "┗┛┗┛┣┛┛┗┗┗┻ ┗┛┗┛ ┗┣┛┗ ┛┗┛┛ ┗┻┛┗┛┗┗┻┗┛┗┻┛┛" -InformationAction Continue + Write-Information -MessageData " ┛ ┛ " -InformationAction Continue + + Write-Information -MessageData "https://t.me/sophianews" -InformationAction Continue + Write-Information -MessageData "https://t.me/sophia_chat" -InformationAction Continue + Write-Information -MessageData "https://discord.gg/sSryhaEv79" -InformationAction Continue + # Display a warning message about whether a user has customized the preset file if ($Warning) { # Get the name of a preset (e.g Sophia.ps1) regardless it was named # $_.File has no EndsWith() method + Write-Information -MessageData "" -InformationAction Continue $PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf Write-Verbose -Message ($Localization.CustomizationWarning -f $PresetName) -Verbose diff --git a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 index 336f8bad..0bfbb4e6 100644 --- a/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_11/Module/Sophia.psm1 @@ -911,11 +911,21 @@ public static extern bool SetForegroundWindow(IntPtr hWnd); # Extract the localized "Skip" string from shell32.dll $Script:Skip = [WinAPI.GetStrings]::GetString(16956) + Write-Information -MessageData "┏┓ ┓ • ┏┓ • ┏ ┓ ┏• ┓ " -InformationAction Continue + Write-Information -MessageData "┗┓┏┓┏┓┣┓┓┏┓ ┗┓┏┏┓┓┏┓╋ ╋┏┓┏┓ ┃┃┃┓┏┓┏┫┏┓┓┏┏┏" -InformationAction Continue + Write-Information -MessageData "┗┛┗┛┣┛┛┗┗┗┻ ┗┛┗┛ ┗┣┛┗ ┛┗┛┛ ┗┻┛┗┛┗┗┻┗┛┗┻┛┛" -InformationAction Continue + Write-Information -MessageData " ┛ ┛ " -InformationAction Continue + + Write-Information -MessageData "https://t.me/sophianews" -InformationAction Continue + Write-Information -MessageData "https://t.me/sophia_chat" -InformationAction Continue + Write-Information -MessageData "https://discord.gg/sSryhaEv79" -InformationAction Continue + # Display a warning message about whether a user has customized the preset file if ($Warning) { # Get the name of a preset (e.g Sophia.ps1) regardless it was named # $_.File has no EndsWith() method + Write-Information -MessageData "" -InformationAction Continue $PresetName = Split-Path -Path (((Get-PSCallStack).Position | Where-Object -FilterScript {$_.File}).File | Where-Object -FilterScript {$_.EndsWith(".ps1")}) -Leaf Write-Verbose -Message ($Localization.CustomizationWarning -f $PresetName) -Verbose