Skip to content

Change fwupdater binary name based on the tool version #390

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

Merged
merged 2 commits into from
Oct 29, 2020

Conversation

AlbyIanna
Copy link
Contributor

No description provided.

@AlbyIanna AlbyIanna requested a review from pirropirro October 28, 2020 08:40
@@ -56,6 +57,18 @@ export default class FirmwareUpdater {
.pipe(takeUntil(this.updatingError));
}

setToolVersion(version) {
this.toolVersion = version;
if (semverCompare(version, '1.1.2' < 0)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that there is a typo here

Suggested change
if (semverCompare(version, '1.1.2' < 0)) {
if (semverCompare(version, '1.1.2') < 0) {

GET_FIRMWARE_INFO: 'aceffd98d331df0daa5bb3308bb49a95767d77e7a1557c07a0ec544d2f41c3ec67269f01ce9a63e01f3b43e087ab8eb22b7f1d34135b6686e8ce27d4b5dc083ec8e6149df11880d32486448a71280ef3128efccbd45a84dbd7990a9420a65ee86b3822edba3554fa8e6ca11aec12d4dd99ad072285b98bfdf7b2b64f677da50feb8bddef25a36f52d7605078487d8a5d7cbdc84bfa65d510cee97b46baefea149139a9a6ed4b545346040536e33d850e6ad84c83fe605f677e2ca77439de3fa42350ce504ad9a49cf62c6751d4c2a284500d2c628cd52cd73b4c3e7ef08ae823eb8941383f9c6ff0686da532369d3b266ded8fdd33cca1a128068a4795920f25',
UPLOAD_FIRMWARE_BOSSAC: '5c61682e3ce2544365b05577f9016d5fbfa4c20efdce6ec2ebe6940380ea4f9421322b338c83b7721f900c99c61282720224d9fb20a639154984fd1feef682ee432c8a225f14fe7ba80d2d71d51bc92bfffe63de9386c0b9bc17a827ce21dda837fe3fd0c518ff0b84982c65db81a3eebab88712593c068f5a43f7bc22d4a3f3608969e8f30b3102b382d2c0f7f28d482b39cbcfd16eb680dd04bda66b9cb0d1c2b2e91d89dd8c6033562f1d3983002b61aa39ef70d45a456178867609c058a09bbcd8bce4d97d2e65c28756659bf5ba111e8541302cea934a2c005331ef89425390f610d2f609d581175d16193e72752fe8384f66051e6a2abea79757f042eb',
UPLOAD_FIRMWARE_AVRDUDE: '83b177b05dcd7043d484e321417d1dd499fdbd80b7109cc86fcb91cb14e59b834c3956a279e8d4ceba466a308cb8a1aceb5ab6770b8f207e9bc92e84a191edc21cdecb4f7cc1883fbf0eb258f1f849ffbe76bb0320dfe92d85f77226b45fd90824fc126e22ebe8d2350f854c9d43a03186d7f260d8d03bf83e6669646b2e13a6371dcbf1dd5711edcbe3c3a0f186d091ba26118ed2cdb3ef58e0079096403a2e93684d5089b216c53f2fcb1387b6e9d49feea914943971ac1e58bba1ecdf4f14f557d278e8b4f05d594e21887ba87322fbe1d70d05f03412d87f3149a4b3aff302088a2f0ecc42302b6ba66024e94226b5d99c9e0375383e4494bc1e0d0e20b8'
UPLOAD_FIRMWARE_BOSSAC: '1e9bd2641a4111086e752e0351ca0984902dd6f05b643f031d7c001a63bab8957761569e8975b7c8b9eab5b48a7bda0ef6030a96d21ca898126174cd6fb2cc0b344346d94d3bce9bcb63cf4676b526551c45fe2251409a8661a54da2056988fd70119cf095b6b9a614d9bbbdc19347d575c465cbba33748f9f363769759d1c12adef6d1ebbedda5ec931f8cd1d63eeddbb832433d5568953735d00014d586c2d097a2fbb93ea10914d1d5ff784a25306bb98fbec990ef8310374e22042aa90ef8ba66253a2194f7e11668a5e67430ae62133f95dd73de65d63aee57c121232cb48cd7bb08087c2d666a7e3fe7a260c4285bfe7714b0c498a3b6c03ba410f3323',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would not be better to move all these binaries in an external file?

@AlbyIanna AlbyIanna force-pushed the fwupdater-binary-name branch from 59e5b62 to e327e44 Compare October 28, 2020 09:34
@AlbyIanna AlbyIanna force-pushed the fwupdater-binary-name branch from e327e44 to 0d0f888 Compare October 29, 2020 11:04
@AlbyIanna AlbyIanna requested a review from pirropirro October 29, 2020 13:47
@AlbyIanna AlbyIanna merged commit aa89947 into master Oct 29, 2020
@AlbyIanna AlbyIanna deleted the fwupdater-binary-name branch October 29, 2020 16:45
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