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(nsis): run app as normal user #9944

Merged
merged 14 commits into from
Jun 6, 2024

Conversation

Legend-Master
Copy link
Contributor

@Legend-Master Legend-Master commented Jun 2, 2024

@Legend-Master
Copy link
Contributor Author

Don't want to solve merge conflicts, waiting for #9915 to get merged first

@Legend-Master Legend-Master marked this pull request as ready for review June 4, 2024 04:29
@Legend-Master Legend-Master requested a review from a team as a code owner June 4, 2024 04:29
Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

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

I tried so hard to review this PR and even though you did a great job documenting each call, I still find it error prone and unmaintainable. However, I couldn't find an easier alternative.

I think the right thing to do this logic in Rust in nsis-tauri-utils as part of the nsis-process plugin.

Would you like to work on that @Legend-Master?

@Legend-Master
Copy link
Contributor Author

I could give it a try, didn't work on no std rust before, but guess it wouldn't be harder than nsis 😂

@amrbashir
Copy link
Member

Don't worry I think the existing functions there can guide you but If you need help, just let me know

@amrbashir amrbashir merged commit 6f46953 into tauri-apps:dev Jun 6, 2024
14 checks passed
anatawa12 pushed a commit to anatawa12/tauri that referenced this pull request Jun 6, 2024
FabianLars pushed a commit that referenced this pull request Jun 6, 2024
(cherry picked from commit 6f46953)

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
pewsheen pushed a commit to pewsheen/tauri that referenced this pull request Jun 13, 2024
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.

[bug] application launched from perMachine or both nsis installer still have admin privilege (elevated)
2 participants