mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 22:26:49 -06:00
package_refuses_windows_directory_redirects made its redirect with symlink_dir. Without Developer Mode or elevation that call fails with os error 1314 (ERROR_PRIVILEGE_NOT_HELD), which std does not report as PermissionDenied, so the skip arm did not match and the test panicked. When symlink_dir fails, the test now makes a directory junction with mklink /J, which needs no privilege. is_redirect treats a junction as a redirect, so the test still checks that File > Package refuses the redirected folder. It skips only when neither can be made. The package code is unchanged.