mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 15:40:23 +00:00
Include lang in build
This commit is contained in:
parent
b778cc9e90
commit
61b86e5cea
1 changed files with 13 additions and 0 deletions
13
dist/base.gradle
vendored
13
dist/base.gradle
vendored
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue