C
C#2y ago
Ab

❔ Windows Apps Resources

Does anyone know why some app devs choose to put app resources in folders within documents/user folder rather than just keep it all in the main app folder in C:/ ? Like how games sometimes put things in documents/My Games Is it a windows permissions thing? Or do they just do it by convention? Is it bad as a dev to just put it all in the main folder?
8 Replies
jcotton42
jcotton422y ago
wdym by "resources"?
Ab
Ab2y ago
Like some games put saves in a folder in documents Some apps put app settings there
jcotton42
jcotton422y ago
well, they probably should be using AppData but the reason they don't place it in the same folder as the app's files is a) permissions (would need admin to write there) b) multi-user systems
Ab
Ab2y ago
Ohh so like the user would need to be an admin for the app to work if it's all in C?
jcotton42
jcotton422y ago
Program Files (which I presume is what you actually mean) can only be written to by admins an app could allow non-admin writing by adjusting the permissions on its folder but like, what's the point when AppData exists?
Ab
Ab2y ago
I'm just the type that likes everything in one place, rather than fragmented around But I guess I can see your point
jcotton42
jcotton422y ago
also, a lot of apps used to do this, especially really old games it became a huge problem when Vista rolled around with UAC and stuff if you're doing a "portable" app, then sure but if it's being properly installed, do it right
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server