* Added WinGet Validate
* Added Natural sorting
* Fixed support for hyphen
* Edited max trim combines
* Ignore PackageIdentifier line
Issue spotted when updating the "Microsoft.Office" manifest
* Out-File Fix
* Fixed Split for Powershell 5
* Fixed tags split for NewLocale
* Fixed NewLocale max Tags split
* Added more InstallerTypes
* Create SandboxTest script
* Add missing appx dependencies
* Clear temp folder
* Validate manifest before pushing to sandbox
* Fix invalid character in Sandbox.ps1
The dash character in -ExecutionPolicy was a special character which broke the command.
* Download dependencies on the fly
* remove vscode launch file
* Add newline in gitignore
* Fix when there is no temp folder
* Add Test in Sandbox to README
* Add some comments and enhance some messages
* Properly accept mandatory parameter
* Check if Windows Sandbox exist or not
* Fix Sandbox install snippet and typo
* Fix wrong conflict resolution in README
* Upgrade WinGet to v0.1.41821-preview
* Rewrite the whole script
Adding some cool features such as:
- Specify folder to mount (default to current)
- Make Manifest optional, so we can use the script to just start the
Sandbox and install WinGet
- Add optional Script parameter, to specify which script block to run
after all the steps inside the Sandbox
- Automatically refresh environment variables after installing the
Manifest, and leave the function Update-Environment available for the
users
- Use a temporary folder on system's temp directory, thus deleting the
.gitignore
- Make Powershell open maximized and without splash messages
- Improve overall UX both in local machine and in the Sandbox
- Close Sandbox automatically if needed
- Upgrade WinGet to latest version
Most of the refactor came from my PR at
https://github.com/chocolatey-community/chocolatey-coreteampackages/pull/1512
* Add tip for Update-Environment
* Fix relative paths on map folder
* Copy the manifest instead of installing from the source
* Fix call without manifest param and enhance logs
* Use VCLibs UWPDesktop from official source and update winget
* Add some missing new lines
* Fetch latest WinGet release automatically
* Add -SkipManifestValidation switch and fix checksum
* Fix TLS issues, handle PowerShell 7, remove unneeded VCLibs dep and fix manifest as folder
* Restore file/folder check for manifest
* Change checksum output filename
* Update Update-EnvironmentVariables function
Co-authored-by: chausner <chausner@users.noreply.github.com>
* YamlCreate v3
* Exclude current version
Exclude current version if you messed up and wanted to restart the script
* Added InstallerSuccessCodes
+ Added InstallerSuccessCodes
+ ProductCode hint
* Copypaste Typo
* InstallerSuccessCodes kept getting commented out..
* Fixed forgotten quotes in ProductCode
* Revert "Exclude current version"
This reverts commit bc7da021805e6e19d9978a1f4dabd277a008bec0.
* Hotfix for ProductCode not getting commeted out
* Now displays which lastversion is selected
* Replaced Comment out method
* Add NZXT CAM v4.22.0
* Update YamlCreate to Manifest v1.0.0
* Hotfix
+ Fixed some strong script breaking typo last minute changes on ShortDescription...
+ YamlCreate can now be used anywhere
* Revert "Add NZXT CAM v4.22.0"
This reverts commit c181784da181c4601f4df36f375e9fc9e99904f0.
* Revert "Revert "Add NZXT CAM v4.22.0""
This reverts commit 16c5afba3e288aba992262665b29fb3fe602e033.
* Revert "Revert "Revert "Add NZXT CAM v4.22.0"""
This reverts commit c0d5f8d6032dea1b4f3e0b1534ead60d6598d4f7.
* Update YamlCreate.ps1
+ Select menu
+ Function to only update version number, download url and hash
* Added Prompt's for everything
* Added support for new Locale
* Fixed Tags miss value and added Extensions, Protocols and Commands
* Moved Enter the URL to after old manifest check
* Proper Tag, Protocol, FileExtension and Command limit
* Increased some value limits
* Update MullvadVPN manifest
* Revert "Update MullvadVPN manifest"
This reverts commit cc92e4993f4642712d33c44b033a413e3477f5fa.
* Small Tweaks
* Added Encoding?
* Added Encoding for Update and NewLocale
* Added ProductCode variable
* Added ProductCode to Update switch
* Moved Publisher and PackageName
* Added Custom switch
* Custom variable hotfix
* Fixed another tiny bug..
* Make script PSv5 compatible again, apply some PS best practices
* this commit removes PowerShell Core only features that were introduced with #2378 to ensure compatibility with PSv5
* adds comment based help
* use consistently cased Cmdlet and variable names
* improves input data related error handling
* adds PS code regions for automatic code folding
* automates the creation of the manifest file at the correct destination path
* corrects the use of Write-Host and Write-Output
Fixes#3061
* Adhere to YAML formatting conventions
* Use cross-platform new line handling
Co-authored-by: Sebastian Neumann <sebastian.neumann@experienceone.com>
* Add silent switches prompt
Added prompts for optional silent switches
* Added $InstallerType logic for silent switches
Only prompt for silent switches if $InstallerType is "exe"
* requirement: id min 4 max 255 characters
* minimum requirements for manifest
* requriements for licenseurl when filled minimum 10 maximum 2000 chars
* requriements for appmoniker when filled maximum 40 chars
* requriements for tags when filled maximum 40 chars
* requriements for homepage when filled minimum 10 maximum 2000 chars
* requriements for description when filled maximum 500 chars
* catch failed download and exit the script