Browse Source

Added missing excluding UWP package

master
Dmitry Nefedov 1 year ago
parent
commit
9b16d65acc
  1. 9
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 6
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 6
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 9
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 9
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  6. 9
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

9
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -11029,6 +11029,9 @@ function UninstallUWPApps
# VP9 Video Extensions # VP9 Video Extensions
"Microsoft.VP9VideoExtensions", "Microsoft.VP9VideoExtensions",
# Webp Image Extensions
"Microsoft.WebpImageExtension",
# PowerShell # PowerShell
"Microsoft.PowerShell", "Microsoft.PowerShell",
@ -12439,9 +12442,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

6
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -9037,9 +9037,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

6
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -10152,9 +10152,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

9
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -11044,6 +11044,9 @@ function UninstallUWPApps
# VP9 Video Extensions # VP9 Video Extensions
"Microsoft.VP9VideoExtensions", "Microsoft.VP9VideoExtensions",
# Webp Image Extensions
"Microsoft.WebpImageExtension",
# PowerShell # PowerShell
"Microsoft.PowerShell", "Microsoft.PowerShell",
@ -12464,9 +12467,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

9
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -10679,6 +10679,9 @@ function UninstallUWPApps
# VP9 Video Extensions # VP9 Video Extensions
"Microsoft.VP9VideoExtensions", "Microsoft.VP9VideoExtensions",
# Webp Image Extensions
"Microsoft.WebpImageExtension",
# PowerShell # PowerShell
"Microsoft.PowerShell", "Microsoft.PowerShell",
@ -12104,9 +12107,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

9
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -10691,6 +10691,9 @@ function UninstallUWPApps
# VP9 Video Extensions # VP9 Video Extensions
"Microsoft.VP9VideoExtensions", "Microsoft.VP9VideoExtensions",
# Webp Image Extensions
"Microsoft.WebpImageExtension",
# PowerShell # PowerShell
"Microsoft.PowerShell", "Microsoft.PowerShell",
@ -12126,9 +12129,9 @@ while (`$true)
if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle) if (`$SourceMainWindowHandle -ne `$CurrentMainWindowHandle)
{ {
`$ShowWindowAsync = @{ `$ShowWindowAsync = @{
Namespace = """WinAPI""" Namespace = """WinAPI"""
Name = """Win32ShowWindowAsync""" Name = """Win32ShowWindowAsync"""
Language = """CSharp""" Language = """CSharp"""
MemberDefinition = @""" MemberDefinition = @"""
[DllImport("""user32.dll""")] [DllImport("""user32.dll""")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);

Loading…
Cancel
Save