libgdx / packr

Packages your JAR, assets and a JVM for distribution on Windows, Linux and Mac OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

please help me

Ran-Xing opened this issue · comments

The first time the software is normal, the second time the software crashes, the file resources are too large

download

# jdk17
wget https://download.oracle.com/java/17/latest/jdk-17_macos-x64_bin.tar.gz
# packr
wget -O packr.jar https://github.com/libgdx/packr/releases/download/4.0.0/packr-all-4.0.0.jar
# Behinder
wget https://github.com/BeichenDream/Godzilla/releases/download/v3.03-godzilla/Godzilla.jar
# openjfx
wget -O openjfx-16.zip https://download2.gluonhq.com/openjfx/16/openjfx-16_osx-x64_bin-sdk.zip
unzip openjfx-16.zip

json

{
    "platform": "mac",
    "jdk": "jdk-17_macos-x64_bin.tar.gz",
    "executable": "Godzilla",
    "mainclass": "core.ui.MainActivity",
    "classpath": [
        "Godzilla.jar"
    ],
    "vmargs": [
        "Dfile.encoding=utf-8", 
        "ParallelGCThreads=4 ", 
        "AggressiveHeap", 
        "+UseParallelGC", 
        "Xms512M",
        "Xmx1024M"
    ],
    "output": "Godzilla.app"
}

What exception do you get?