Skip to content

Commit

Permalink
Fixes powrshell 5.1 #14
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Nov 19, 2024
1 parent 88383d5 commit 1d51c1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PowerBGInfo.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DotNetFrameworkVersion = '4.7.2'
FunctionsToExport = @('New-BGInfo', 'New-BGInfoLabel', 'New-BGInfoValue')
GUID = '91b9c52d-6a39-4a65-a276-409b9390ee04'
ModuleVersion = '0.0.4'
ModuleVersion = '0.0.5'
PowerShellVersion = '5.1'
PrivateData = @{
PSData = @{
Expand Down
2 changes: 1 addition & 1 deletion Public/New-BGInfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
# Copy wallpaper to use as a base
$FileName = [io.path]::GetFileName($Configuration['OriginalImage'])
$FileNameWithoutExtension = [io.path]::GetFileNameWithoutExtension(($Configuration['OriginalImage']))
$FileNameExtension = $FileName | Split-Path -Extension
$FileNameExtension = [io.path]::GetExtension($FileName)
$NewFileName = "$($FileNameWithoutExtension)_PowerBgInfo" + $FileNameExtension
$FilePathOutput = [io.path]::Combine($ConfigurationDirectory, $NewFileName)

Expand Down

0 comments on commit 1d51c1f

Please sign in to comment.