Browse Source

Removed unnecessary strings and files

pull/411/head
Dmitry Nefedov 2 years ago
parent
commit
c402b956b6
  1. 8
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  2. BIN
      src/Sophia_Script_for_Windows_11/bin/Start_Layout/start.bin
  3. 8
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1
  4. BIN
      src/Sophia_Script_for_Windows_11_PowerShell_7/bin/Start_Layout/start.bin

8
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -183,12 +183,8 @@ function Checks
exit
}
# Check whether necessary files exist in the bin folder
$Files = @(
"$PSScriptRoot\..\bin\LGPO.exe",
"$PSScriptRoot\..\bin\Start_Layout\start.bin"
)
if (($Files | Test-Path) -contains $false)
# Check whether LGPO.exe exists in the bin folder
if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")
{
Write-Warning -Message $Localization.Bin
Start-Sleep -Seconds 5

BIN
src/Sophia_Script_for_Windows_11/bin/Start_Layout/start.bin

Binary file not shown.

8
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -183,12 +183,8 @@ function Checks
exit
}
# Check whether necessary files exist in the bin folder
$Files = @(
"$PSScriptRoot\..\bin\LGPO.exe",
"$PSScriptRoot\..\bin\Start_Layout\start.bin"
)
if (($Files | Test-Path) -contains $false)
# Check whether LGPO.exe exists in the bin folder
if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")
{
Write-Warning -Message $Localization.Bin
Start-Sleep -Seconds 5

BIN
src/Sophia_Script_for_Windows_11_PowerShell_7/bin/Start_Layout/start.bin

Binary file not shown.
Loading…
Cancel
Save