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

PluginManager: capitalize folder and rename constant #1445

Closed
wants to merge 1 commit into from

Conversation

Luna712
Copy link
Contributor

@Luna712 Luna712 commented Dec 29, 2024

The plugins directory already creates in the capital version of the folder, just rename it to be capital here for consistency, and to be consistent with the name of the app

The plugins directory already creates in the capital version of the folder, just rename it to be capital here for consistency, and to be consistent with the name of the app
private val CLOUD_STREAM_FOLDER =
Environment.getExternalStorageDirectory().absolutePath + "/Cloudstream3/"
private val CLOUDSTREAM3_FOLDER =
Environment.getExternalStorageDirectory().absolutePath + "/CloudStream3/"
Copy link
Collaborator

Choose a reason for hiding this comment

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

"Linux file system treats file and directory names as case-sensitive" so this will break all current plugins that are located in "Cloudstream3". Loop all folders that match Cloudstream3 in a case insensitive manner if you want to solve this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense.

@Luna712
Copy link
Contributor Author

Luna712 commented Jan 4, 2025

I may do it later but for not I don't intend to put to much extra work into this minor change.

@Luna712 Luna712 closed this Jan 4, 2025
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.

2 participants