Jorixon / JASM

Just Another Skin Manager
GNU General Public License v3.0
177 stars 19 forks source link

Exception during mod import #198

Open ElPresedente opened 5 months ago

ElPresedente commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Run program as administrator
  2. Go to character page
  3. Click on Mods
  4. Click on Add mod/archive
  5. See error

Exception: System.Runtime.InteropServices.COMException (0x80004005) at GIMI_ModManager.WinUI.ViewModels.CharacterDetailsViewModel.AddModFolder() at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b0()

Expected behavior Mod import dialog

Screenshots image

Desktop:

Reprodusible at version 2.10.1

Addditional info I'm using my custom launcher to run genshin, 3dmigoto and skin manager simultaniusly, so manager starts in elevated mode. If I launch JASM without elevation and elevate it directly from settings menu, import works fine

Jorixon commented 5 months ago

Interesting...

This seems to be an issue with the filePicker itself I belive it's outside of my control. Tried searching around a bit and can't find a quick solution for this.

Though I have been thinking about creating my own filePicker at some point