Small fixes

This commit is contained in:
crschnick 2023-02-02 13:58:50 +00:00
parent caaf7aacb5
commit 8ed35205e9
3 changed files with 4 additions and 5 deletions

View file

@ -27,4 +27,5 @@ project.ext {
privateExtensions = file("$rootDir/private_extensions.txt").exists() ? file("$rootDir/private_extensions.txt").readLines() : []
isFullRelease = System.getenv('RELEASE') != null && Boolean.parseBoolean(System.getenv('RELEASE'))
versionString = file('version').text + (isFullRelease ? '' : '-SNAPSHOT')
canonicalVersionString = file('version').text
}

View file

@ -55,10 +55,10 @@ jlink {
imageName = 'xpiped'
if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
icon = "logo/logo.ico"
appVersion = version
appVersion = rootProject.canonicalVersionString
} else if (org.gradle.internal.os.OperatingSystem.current().isLinux()) {
icon = "logo/logo.png"
appVersion = version
appVersion = rootProject.canonicalVersionString
} else {
icon = "logo/logo.icns"
@ -80,7 +80,7 @@ jlink {
resourceDir = file("$projectDir/misc/mac")
// Mac does not like a zero major version
def modifiedVersion = version.toString()
def modifiedVersion = rootProject.canonicalVersionString
if (Integer.parseInt(modifiedVersion.substring(0, 1)) == 0) {
modifiedVersion = "1" + modifiedVersion.substring(1)
}

View file

@ -1,2 +0,0 @@
jdbcx
office