Skip to content

Commit

Permalink
Update logo and conveyor configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
crschnick committed Jul 7, 2023
1 parent d8121da commit 4d006f5
Show file tree
Hide file tree
Showing 25 changed files with 243 additions and 174 deletions.
11 changes: 10 additions & 1 deletion dist/ci.conveyor.conf → conveyor/ci.conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,13 @@ app {
team-id = 6MD7Z8H86K
apple-id = "you@user.host"
}
}

vcs-url = "github.com/crschnick/pdxu_staging"
site {
# base-url = "localhost:3000"
github {
oauth-token = ${env.JRELEASER_GITHUB_TOKEN}
pages-branch = "gh-pages"
}
}
}
13 changes: 4 additions & 9 deletions dist/conveyor.conf → conveyor/conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ app {
fsname = "pdx-unlimiter"
long-fsname = "pdx-unlimiter"
vendor = "Pdx-Unlimiter"
version = "2.12.4"
version = ${env.VERSION}
license = "GPL-3.0-or-later"
contact-email = "crschnick@xpipe.io"
machines = ["windows.amd64"]
icons = "../misc/logo.svg"
icons = "../misc/logo/logo.svg"

url-schemes = [ pdxu ]
file-associations = [ .eu4, .ck3, .sav, .v3, .v2, .ck2, .hoi4, .rome ]
Expand All @@ -18,14 +18,9 @@ app {
mac.amd64.inputs = "../build/pdx_unlimiter-mac.zip"

updates = aggressive

vcs-url = "github.com/crschnick/pdxu_staging"

site {
# base-url = "localhost:3000"
github {
oauth-token = ${env.JRELEASER_GITHUB_TOKEN}
pages-branch = "gh-pages"
}
base-url = "localhost:3000"
}
}

Expand Down
7 changes: 4 additions & 3 deletions gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ version file('version').text
def canonicalVersion = file('canonical_version').text

apply from: "$rootDir/gradle/jreleaser.gradle"
apply from: "$rootDir/gradle/conveyor.gradle"
apply from: 'gradle/java.gradle'
apply from: 'gradle/mods.gradle'

Expand Down Expand Up @@ -96,11 +97,11 @@ jlink {
imageName = 'Pdx-Unlimiter'
imageOptions += ['--verbose']
if (DefaultNativePlatform.currentOperatingSystem.windows) {
icon = "misc/logo.ico"
icon = "misc/logo/logo.ico"
} else if (DefaultNativePlatform.currentOperatingSystem.linux) {
icon = "misc/logo.png"
icon = "misc/logo/logo.png"
} else {
icon = "misc/logo.icns"
icon = "misc/logo/logo.icns"
imageOptions += [
'--mac-sign',
'--mac-package-signing-prefix', 'com.crschnick.pdxu',
Expand Down
11 changes: 11 additions & 0 deletions gradle/conveyor.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
def isCI = System.getenv("CI") != null
version file('version').text
def canonicalVersion = file('canonical_version').text
def changelog = file("changelogs/${canonicalVersion}.txt").exists() ?
file("changelogs/${canonicalVersion}.txt").text.replace('\r\n', '\n') : ""

tasks.register('conveyor', Exec) {
commandLine 'conveyor', "-f=conveyor/${isCI ? 'ci.conveyor.conf' : 'conveyor.conf'}", '--agree-to-license=1', 'make', '-o=build/conveyor', 'site'
environment("CHANGELOG", changelog)
environment("VERSION", version)
}
Binary file removed misc/logo.ico
Binary file not shown.
Binary file removed misc/logo.png
Binary file not shown.
153 changes: 0 additions & 153 deletions misc/logo.svg

This file was deleted.

Binary file added misc/logo/ico/logo_128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/logo/ico/logo_16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/logo/ico/logo_24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/logo/ico/logo_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/logo/ico/logo_32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/logo/ico/logo_48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added misc/logo/logo.ico
Binary file not shown.
Binary file added misc/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4d006f5

Please sign in to comment.