FreeCAD: master b5741a4a

Author Committer Branch Timestamp Parent
wschildbach Yorik van Havre master 2018-02-28 17:49:02 master efa8ceb3
Changeset Fix error caused by insufficient rights to create symlink under Windows 10

On Windows 10, symlink creation is not allowed unless the process runs with elevated rights.

As per https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#joC5tFKhdXs2gGml.97, starting with Windows 10 Insiders build 14972, symlinks can be created without needing to elevate the console as administrator.

To use this functionality, 0x2 needs to be set in the flags argument for the CreateSymbolicLinkW() call. See also https://github.com/FreeCAD/FreeCAD-addons/commit/e8838474846383caff216385c5a1ddf2c6a8774d
mod - src/Mod/AddonManager/AddonManager.py Diff File