mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-15 18:02:58 +08:00
chore: opengl
This commit is contained in:
@@ -251,11 +251,14 @@ tasks.register<Exec>("jpackage") {
|
||||
"-Dapp-version=${project.version}",
|
||||
)
|
||||
|
||||
options.add("-Dsun.java2d.metal=true")
|
||||
|
||||
if (os.isMacOsX) {
|
||||
options.add("-Dsun.java2d.metal=true")
|
||||
options.add("-Dapple.awt.application.appearance=system")
|
||||
options.add("--add-opens java.desktop/sun.lwawt.macosx.concurrent=ALL-UNNAMED")
|
||||
} else {
|
||||
}
|
||||
|
||||
if (os.isLinux) {
|
||||
options.add("-Dsun.java2d.opengl=true")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user