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

fix meta for windows #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

truong0vanchien
Copy link

Hi Eltion,
if not os.path.exists(os.path.join(TEMP_FOLDER, file.filename)) and not file.filename.startswith("META-INF\\"):
I am assuming the line above will ignore folders having the word "META-INF", but it fails in Windows since the folder names in Windows does not contain characters "\".
So I add another case for Windows is "META-INF/". The complete line will be as below:
if not os.path.exists(os.path.join(TEMP_FOLDER, file.filename)) and not file.filename.startswith("META-INF\\") and not file.filename.startswith("META-INF/"):
Thanks for your project.
Just a quick question. How do you know which file you need to patch like libsscronet or libbytehook?
Thanks again.

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.

None yet

2 participants