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

chore(app-shell): no hard links when building the app locally #15024

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

mjhuff
Copy link
Contributor

@mjhuff mjhuff commented Apr 26, 2024

Overview

Fixes the symlink errors that occur when building the app via "make -C app-shell dist-XYZ". Looks like newer versions of electron-builder change the symlinking, and locally trying to build the app will fail with symlink issues (at least for some OS's). This is the workaround.

We already do this when we run CI, so this just makes this not an issue locally.

Test Plan

  • Run make -C app-shell dist-XYZ. Verify that the command does not fail with a symlinking error (I've tested on all dist-XYZ variations, but feel free to double-check me).
  • NOTE: You'll often fail with a key signing error when building a Mac version of the app. That's ok, it still works, and this isn't a regression.

Risk assessment

low

Fixes the symlink errors that occur when building the app via "make -C app-shell dist-XYZ".
@mjhuff mjhuff requested a review from a team April 26, 2024 13:32
@mjhuff mjhuff requested a review from a team as a code owner April 26, 2024 13:32
@mjhuff mjhuff requested review from shlokamin and removed request for a team April 26, 2024 13:32
@mjhuff mjhuff changed the title chore(app-shell): no hard links when building the app chore(app-shell): no hard links when building the app locally Apr 26, 2024
Copy link
Member

@shlokamin shlokamin left a comment

Choose a reason for hiding this comment

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

gahhh thank you i really should have done this during the vite migration and saved you the headache 🙈

@mjhuff mjhuff merged commit ff84cb1 into edge Apr 26, 2024
18 checks passed
@mjhuff mjhuff deleted the app-shell_no-hard-links branch April 26, 2024 13:51
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
Fixes the symlink errors that occur when building the app locally.
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.

None yet

2 participants