-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/533/optional default providers (#534)
* (#533) Move clipboard provider into dedicated package * (#533) Extend provider registry with checks for providers, disable loading of default clipboard provider via env var * (#533) Add safety checks when accessing providers to avoid errors before being able to load alternatives * (#533) Extend constants and provider registry to disable loading of other native providers as well. Preparing for further refactorings * (#533) Update sonar action
- Loading branch information
Showing
12 changed files
with
188 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export const DISABLE_DEFAULT_PROVIDERS_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_PROVIDERS"; | ||
export const DISABLE_DEFAULT_CLIPBOARD_PROVIDER_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_CLIPBOARD_PROVIDER"; | ||
export const DISABLE_DEFAULT_KEYBOARD_PROVIDER_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_KEYBOARD_PROVIDER"; | ||
export const DISABLE_DEFAULT_MOUSE_PROVIDER_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_MOUSE_PROVIDER"; | ||
export const DISABLE_DEFAULT_SCREEN_PROVIDER_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_SCREEN_PROVIDER"; | ||
export const DISABLE_DEFAULT_WINDOW_PROVIDER_ENV_VAR = | ||
"NUT_JS_DISABLE_DEFAULT_WINDOW_PROVIDER"; |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.