The Wayback Machine - https://web.archive.org/web/20200927061130/https://github.com/GitSquared/edex-ui/pull/415
Skip to content
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

add osx-temperature-sensor as optional dependency (fix #402) #415

Merged
merged 4 commits into from Feb 1, 2019

Conversation

@syxanash
Copy link
Contributor

syxanash commented Jan 31, 2019

it resolves #402

Check out known issues on systeminformation repo.

syxanash and others added 4 commits Jan 31, 2019
…cripts"

This reverts commit 7f843b1.
@GitSquared
Copy link
Owner

GitSquared commented Feb 1, 2019

Manually adding the dependency in a script only fixes the issue if you're running from source - electron-builder repackages all dependencies on build.

I reverted your second commit and moved osx-temperature-sensor to an optional dependency, so it should be bundled and installed on macOS systems and silently ignored on other platforms.

Nice job finding the corresponding known issue in systeminformation.

P.S:
image

@GitSquared GitSquared changed the title add osx-temperature-sensor as dependency add osx-temperature-sensor as optional dependency (fix #402) Feb 1, 2019
@GitSquared GitSquared merged commit 2b03097 into GitSquared:master Feb 1, 2019
4 checks passed
4 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
security/snyk - package.json (GitSquared) No new issues
Details
security/snyk - src/package.json (GitSquared) No new issues
Details
@syxanash
Copy link
Contributor Author

syxanash commented Feb 1, 2019

awesome thanks for the tip about optionalDependencies 👍
Glad you like my gitron man, made my day!!!

@syxanash syxanash deleted the syxanash:osx-temperature-fix branch Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.