build(desktop): use conveyor to build the desktop apps

This commit is contained in:
Gauthier Roebroeck 2023-08-11 17:08:07 +08:00
parent 4da12ae05d
commit 96020fdbfa
3 changed files with 43 additions and 0 deletions

3
.gitignore vendored
View File

@ -49,3 +49,6 @@ nbdist/
/config-dir/
application-oauth2.yml
/benchmark
### Conveyor
output/

25
conveyor.conf Normal file
View File

@ -0,0 +1,25 @@
include "#!./gradlew -q :komga-tray:printConveyorConfig"
app {
display-name = Komga
fsname = komga
vcs-url = "https://github.com/gotson/komga"
vendor = "Gotson"
description = "Media server for comics/mangas/BDs with API and OPDS support"
license = MIT
icons = "res/komga_text_as_path.svg"
jvm {
// for NightMonkeys
options += "--enable-preview"
modules = ["java.management", "java.naming", "java.instrument", "java.sql", "jdk.unsupported", "jdk.security.jgss", "java.desktop"]
// Homebrew path
mac.options += "-Djava.library.path=<libpath>:/opt/homebrew/lib/:/usr/local/lib/"
mac.options += "-Dspring.profiles.include=mac"
windows.options += "-Dspring.profiles.include=windows"
}
}
conveyor.compatibility-level = 11

15
conveyor.msstore.conf Normal file
View File

@ -0,0 +1,15 @@
include required("conveyor.conf")
app {
fsname = komga-msstore
windows {
store {
identity-name = 612Gotson.Komga
publisher = "CN=CF37C563-9649-4277-990F-CDD0CDCB78C1"
publisher-display-name = Gotson
store-id = 9N924KC4S4HG
}
certificate = self signed by ${app.windows.store.publisher}
}
}