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

If autostart option is selected, UAC prompt is shown even if you just exit the options #31

Closed
majkinetor opened this issue Dec 8, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@majkinetor
Copy link
Member

Describe the bug

Enable autostart in options, say yes in UAC, go Back, say YES again?

Now just enter options and exit, UAC will prompt

Expected behavior

Do not show UAC prompt when there is no admin changes.

@majkinetor majkinetor added the bug Something isn't working label Dec 8, 2020
@VShawn
Copy link
Member

VShawn commented Dec 9, 2020

the fact is in win32 version, i create/delete shutcut in

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

it needs admin authorization, so UAC show up.

But it is weird that UAC prompt twice, I will go for a check, it only prompt onece in previous version.


BTW, if you are using Stroe version, there should be on UAC prompt.


Update

found I miss some code during refactor of the class SetSelfStartingHelper which brings this bug.

VShawn added a commit that referenced this issue Dec 9, 2020
2. improve for #22 https://github.com/VShawn/PRemoteM/issues/22#issuecomment-740849283
3. improve for #26 https://github.com/VShawn/PRemoteM/issues/26#issuecomment-740859060
4. right click link to import language json file.

Signed-off-by: Shawn <singlex@foxmail.com>
VShawn added a commit that referenced this issue Dec 9, 2020
2. improve for #22 https://github.com/VShawn/PRemoteM/issues/22#issuecomment-740849283
3. improve for #26 https://github.com/VShawn/PRemoteM/issues/26#issuecomment-740859060
4. right click link to import language json file.

Signed-off-by: Shawn <singlex@foxmail.com>
@VShawn VShawn closed this as completed Dec 9, 2020
@majkinetor
Copy link
Member Author

I confirm this works

VShawn added a commit that referenced this issue Jan 21, 2021
VShawn added a commit that referenced this issue Dec 23, 2021
VShawn added a commit that referenced this issue Dec 23, 2021
2. improve for #22 https://github.com/VShawn/PRemoteM/issues/22#issuecomment-740849283
3. improve for #26 https://github.com/VShawn/PRemoteM/issues/26#issuecomment-740859060
4. right click link to import language json file.

Signed-off-by: Shawn <singlex@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants