Revert "Upgrade electron-builder, electron-updater" #1927
Closed
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.
Partially reverts #1924
Reason for the revert
Despite the app building and launching from a clean state, it appears that there is then a problem when the internal server starts, with some dependencies missing. In particular, the module
![Capture d’écran 2024-10-14 à 18 32 28](https://private-user-images.githubusercontent.com/34252790/376344981-55c1ee5f-fa8d-47b3-9721-cd09d6bef484.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjgxNTcsIm5iZiI6MTczOTI2Nzg1NywicGF0aCI6Ii8zNDI1Mjc5MC8zNzYzNDQ5ODEtNTVjMWVlNWYtZmE4ZC00N2IzLTk3MjEtY2QwOWQ2YmVmNDg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA5NTczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2NmE5YjM3YzNhZWQzYTEwYTM1YmM2MzY4MWFkYWU0NGViMmY1MTdkYjBjZDlmNzExNDRjMWU3YWMxNWRlMmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AlErIwDBoK210AnHMb_zVbt3fuG_UdzBrF5clJzcqoY)
color-string
needed byadonisjs
is not included, as can be seen from the inspection of the.asar
file: (where the top tree correspond to the asar when usingelectron-builder
version26.0.0-alpha
, and the bottom one to what we have in the working version built with version24.13.3
)Despite multiple attempts to fix this, the problem is deeper than expected. We are reverting the upgrade of
electron-builder
andelectron-updater
in order to avoid breaking the app on the next triggered nightly.Changes kept
The upgrade of
@electron/notarize
together with the passing of theteamId
value necessary during notarization into an environment variable.