-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Multiple desktop architectures overwrite eachother #8004
Comments
cc @kidroca |
@roryabraham
Perhaps there's a window of time where one of the app that are uploaded before the universal app can be downloaded? |
Does that mean this should be a deploy blocker? The installer on staging only contains the Arm app as far as I can tell, so if we release to production, does it mean it would break the app for everyone on Intel MacBooks via the auto-update? |
Strange https://staging.new.expensify.com/NewExpensify.dmg gives me the universal app, could it be due to me being in a different region?
Actually the auto happens from the generated zip file and those aren't overwritten, and this would probably install the x64, because everybody on production have that Also triggering the production flow, would rebuild the Desktop App for production To be on the same side we can stop building from 3 platforms for the moment and
Building only universal might mean that people would have to re-download the |
I like this plan for now. |
Huh just tried again and I get the universal app now. Also checked my Chrome download history to make sure I'm not going crazy, I was definitely using that same link yesterday too... go figure. Anyway yes, building for x64 sounds good to me too! |
@roryabraham
Or we can remove the arm64 version if you want to |
Assigned @kidroca since he's got a PR up. I just need to finish reviewing and test it out. |
PR was merged #8160 |
We have a problem with auto-updates after #8160 It turns out we can't build multiple architectures in sequence and we should either:
If we want to build multiple targets we can no longer use the name
Related slack discussion: https://expensify.slack.com/archives/C01GTK53T8Q/p1648493950691769?thread_ts=1648166165.861939&cid=C01GTK53T8Q |
This would really not be ideal because it would potentially force people to redownload the app in order to start getting updates. But long-term it seems like the best solution so that we can support multiple architectures. |
I think people will continue to get updates - updates rely on the If we remove
vs
if we use Whatever we decide the downloaded file name should be easy to set like |
I've opened a slack thread on the topic, and it seems we might go in a different direction and build just one target - the |
We decided to stick with what we previously did and build only the PR is ready |
I think we are good to close this for now. We can reevaluate if/when we have issues again in the future. |
Problem
The desktop app currently builds for three separate architectures:
When the app deploys, each build artifact is called
NewExpensify.dmg
, and overwrites the previous one. This defeats the purpose of building for multiple architectures. Using a universal build only creates an unnecessarily large app.Solution
TBD. At least a few options:
The text was updated successfully, but these errors were encountered: