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

fix(core/updater): pass /NS to nsis installer to disable creating shortcuts on updates #9413

Open
wants to merge 2 commits into
base: 1.x
Choose a base branch
from

Conversation

amrbashir
Copy link
Member

closes #9395

@amrbashir amrbashir requested a review from a team as a code owner April 9, 2024 00:01
@amrbashir amrbashir changed the title Fix/nsis-updater-shortcuts fix(core/updater): pass /NS to nsis installer to disable creating shortcuts on updates Apr 9, 2024
pub fn nsis_args(&self) -> &'static [&'static str] {
match self {
Self::Passive => &["/P", "/R"],
Self::Quiet => &["/S", "/R"],
Self::Passive => &["/P", "/R", "/NS"],
Copy link
Member

Choose a reason for hiding this comment

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

since this isn't related to the install mode, shouldn't it be set in core/tauri/src/updater/core.rs instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

that could be argued for /R as well, but both should stay here because it is called WindowsUpdateInstallMode, i.e. related to updater and these flags are in scope of the updater.

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