Managing tasks that requires admin permissions


in my electron app, I need to create symlink of files, using fs.createSymlink needs the app to run as root since my app uses d&d I can’t run the app as admin because that would prevent from dragging items to the app, and also libraries like electron-sudo doesn’t help because, for example, I need to create 5 symlinks and permission prompts will pop-up 5 times, this is not ideal at all