Packages - how to put folder into user/library/application Support

Can be read in that way.
cant be written to, and wont work as database files.

I really need to move it otherwise it’ll keep rewriting the application data folder every time it runs if I just copy it.

No.
You only copy it if it doesnt exist.
Once installed, the copy doesn’t happen again.
A different user, yes… they get their own folder in application support area.

Again:


if specialfolder.applicationdata.child("myappname").exists = false then
//create that folder
end if

if specialfolder.applicationdata.child("myappname").child("mysupportfoldername").exists = false then
//copy the whole folder from app resources to that area
var src, dest as folderitem
src = specialfolder.resources.child("mysupportfoldername")
dest = specialfolder.applicationdata.child("myappname").child("mysupportfoldername")
src.copyto dest
end if

second time your app launches, no copy will occur.
If the user deletes the copied folder, it will be recreated