Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp_downloads handling #37

Open
POE-Addon-Launcher opened this issue Jun 4, 2019 · 2 comments
Open

Temp_downloads handling #37

POE-Addon-Launcher opened this issue Jun 4, 2019 · 2 comments

Comments

@POE-Addon-Launcher
Copy link
Owner

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

@Dissolator
Copy link

Dissolator commented Jun 5, 2019

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

@POE-Addon-Launcher
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants