Skip to content

Feat: #132598 Add notification in case of running a translated build on windows and macOS#181191

Merged
deepak1556 merged 8 commits into
microsoft:mainfrom
antonioprudenzano:rosetta-warning
Jun 20, 2023
Merged

Feat: #132598 Add notification in case of running a translated build on windows and macOS#181191
deepak1556 merged 8 commits into
microsoft:mainfrom
antonioprudenzano:rosetta-warning

Conversation

@antonioprudenzano

@antonioprudenzano antonioprudenzano commented Apr 29, 2023

Copy link
Copy Markdown
Contributor

This PR resolve #132598 feature request and adds a info notification when running a non native build on Apple silicon.

@antonioprudenzano antonioprudenzano changed the title Added notification in case of running a rosetta translated Code build. Feat: #132598 Added notification in case of running a rosetta translated Code build. Apr 30, 2023

@deepak1556 deepak1556 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks for working on the PR

Comment thread src/vs/code/electron-main/app.ts Outdated
@antonioprudenzano

Copy link
Copy Markdown
Contributor Author

Maybe we can add a button to the VSCode download page in the notification?

@antonioprudenzano

Copy link
Copy Markdown
Contributor Author

@deepak1556 gentle ping, thanks.

@antonioprudenzano

Copy link
Copy Markdown
Contributor Author

@deepak1556 any news on this PR?

@deepak1556

Copy link
Copy Markdown
Collaborator

Sorry for the silence here, I like the idea of having a download link to the universal build in the notification. Can you make the change, if not I can address it in this PR.

@antonioprudenzano

Copy link
Copy Markdown
Contributor Author

Sorry for the silence here, I like the idea of having a download link to the universal build in the notification. Can you make the change, if not I can address it in this PR.

Added the button, waiting for review.

Comment thread src/vs/workbench/electron-sandbox/window.ts Outdated
Comment thread src/vs/workbench/electron-sandbox/window.ts Outdated
Comment thread src/vs/workbench/electron-sandbox/window.ts
@deepak1556 deepak1556 changed the title Feat: #132598 Added notification in case of running a rosetta translated Code build. Feat: #132598 Add notification in case of running a translated build on windows and macOS Jun 9, 2023
antonioprudenzano and others added 3 commits June 9, 2023 11:55
Co-authored-by: Robo <hop2deep@gmail.com>
Co-authored-by: Robo <hop2deep@gmail.com>
Comment thread src/vs/workbench/electron-sandbox/window.ts Outdated
Co-authored-by: Robo <hop2deep@gmail.com>
@deepak1556 deepak1556 requested a review from isidorn June 12, 2023 09:18
@deepak1556 deepak1556 added this to the June 2023 milestone Jun 12, 2023
@antonioprudenzano

Copy link
Copy Markdown
Contributor Author

I think this PR is ready.
What do you think @deepak1556 ?

@deepak1556

Copy link
Copy Markdown
Collaborator

Yup it should be good to go, waiting for another round of review from @isidorn

@isidorn

isidorn commented Jun 15, 2023

Copy link
Copy Markdown
Collaborator

Looks great. Thanks for this PR 👏

@deepak1556

Copy link
Copy Markdown
Collaborator

For visibility, the current notification looks like

Screenshot 2023-06-20 at 14 46 59

@deepak1556 deepak1556 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for working on this!

@deepak1556 deepak1556 merged commit 65b471f into microsoft:main Jun 20, 2023
smithmum pushed a commit to smithmum/vscode that referenced this pull request Jun 20, 2023
…ed build on windows and macOS (microsoft#181191)

* added notification in case of running a rosetta translated build

* using app.runningUnderARM64Translation instead of system call

* added download button to the download page in the wrong build notification

* removed test call

* Update src/vs/workbench/electron-sandbox/window.ts

Co-authored-by: Robo <hop2deep@gmail.com>

* Update src/vs/workbench/electron-sandbox/window.ts

Co-authored-by: Robo <hop2deep@gmail.com>

* code format

* Update src/vs/workbench/electron-sandbox/window.ts

Co-authored-by: Robo <hop2deep@gmail.com>

---------

Co-authored-by: Robo <hop2deep@gmail.com>
@antonioprudenzano antonioprudenzano deleted the rosetta-warning branch June 20, 2023 19:26
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notify users to switch builds when running via rosetta

3 participants