chocolatey / ChocolateyGUI

A delicious GUI for Chocolatey
https://docs.chocolatey.org/en-us/chocolatey-gui/
Apache License 2.0
1.65k stars 251 forks source link

(maint) Allow better debugging of Chocolatey GUI #1024

Closed gep13 closed 1 year ago

gep13 commented 1 year ago

Description Of Changes

This commit introduces a change similar to what exists in Chocolatey CLI. While in debug mode, we source the installation location of both Chocolatey and the GUI Licensed assembly from a different location, rather than the official location.

Motivation and Context

This means that we can run the debug version of Chocolatey GUI using a locally sourced debug version of Chocolatey, which means that debugging some scenarios is much easier.

Testing

This PR should be tested alongside a PR into Chocolatey GUI Licensed, which makes use of this change.

Operating Systems Testing

N/A

Change Types Made

Change Checklist

Related Issue

N/A - This is merely for allowing better development experience when working with Chocolatey GUI

AdmiringWorm commented 1 year ago

@gep13 great work on getting this added 👍