Skip to content

Commit

Permalink
fix platform handeling
Browse files Browse the repository at this point in the history
  • Loading branch information
fscorrupt committed Mar 15, 2024
1 parent 91ab028 commit 5b1f567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PlexPosterMaker.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ param (
[switch]$Testing
)

$CurrentScriptVersion = "1.0.3"
$CurrentScriptVersion = "1.0.4"
$global:HeaderWritten = $false

#################
Expand Down Expand Up @@ -1367,7 +1367,7 @@ $config = Get-Content -Raw -Path $(Join-Path $global:ScriptRoot 'config.json') |
# Notification Part
$global:SendNotification = $config.Notification.SendNotification

if ($global:OSType -eq 'Unix' -and $env:POWERSHELL_DISTRIBUTION_CHANNEL -like 'PSDocker-Alpine*') {
if ($global:OSType -eq 'DockerAlpine') {
$Platform = 'Docker'
}
elseif ($global:OSType -eq 'Unix' -and $env:POWERSHELL_DISTRIBUTION_CHANNEL -notlike 'PSDocker-Alpine*') {
Expand Down
2 changes: 1 addition & 1 deletion Release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.4

0 comments on commit 5b1f567

Please sign in to comment.