Browse Source

Added ASCII logo

master
Dmitry Nefedov 3 months ago
parent
commit
04e2987cd0
  1. 10
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 10
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 10
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 10
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 10
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

10
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

10
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

10
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

10
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

10
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

Loading…
Cancel
Save