Skip to content

Conversation

@iGabyTM
Copy link
Member

@iGabyTM iGabyTM commented Apr 5, 2023

external: located in the expansions folder
internal: registered by a plugin

Pull Request

Type

  • Internal change (Doesn't affect end-user).
  • External change (Does affect end-user).
  • Wiki (Changes towards the Wiki).
  • Other: __________

Description

Closes N/A

external: located in the `expansions` folder
internal: registered by a plugin
@iGabyTM iGabyTM added Target: Code This issue/PR is targeting the Code of PlaceholderAPI Type: Bugfix This fixes an existing bug in PlaceholderAPI. labels Apr 5, 2023
@iGabyTM iGabyTM requested a review from Starmism April 5, 2023 15:30
@Starmism Starmism linked an issue Apr 5, 2023 that may be closed by this pull request
4 tasks
@Andre601
Copy link
Collaborator

Andre601 commented Apr 8, 2023

Would it be possible to expose the boolean in some way for internal use?

It would allow us to check if the expansion is internal or external for stuff like checking for Updates on the ecloud (Avoiding false positives)

Or we could expose it publicly as a getter somehow (isLocalExpansion()/isCloudExpansion()), tho, not sure if that wouldn't allow others to manipulate PAPI in some way...

@Andre601
Copy link
Collaborator

Andre601 commented Apr 8, 2023

Line 304 in LocalExpansionManager should have a && isExternalExpansion added to avoid checking for updates with a local expansion.

iGabyTM added 2 commits July 9, 2023 00:07
If an internal expansion has the same identifier as an expansion that's published to the eCloud, PAPI will always show that an update is available.
@iGabyTM
Copy link
Member Author

iGabyTM commented Jul 8, 2023

Line 304 in LocalExpansionManager should have a && isExternalExpansion added to avoid checking for updates with a local expansion.

Done

@iGabyTM iGabyTM requested a review from Andre601 July 8, 2023 22:30
@iGabyTM iGabyTM merged commit 36fa9ac into master Jul 24, 2023
@iGabyTM iGabyTM deleted the feature/distinguish-expansions branch July 24, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Target: Code This issue/PR is targeting the Code of PlaceholderAPI Type: Bugfix This fixes an existing bug in PlaceholderAPI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider alternative solution for #864

6 participants