develar / app-builder

Generic helper tool to build app in a distributable format
MIT License
123 stars 62 forks source link

Windows: A required privilege is not held by the client. #142

Open mrfranta opened 1 month ago

mrfranta commented 1 month ago

During creation of appimage in windows system is used os.Symlink . Unfortunately this requires admin rights on Windows without developer mode:

https://github.com/coreybutler/nvm-windows/wiki/Common-Issues#permissions-exit-1-exit-5-access-denied-exit-145

Maybe it would be nice to add some condition to have possibility to use this tool without admin rights (restricted by company):

https://github.com/develar/app-builder/blob/dbedea05e773896cd8c26cdd415a2a9ece91cec4/pkg/package-format/appimage/appLauncher.go#L80

It could be some env. variable e.g. Solution is to use window command mklink with "/J" (Junction) parameter.