-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#829) Ensure application starts without global db
There is a situation when the global configuration database doesn't exist, for example, when Chocolatey GUI is installed by administrator but never executed by that user. When running as a non-administrrator user, the application would then crash. This changes makes it possible for the application to simply ignore the fact that the global database doesn't exist, and instead, simply use the default settings, with no attempt to then write any values back to the database. In order to work correctly, there is an update required in the Chocolatey GUI Licensed extension to make things work there as well.
- Loading branch information
Showing
3 changed files
with
70 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters