gradle-launch4j icon indicating copy to clipboard operation
gradle-launch4j copied to clipboard

After outfile is set to Chinese, although the exe is successfully created, it cannot be run.

Open koreQAQ opened this issue 7 months ago • 3 comments

This is my gradle task

tasks.register<edu.sc.seis.launch4j.tasks.Launch4jLibraryTask>("generateExe") {
    dependsOn("jar")
    jreMaxVersion.set("1.8.1")
    jreMinVersion.set("1.8")
    bundledJrePath.set("jre")
    outfile.set("口袋方舟" + ".exe")
    mainClassName.set("com.metaverse.app.LauncherApplication")
    fileDescription.set("The lightning fast implementation")
}

This is the result after running image

I tried checking the XML and found gibberish image

What makes me curious is that as long as the file name is changed to any English, the exe can run

koreQAQ avatar Jun 30 '24 06:06 koreQAQ