marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.71k stars 348 forks source link

[CRASH] Crashes when 'Controlled Folder Access' is enabled #2229

Closed marticliment closed 2 months ago

marticliment commented 2 months ago

Please confirm these before moving forward

Describe your crash

[Email]

Had some issues moving from WinGetUI to UniGetUI, constant crashing, opening numerous web instances (Crash Reports) Finally had to uninstall WinGetUI (with Revo), and fresh install UniGetUi.

The issue seems to have stemmed from 'Controlled Folder Access' event, once granted the program crashed once more and then finally started, now appears to be working as intended.

Crash report was sent and is reproduced below, also note OS detection appears to be inaccurate (My OS is 64bit)

Logs (if possible)

OS: Win32NT
                   Version: Microsoft Windows NT 10.0.26100.0
           OS Architecture: True
          APP Architecture: True
                  Language: langName
               APP Version: 3.1.0-alpha0
                Executable: C:\Program Files\UniGetUI\WingetUI.exe

Crash Message: Could not find file 'C:\Users\W0LF\Documents\UniGetUI'.

Crash Traceback: 
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at UniGetUI.Core.Data.CoreData.GetNewDataDirectoryOrMoveOld(String old_path, String new_path) in C:\Some

More details

No response

marticliment commented 2 months ago

This issue was fixed on a previous commit.

Changes will be effective on the next release