Include lang in build

This commit is contained in:
crschnick 2024-04-12 15:20:53 +00:00
parent b778cc9e90
commit 61b86e5cea

13
dist/base.gradle vendored
View file

@ -30,6 +30,10 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
from "$projectDir/fonts" from "$projectDir/fonts"
into "$distDir/base/app/fonts" into "$distDir/base/app/fonts"
} }
copy {
from "$rootDir/lang"
into "$distDir/base/app/lang"
}
def debugArguments = file("$projectDir/debug/debug_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(Collectors.joining( def debugArguments = file("$projectDir/debug/debug_arguments.txt").text.lines().map(s -> '"' + s + '"').collect(Collectors.joining(
' ')) ' '))
@ -91,6 +95,10 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
from "$projectDir/fonts" from "$projectDir/fonts"
into "$distDir/base/app/fonts" into "$distDir/base/app/fonts"
} }
copy {
from "$rootDir/lang"
into "$distDir/base/app/lang"
}
// Fixes a JPackage bug // Fixes a JPackage bug
copy { copy {
@ -183,6 +191,11 @@ if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
from "$projectDir/bundled_bin/$platformName" from "$projectDir/bundled_bin/$platformName"
into "$distDir/$app/Contents/Resources/bundled" into "$distDir/$app/Contents/Resources/bundled"
} }
copy {
from "$rootDir/lang"
into "$distDir/$app/Contents/Resources/lang"
}
copy { copy {
from "$projectDir/PkgInstaller/darwin/Resources/uninstall.sh" from "$projectDir/PkgInstaller/darwin/Resources/uninstall.sh"