diff --git a/.gitignore b/.gitignore index d8f1326d..1e6ee9a7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ # Package folders packages/**/Package -packages/**/*.png auth.ps1 auth.json output/** diff --git a/scripts/Create-Win32App.ps1 b/scripts/Create-Win32App.ps1 index 1cf7f836..ac2e28e0 100644 --- a/scripts/Create-Win32App.ps1 +++ b/scripts/Create-Win32App.ps1 @@ -65,11 +65,10 @@ process { else { # Only if file already exists if (Test-Path -Path $AppIconFile) { - $AppIconFile = $AppData.PackageInformation.IconFile + $AppIconFile = [System.IO.Path]::Combine((Get-Item $Json).DirectoryName, $AppData.PackageInformation.IconFile) } else { $AppIconFile = $null } - } # Create default requirement rule