Closed weekendkoder closed 5 years ago
I can reproduce the error. The problem is the routine Files.createDirectories()
does not recognize the link as a directory, so first I should check if it exists.
However, there is something you can do.
Open the PhaserEditor2D.ini
file and add this line at the end:
-Duser.home=x:/path/to/the/new/home
It is working for me. To write the path, use the "/"
instead of the "\"
.
Please test it and if it works, close this.
Cool ! Your method works ! Can confirm it ! This is, how my path looks like: -Duser.home=./_phasereditor_CURRENT-USER
"./_phasereditor_CURRENT-USER" means, it will be placed inside the root where the "PhaserEditor2D.ini" is stored. Thats it ! Simple as that. Thank you for this solution !
Then I close this. You are welcome!
Version
Description
I encountered a small-problem. It comes up,
when i start PhaserEditor. I think it happens, because i made PhaserEditor more-"portable" and or i like to have my windows-partition clean. Therefore i used the "very usefull" command: "mklink" (makes aliases of folders)
my command for PhaserEditor: Mklink /d "C:\Users\%USERNAME%.phasereditor" "%cd%_phasereditor_CURRENT-USER" (in my case, it stores a file there, named: "phaser.json.1546967567000.binary")
Everything what would be stored onto C: will be redirected to my defined folder. Thats it. Pretty simple, to keep a clean OS disk. My method works with many many Apps i have installed (99% everything works with this method). So my question is, is that file "phaser.json.1546967567000.binary" nescecary ? Could it be stored in a subfolder of the PE2Dv2.0 install? Or maybe somebody could try my method out with its PE2Dv2.0 install. And if you got the same error, maybe you found a solution you can post here. Would be great !
Possible solution