Some changes II
This commit is contained in:
parent
56d3c7d508
commit
7626a1d72c
1
.gitignore
vendored
1
.gitignore
vendored
@ -161,3 +161,4 @@ Thumbs.db
|
||||
## You could also add that configuration to the text in nativeimage.gradle .
|
||||
## You should delete or comment out the next line if you have configuration in a different resource-config.json .
|
||||
**/resource-config.json
|
||||
**pixel-app*
|
||||
|
@ -47,6 +47,12 @@ For example, `core:clean` removes `build` folder only from the `core` project.
|
||||
|
||||
## FAQ
|
||||
|
||||
How to clean Gradle cache
|
||||
### How to clean Gradle cache
|
||||
|
||||
`./gradlew clean build --refresh-dependencies`
|
||||
|
||||
### Deploy HTML to localhost
|
||||
|
||||
Change directory to html/build/dist and run:
|
||||
|
||||
`python3 -m http.server 8000`
|
||||
|
@ -77,6 +77,7 @@ public class GameSpaceListScreen extends AbstractOpenEggbertScreen {
|
||||
final Storage storage = Pixel.storage().getStorage();
|
||||
storage.createDirectory("modes");
|
||||
storage.createDirectory("gameSpaces");
|
||||
System.out.println(storage.debug());
|
||||
//storage.file("modes").child("text.txt").writeString("textabc");
|
||||
|
||||
storage.flush();
|
||||
|
@ -44,9 +44,9 @@ public class InitScreen extends AbstractOpenEggbertScreen {
|
||||
public InitScreen(OpenEggbertGame openEggbertGame) {
|
||||
super(openEggbertGame);
|
||||
System.out.println("game.getGameSpace().getDataDirectory() != null" + (game.getGameSpace().getDataDirectory() != null));
|
||||
Pixel.app().log("###1");
|
||||
Arrays.asList(Gdx.files.local(".").list()).forEach(e->Pixel.app().log(e.path()));
|
||||
Pixel.app().log("###2");
|
||||
// Pixel.app().log("###1");
|
||||
// Arrays.asList(Gdx.files.local(".").list()).forEach(e->Pixel.app().log(e.path()));
|
||||
// Pixel.app().log("###2");
|
||||
if (game.getGameSpace().getDataDirectory() != null) {
|
||||
FileHandle configDefFileHandle = null;
|
||||
String[] array = new String[]{"config.def", "Config.def", "CONFIG.DEF"};
|
||||
|
Reference in New Issue
Block a user