-
Notifications
You must be signed in to change notification settings - Fork 13
add $ARCH to install script
#154
Conversation
| repo, | ||
| distTag, | ||
| executable, | ||
| arch = os.arch(), |
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 argument wasn't being used any more
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.
I am concerned about setting the arch deep inside this file. When reading the top-level post-install script, it's not clear that we may be downloading different files based on some environment variables.
Would you mind keeping arch here, maybe as a required argument, and setting it from env vars in the file where we are calling getBinaryModuleExecutable?
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.
good idea, like this?
| repo, | ||
| distTag, | ||
| executable, | ||
| arch = os.arch(), |
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.
I am concerned about setting the arch deep inside this file. When reading the top-level post-install script, it's not clear that we may be downloading different files based on some environment variables.
Would you mind keeping arch here, maybe as a required argument, and setting it from env vars in the file where we are calling getBinaryModuleExecutable?
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.
👏🏻
Required for CheckerNetwork/desktop#767