Skip to content

Commit c9fd76e

Browse files
authored
Merge pull request #5 from Romanitho/url-fix
PackageUrl and PrivacyUrl fix
2 parents 8aa2b49 + e1e8c55 commit c9fd76e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Compiler/ps2exe.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$Path = Split-Path $PSScriptRoot -Parent
66
$Icon = "$Path\sources\WingetIntunePackager.ico"
77
$Title = "WingetIntunePackager"
8-
$AppVersion = "1.1.3"
8+
$AppVersion = "1.1.4"
99
$InputFile = "$Path\sources\$Title.ps1"
1010
$OutputFile = "$Path\Compiler\$Title.exe"
1111
Invoke-ps2exe -inputFile $InputFile -outputFile $OutputFile -noConsole -title $Title -version $AppVersion -copyright "Romanitho" -product $Title -icon $Icon -noerror #-requireAdmin

sources/WingetIntunePackager.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://github.com/Romanitho/Winget-Intune-Packager
99
### APP INFO ###
1010

1111
#Winget Intune Packager version
12-
$Script:WingetIntunePackager = "1.1.3"
12+
$Script:WingetIntunePackager = "1.1.4"
1313
#Winget-Install Github Link
1414
$Script:WIGithubLink = "https://github.com/Romanitho/Winget-Install/archive/refs/tags/v1.10.1.zip"
1515
#Winget Intune Packager Icon Base64
@@ -530,10 +530,10 @@ function Invoke-IntunePackage ($Win32AppArgs) {
530530
$Win32AppArgs.Publisher = $AppInfo.Publisher
531531
}
532532
if ($AppInfo.PackageUrl) {
533-
$Win32AppArgs.InformationURL = $AppInfo.PackageUrl
533+
$Win32AppArgs.InformationURL = $AppInfo.PackageUrl.replace("'","")
534534
}
535535
if ($AppInfo.PrivacyUrl) {
536-
$Win32AppArgs.PrivacyURL = $AppInfo.PrivacyUrl
536+
$Win32AppArgs.PrivacyURL = $AppInfo.PrivacyUrl.replace("'","")
537537
}
538538
if ($AppInfo.Author) {
539539
$Win32AppArgs.Developer = $AppInfo.Author

0 commit comments

Comments
 (0)