MrPlusGH / NPlusMiner

NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
GNU General Public License v3.0
173 stars 54 forks source link

Check for admin role on current user principal #177

Closed syl3ntz closed 3 years ago

syl3ntz commented 3 years ago

Added the MS recommended check for User Principal as part of Admin role. This may affect the way first launch tries to set the Exempted path. Feedback on how best to test for first run and elevate as necessary would be appreciated. Previous line 47 and 49 are duplicative and slow down startup by performing a recursive storage check and action. Commented out with notes as previously explained.