Repository navigation
Conversation
An installer dropped in the app always got an environment of its own, even from a vendor licensed through iLok. Its plug-ins could not be activated there, because only the iLok environment has PACE. When the installer's CompanyName names a vendor the iLok environment already holds, Plugg now asks whether it goes there or into its own environment. Nothing else is asked about. "plugg install" stops with the same question and names both commands; --own-environment skips it. A vendor new to the iLok environment is caught after the install. Plug-ins carrying PACE's wrapper (sections .proxy, .mfrt and .oldrel) are not loaded in an environment without PACE. The card says they use iLok and offers to run the same installer in the iLok environment, then dismisses the first attempt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #23. After #23 is merged, this branch needs a rebase onto
mainand its base changed tomain.Problem
An installer dropped in the app always got an environment of its own, even from a vendor licensed through iLok. Its plug-ins could not be activated there, because only the iLok environment has PACE. Installing into the iLok environment was only possible through
plugg ilok install.Change
Before the install: ask only for known iLok vendors. If the installer's
CompanyNamenames a vendor that the iLok environment already holds, Plugg asks: Cancel / Own environment / iLok environment (the default). Other installers are not asked about. The match is word by word from the start of the name, so "Neural DSP Technologies" matches a recorded "Neural DSP" and "Neural" matches nothing. The name is a hint, not proof, so Plugg asks instead of routing silently.plugg installstops with the same question, naming both commands, and--own-environmentskips it.After the install: catch iLok vendors Plugg hasn't seen there. Plug-ins that PACE protects carry its wrapper: PE sections
.proxy,.mfrtand.oldrel. In an environment without PACE, Plugg doesn't load them. The card says they use iLok and offers Install in iLok environment, which runs the kept installer there and then dismisses the first attempt. The environment that attempt made goes to cleanup. Nothing in it can have been activated, since it has no PACE. Plug-ins without the wrapper in the same install are published as usual. Inside the iLok environment nothing changes.Checked read-only against a real library: all 11 PACE-wrapped modules out of 85 are in the iLok environment. The 71 plug-ins in other environments have no wrapper (Native Instruments, kiloHearts, Arturia, Klevgrand, Plugin Alliance, XLN, Melodyne). UA and Softube use iLok without the wrapper and were already sent to the iLok environment by installer hash.
Testing
python3 -m unittest discover -s tests: 922 tests pass, 13 of them new intests/test_ilok_routing.py.