Browse Source

Fixed EditWithPhotosContext function

pull/411/head
Dmitry Nefedov 2 years ago
parent
commit
4573448bcb
  1. 3
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  2. 3
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

3
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -12358,6 +12358,8 @@ function EditWithPhotosContext
$Show
)
if ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -le 22623)
{
if (Get-AppxPackage -Name Microsoft.Windows.Photos)
{
switch ($PSCmdlet.ParameterSetName)
@ -12373,6 +12375,7 @@ function EditWithPhotosContext
}
}
}
}
<#
.SYNOPSIS

3
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -12396,6 +12396,8 @@ function EditWithPhotosContext
$Show
)
if ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber -le 22623)
{
if (Get-AppxPackage -Name Microsoft.Windows.Photos)
{
switch ($PSCmdlet.ParameterSetName)
@ -12411,6 +12413,7 @@ function EditWithPhotosContext
}
}
}
}
<#
.SYNOPSIS

Loading…
Cancel
Save