Skip to content

Fix install path to avoid nested modules folder #144

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robsgithub
Copy link

This updates the unzip logic in the installer to strip the leading "modules/"
prefix from extracted files, ensuring they're placed directly into
Documents/maya/modules/ as expected.

In some cases — possibly only when a 'modules/' folder already exists — the
installer was creating a nested path like modules/modules/simplex/, which Maya
does not scan by default.

A short video demonstrating the original issue:
https://www.youtube.com/watch?v=CIuHuzalAiE


Checklist

  • I have read the CONTRIBUTING.md document
  • I kept the change self-contained and avoided new dependencies
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation where necessary
  • [x ] Existing behavior continues to work as expected
  • I manually tested the fix in Maya

Types of Changes

  • Bugfix (installation path fix)
  • New Feature
  • Documentation Update

Proposed Changes

This change adjusts the zip extraction behavior so that Simplex installs cleanly
into the expected Documents/maya/modules location without nesting module folders. I tested it in Maya 2024 in a scenario where no modules folder was present and where one was present.

…dy exists

This updates the unzip logic in the installer to strip the leading "modules/"
prefix from extracted files, ensuring they're placed directly into
Documents/maya/modules/ as expected.

The installer was creating a nested path like modules/modules/simplex/, which Maya does not scan by default.

Created a video to demonstrate the issue at:
https://www.youtube.com/watch?v=CIuHuzalAiE
@CLAassistant
Copy link

CLAassistant commented Jul 16, 2025

CLA assistant check
All committers have signed the CLA.

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