Closed Mac1512 closed 4 years ago
I have tested and works correctly the devpath function, but ... it should look for a specific location, the file Prefs.json.
For example:
On Windows:
%AppData%/engge/Prefs.json
On Mac:
~/Library/Application Support/engge/Prefs.json
(Or any other route of your choice)
I comment this, so as not to have to copy a file, Prefs.json, previously existing, to the current directory or create a new one with notepad, etc.
Since right now it looks for the Prefs.json file in the current directory, and it doesn't exist. And if I don't have the .ggpack files in that directory either, engge will fail, leaving the screen black, since it starts in fullscreen.
Is your feature request related to a problem? Please describe.
Hello, I have seen this in the Delores source code release:
https://github.com/grumpygamer/DeloresDev
And it gave me an idea....Developed in the next point.
Describe the solution you'd like
To be able to establish a preferences file "Prefs.json" in a fixed location, and be used in all future commits, of the type used by Delores or original Timbleweed park ... Something like the following:
On Windows:
%AppData%/engge/Prefs.json
Or maybe another type of folder, where we can assign a path to the ggpack files, like so:
devPath: "/Path/To/ggpack_files"
This would avoid me in testing, continually copying files from one site to another every time I compile a new commit.
Describe alternatives you've considered
At the moment I can't think of any alternative
Additional context
Nothing