* 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>
* Require the use of version specific download URLs
Download paths should point to the binary that matches the version number and hash mentioned in the manifest and the guidelines should reflect that clearly.
Generic paths that point to whatever happens to be the latest version causes the hash verification system to fail.
* Update README.md
URL is Pascal Case in the manifest.
Co-authored-by: Kevin Larkin (MS) <kevinla@microsoft.com>
Co-authored-by: denelon <denelon@microsoft.com>
* Add a link to submit a file for malware analysis
A link is needed otherwise contributor don't know where to prevent false positive
* Update README.md
Co-authored-by: denelon <denelon@microsoft.com>
* Add advice
At this time winget don't support more than one installer, such as giving both installer of x86 and installer of x64. Contributor are supposed to be told to avoid barren efforts
* Update README.md
Co-authored-by: Kevin Larkin (MS) <kevinla@microsoft.com>