Ultimaker / cura-build-environment

CMake project to build dependencies for Cura
GNU Affero General Public License v3.0
24 stars 55 forks source link

[CURA-9156] [WINx64] Prevent first-run of Cura to be elevated. #132

Closed rburema closed 2 years ago

rburema commented 2 years ago

On Windows, run the first run of Cura (when started from the installer) through explorer.exe, so it can start unelevated (otherwise it takes over the elevation of the installation process, which prevents a normally unelvated user from, for example, opening files by dragging them to the window and other such things).

Since the whole build process was at the very least heavily refactored, this fix is a 'port' (of sorts) of an earlier fix made by awhiemstra in the now deprecated cura-build (now merged to cura-build-environment) repository.

Should fix https://github.com/Ultimaker/Cura/issues/11937