diff --git a/app/src/main/kotlin/de/rpr/githubreleases/App.kt b/app/src/main/kotlin/de/rpr/githubreleases/App.kt index 1844a06..3fa1abd 100644 --- a/app/src/main/kotlin/de/rpr/githubreleases/App.kt +++ b/app/src/main/kotlin/de/rpr/githubreleases/App.kt @@ -9,6 +9,11 @@ import java.util.concurrent.Executors import java.util.concurrent.TimeUnit fun main() { + App::class.java.classLoader.getResource("logo.txt")?.readText()!!.split("\n") + .forEach { + log(it) + } + log("github-release-bot starting up") val config = Config() val mastodonClientFactory = MastodonClientFactory() val publishers = Publishers(config, mastodonClientFactory) @@ -24,6 +29,10 @@ class App( private val publishers: Publishers ) { + init { + log(config.toString()) + } + fun schedule() { log("Scheduling app...") val executor = Executors.newSingleThreadScheduledExecutor() diff --git a/app/src/main/resources/logo.txt b/app/src/main/resources/logo.txt new file mode 100644 index 0000000..259590e --- /dev/null +++ b/app/src/main/resources/logo.txt @@ -0,0 +1,5 @@ + _ _ _ _ _ _ _ + ___ <_> _| |_ | |_ _ _ | |_ ___ _ _ ___ | | ___ ___ ___ ___ ___ | |_ ___ _| |_ +/ . || | | | | . || | || . \|___|| '_>/ ._>| |/ ._><_> |<_-|___|| . \/ . \ | | +\_. ||_| |_| |_|_|`___||___/ |_| \___.|_|\___.<___|/__/\___. |___/\___/ |_| +<___' \ No newline at end of file