mat1jaczyyy / apollo-studio

Apollo Studio is a standalone editor and live playback engine for RGB Launchpad light effects.
https://apollo.mat1jaczyyy.com
BSD 3-Clause "New" or "Revised" License
186 stars 23 forks source link

Crash if .stats or .config is a hidden file #445

Closed Peranoid closed 1 year ago

Peranoid commented 2 years ago

Hey friends,

i have a major issue here. I worked with apollo before and made lights but aftrer i got my launchpad pro mk3 i cant use apollo anymore. I looked up what driver i need and i have the 2.22.0.10 novation usb driver but still cant make apollo start. I dont know whats the problem here, i reinstalled the driber and apollo several times but still nothing...

pnxl commented 2 years ago

What does it say upon startup?

also pls use provided template ty

Peranoid commented 2 years ago

it doesnt say anything. It wont start at all. not even in the background

mat1jaczyyy commented 2 years ago

Check your Crashes folder and see if there are any recent crashes, upload them here if possible, otherwise all we can do is guesswork.

The crashes folder is located at C:\Users\<username>\.apollostudio\Crashes\.

pnxl commented 2 years ago

oh yeah forgot about that

mat1jaczyyy commented 2 years ago

After Discord call, crash happens because this line:

https://github.com/mat1jaczyyy/apollo-studio/blob/230e6dbaa311e3d9fb373db9642f4c81b89d8673/Apollo/Core/Preferences.cs#L406

Throws UnauthorizedAccessException if the file is hidden for some reason. lol....