Commit Graph
36 Commits
Author SHA1 Message Date
PckgrBot 78ffdb3543 Revert "Make Authenticated Calls to GitHub" (#168747) 2024-08-22 13:56:56 -07:00
Kaleb LuedtkeandAsciiWolf aa40916185 Make Authenticated Calls to GitHub (#168384)
Co-authored-by: AsciiWolf <mail@asciiwolf.com>
2024-08-21 18:53:47 -07:00
Kaleb Luedtke 4a769b36e3 Set GeoID in sandbox to prevent msstore source errors (#160554) 2024-06-28 08:53:19 -07:00
Kaleb Luedtke ee8d47de17 UI Packages are now at Github (#141342) 2024-02-28 13:24:21 -08:00
Kaleb Luedtke 636d4e340a Add NuGet workaround for Sandbox Test (#141319) 2024-02-28 11:58:06 -08:00
Kaleb Luedtke 0b3d3ebdf9 Ensure SandboxTest falls back correctly (#141251)
* Validate that the package installed successfully even if no errors were thrown

* Use ErrorAction instead of command check
2024-02-28 08:11:02 -08:00
Kaleb Luedtke 8cefcfaf51 Use Repair-WinGetPackageManager as a fallback install method (#137066)
* Use Repair-WinGetPackageManager instead of managing dependencies directly

* Remove download of the dependencies

* Add back some spaces

* Update experimental features

* * Fix error with variable parsing
* Fix ScriptAnalyzer warnings
* Add Try-Catch
* Update comment

* Missed a variable

* Use function for backup instead of as primary
2024-02-01 09:41:08 -08:00
Kaleb Luedtke aa463fbbb6 Update VCLibs Hash for SandboxTest.ps1 (#136894) 2024-01-29 06:52:47 -08:00
Kaleb Luedtke 1fabed40ac Lint Community Scripts (#132425)
* Lint Community Scripts

* Fix ScriptAnalyzer warnings and properly justify suppressed items

* Bump Version

* Fix PS7 Analyzer Errors
2024-01-02 10:02:09 -08:00
Kaleb Luedtke 6ca7da6b41 Set dependency source for sandboxTest script (#131323) 2023-12-19 11:59:56 -08:00
Sander Cox 6dd5731f74 Environment variables ending with Path show error (#124995)
When new environment variables ending with Path such as "VK_SDK_PATH"
complain that it cannot execute the Get-Content on the empty path (as
the variable was not set before). This shows errors when running the
SandboxTest but those are not really errors.
2023-11-06 16:05:01 -08:00
べ断桥烟雨ミ 42841dd33d New feature: Add a switch for additional options of WinGet (#122289) 2023-10-10 12:27:58 -07:00
Charlie Chen 8b633a037b Show scope and exclude invisible entries in SandboxTest (#118742) 2023-09-05 11:19:51 -07:00
Kaleb Luedtke ac0354ff8e [SandboxTest.ps1] Use the GitHub release instead of downloading the NuGet package (#111941) 2023-07-12 09:25:09 -07:00
SpecterShell 8a985b608c Suppress Safety Warning in SandboxTest.ps1 (#108489) 2023-05-30 17:45:12 -07:00
Kaleb Luedtke 3ec035bdd1 Fix Error in SandboxTest.ps1 (#106728)
* Use Count instead of Length to prevent no version

* Fix PRTest too
2023-05-15 10:15:27 -07:00
Kaleb LuedtkeandMuhammad Danish 3a2435d697 Add -WinGetVersion switch to SandboxTest (#106359)
* Add -WinGetVersion switch to SandboxTest

* Update SandboxTest.md (#182)

* Update SandboxTest.md

* Fix description

---------

Co-authored-by: Muhammad Danish <mdanishkhdev@gmail.com>
2023-05-12 09:55:39 -07:00
Kaleb Luedtke 24a590af64 Update SandboxTest.ps1 (#106266) 2023-05-09 14:09:57 -07:00
Kaleb Luedtke 21ba86cec0 Ignore Malware Scan in Sandbox (#96095) 2023-02-10 11:11:13 -08:00
Kaleb Luedtke eee108f59d Add Documentation for manifest 1.4 (#87347)
* Add Documentation for manifest 1.4

* Update docs with respect to .zip

* Clarify language
2023-01-24 09:56:28 -08:00
Kaleb Luedtke efee984708 Standardize Whitespace (#77880)
* Fix Spellcheck

* Standardize Whitespace

* Additional Whitespace fixes

* Fix more whitespace
2022-09-11 14:08:24 -07:00
Kaleb Luedtke 49d9d01b93 Update Line endings of Project Files (#76506)
* Update Line endings of Project Files

* Add .editorconfig line endings
2022-09-01 10:06:57 -07:00
Kaleb LuedtkeandEsco 81b0fa51c8 Enable Zip Testing in Sandbox (#68822)
* Enable Zip Testing in Sandbox

* Suggested Changes

Co-authored-by: Esco <OfficialEsco@users.noreply.github.com>
2022-08-09 10:37:42 -07:00
Easton Pillay 4e8a89cddd Fixed hash for VCLibs in SandboxTest.ps1. (#65810) 2022-07-11 15:04:40 -07:00
Kaleb Luedtke 39d5f240a4 Configure Sandbox and PRTest for experimental features (#57405)
* Allow SandboxTest to use prerelease client

* Experimental Features

* Splat Params
2022-04-12 09:03:02 -07:00
Joakim 5865f22530 Fixed SandboxTest after fixed typo (#50223) 2022-03-05 13:18:47 -08:00
Easton Pillay 6500c4a8be Fixed SandboxTest.ps1 to be compatible with winget v1.2. (#50164)
* Added Microsoft UI XAML dependency to SandboxTest.ps1.

* Fixed spelling for hash file.
2022-03-05 13:03:45 -08:00
Kaleb Luedtke a2954b1d2d Make sandbox always log verbose install (#49783) 2022-03-02 12:51:44 -08:00
Kaleb Luedtke 5df4f44109 Compare ARP Entries even when Publisher is Null (#34389) 2021-11-12 13:24:41 -08:00
Kaleb Luedtke 6d7409ef4f Open ARP Entries after Install (#34333)
* Open ARP Entries after Install

* Adjust output and spacing

* Update ARP Display Method

* Update ARP Display Method
2021-11-08 10:24:29 -08:00
Kaleb Luedtke c5d7c3c1ba Throw Specific Exception Types (#29592) 2021-10-06 10:52:08 -07:00
Kaleb Luedtke 3c6d0d6cf2 Fix: Treat warnings as non-fatal (#29312) 2021-10-04 08:29:21 -07:00
Kaleb Luedtke 09d6a36561 Fix: Update VCLibs Hash; Enable Local Manifest Files (#28964) 2021-09-29 14:24:58 -07:00
Joakim 6866c20338 Removed en-US in links (#22054) 2021-07-23 09:16:14 -07:00
Joakim 9b5f971308 Fixed SandboxTest.ps1 after winget-cli update (#18812) 2021-06-25 15:25:28 -07:00
Felipe Santosandchausner 9619e1aa83 Create SandboxTest script (#827)
* 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>
2021-05-03 11:36:36 -07:00