Skip to content

Fix qpm qmod zip command file naming and validation#61

Open
DanTheMan827 wants to merge 1 commit intoQuestPackageManager:mainfrom
DanTheMan827:fix-qmod-filenames
Open

Fix qpm qmod zip command file naming and validation#61
DanTheMan827 wants to merge 1 commit intoQuestPackageManager:mainfrom
DanTheMan827:fix-qmod-filenames

Conversation

@DanTheMan827
Copy link
Contributor

Update the qpm qmod zip command to use the original file names in the resulting qmod and add checks for missing files and directories, ensuring proper error handling.

This fixes an issue where the file names in the resulting qmod are those of the resolved file path instead of the intended name.

- Check for missing files and panics if any are missing
- Check if any of the qmod paths are directories and panics if any are
- Use original file name for qmod
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.

1 participant