Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#2078) Skip importing Chocolatey GUI Extension #2230

Merged
merged 2 commits into from
Apr 16, 2021

Conversation

gep13
Copy link
Member

@gep13 gep13 commented Apr 14, 2021

The Chocolatey GUI Extension is a "special" extension in the sense that
it isn't intended to work with Chocolatey directly, but it is shipped as
a "normal" Chocolatey extension. We don't want to load the
chocolateygui.licensed.dll into the choco.exe process, but rather leave
it alone, and allow Chocolatey GUI to load it when required.

We are already skipping one existing folder when looking for extension
paths, so this has been extended to include the chocolateygui foler.

Fixes #2078

@gep13 gep13 requested review from steviecoaster, pauby and vexx32 April 14, 2021 07:12
@gep13
Copy link
Member Author

gep13 commented Apr 14, 2021

This change results in the choco install windirstat command going from this:

image

to this:

image

when the Chocolatey GUI Licensed Extension is installed.

@gep13 gep13 force-pushed the feature/GH-2078 branch from bb5ce9c to fd48030 Compare April 14, 2021 07:48
The Chocolatey GUI Extension is a "special" extension in the sense that
it isn't intended to work with Chocolatey directly, but it is shipped as
a "normal" Chocolatey extension. We don't want to load the
chocolateygui.licensed.dll into the choco.exe process, but rather leave
it alone, and allow Chocolatey GUI to load it when required.
@gep13 gep13 force-pushed the feature/GH-2078 branch from fd48030 to de5b853 Compare April 16, 2021 12:07
@gep13 gep13 changed the base branch from master to stable April 16, 2021 12:08
The file predominately uses spaces, so remove the tabs to makes things
consistent.
@gep13
Copy link
Member Author

gep13 commented Apr 16, 2021

@pauby thank you for the review. Going to get this merged in.

@gep13 gep13 merged commit aaeaf1f into chocolatey:stable Apr 16, 2021
@gep13 gep13 deleted the feature/GH-2078 branch April 16, 2021 12:11
Copy link
Member

@ferventcoder ferventcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent loading of Chocolatey GUI Licensed Extension assembly
3 participants