PAL2 icon indicating copy to clipboard operation
PAL2 copied to clipboard

Temp_downloads handling

Open POE-Addon-Launcher opened this issue 6 years ago • 2 comments

Add a check that ensures the temp_download folder is an empty folder when setting it.

POE-Addon-Launcher avatar Jun 04 '19 13:06 POE-Addon-Launcher

It's better to use temp_downloads path as parent for your app's temporary folder, which you can create, fill with files and delete without any risk to harm other users files. Also you can name it with timestamp to minimize risk of coincidence with already existing folders (like "pal"). Something like %temp_downloads%\pal2_05_06_2019\ should be enough

Dissolator avatar Jun 05 '19 23:06 Dissolator

Yeah, that's also what I was thinking off, I was also thinking of when a user specifies a directory and it isn't empty I just create another folder inside of to use for PAL

POE-Addon-Launcher avatar Jun 06 '19 07:06 POE-Addon-Launcher