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

Always run MSI with full UI. #4801

Merged
merged 1 commit into from
Aug 2, 2022
Merged

Conversation

allexzander
Copy link
Contributor

@allexzander allexzander commented Aug 2, 2022

Signed-off-by: alex-z blackslayer4@gmail.com

Not rebooting when running the MSI may result in Explorer.exe failing to restart even though it is registered with Restart Manager by default. Running the MSI with full UI allows displaying the restart prompt and allows to cancel the update if accidentally started when not needed.
The downside is - the full UI sequence needs to be controlled by the user (selecting a folder, clicking next, etc.) making the update a bit less convenient, but, fully-controlled and reliable.
Switching to MSIX in future, would allows us to have a better UX with updates.

@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #4801 (dfe0cff) into master (b37ca49) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4801      +/-   ##
==========================================
+ Coverage   56.80%   56.83%   +0.03%     
==========================================
  Files         138      138              
  Lines       17142    17142              
==========================================
+ Hits         9737     9743       +6     
+ Misses       7405     7399       -6     
Impacted Files Coverage Δ
src/libsync/discovery.cpp 84.86% <0.00%> (+0.29%) ⬆️
src/libsync/filesystem.cpp 76.34% <0.00%> (+3.22%) ⬆️

Signed-off-by: alex-z <blackslayer4@gmail.com>
@allexzander allexzander force-pushed the bugfix/always-run-msi-with-full-ui branch from dfe0cff to f3c10ac Compare August 2, 2022 12:27
@allexzander allexzander merged commit 9a84edf into master Aug 2, 2022
@allexzander allexzander deleted the bugfix/always-run-msi-with-full-ui branch August 2, 2022 12:27
@allexzander
Copy link
Contributor Author

/backport to stable-3.5

@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4801-f3c10ac3a4f5ecbc8260134fc945b2d12e87323f-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Aug 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mgallien mgallien added this to the 3.6.0 milestone Sep 2, 2022
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.

4 participants