Pierrou
Well-known member
- Joined
- Jul 6, 2017
- Messages
- 237
Hi there
I'm stuck for months with the same problem I really don't know what to do.
I'd like to store some prefs/files (images) in some directory for my app and the dirs and files are just not created when I try, but, again, I have no clue about how to do it on MacOS (High Sierra)
If I use
A directory SiliceEtSynapses is created as well as a SyntagmaToons subdirectory in ˜/Library/Application Support/ but then I can't get to write anything inside it.
whether I use
or
as a path to create stuff using CreateDir for example.
What am I doing wrong?
Thanks if you can help before I go crazy!
EDIT : Using
does copy the image inside /Library/Application Support/SiliceEtSynapses/SyntagmaToons/ but using CreateDir for example does nothing
EDIT 2 : OK in fact I can create a text file and append some text to it inside cerberus://internal/ but I can't create /or copy/ any folder to that directory why is it so?
I'm stuck for months with the same problem I really don't know what to do.
I'd like to store some prefs/files (images) in some directory for my app and the dirs and files are just not created when I try, but, again, I have no clue about how to do it on MacOS (High Sierra)
If I use
Code:
#GLFW_APP_LABEL="SyntagmaToons"
#GLFW_APP_PUBLISHER="SiliceEtSynapses"
whether I use
Code:
"/Users/"+GetEnv("USER")+"/Library/Application Support/SiliceEtSynapses/SyntagmaToons/"
Code:
"cerberus://internal/"
What am I doing wrong?
Thanks if you can help before I go crazy!
EDIT : Using
Code:
CopyFile("cerberus://data/image.png","cerberus://internal/copiedimage.png")
EDIT 2 : OK in fact I can create a text file and append some text to it inside cerberus://internal/ but I can't create /or copy/ any folder to that directory why is it so?
Last edited: