-
Notifications
You must be signed in to change notification settings - Fork 67
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
Distribute mamba with workbench #1604
base: feature/plugins
Are you sure you want to change the base?
Distribute mamba with workbench #1604
Conversation
Fix regular expression for env match. Add flag to quiet Windows cmd pop ups
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @emlys and sorry for being so slow. I had a few comments and questions but nothing major.
You mentioned commenting out the puppeteer test, I don't see that in here. Was that testing pulled out of this PR or handled elsewhere?
* @returns {string} mamba executable. | ||
*/ | ||
export function findMambaExecutable(isDevMode) { | ||
// Binding to the invest server binary: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied comment?
const ext = (process.platform === 'win32') ? '.exe' : ''; | ||
const filename = `invest${ext}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like these are leftover and not used.
const investExe = findInvestBinaries(ELECTRON_DEV_MODE); | ||
settingsStore.set('investExe', investExe); | ||
settingsStore.set('mamba', findMambaExecutable(ELECTRON_DEV_MODE)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nitpicky but do we want to be consistent with whether we create a variable for a returned binary path or just call it from within the function signature?
PR to merge the mamba distribution work into the plugins feature branch.
Commented out the puppeteer test for plugins because it kept timing out on Github Actions; to be addressed in a separate issue (#1621)
Description
Fixes #
Checklist