Add startup logo

This commit is contained in:
Ryan Harg 2024-02-13 19:18:50 +01:00
parent 8197d5536e
commit 41fcc0fa1d
2 changed files with 14 additions and 0 deletions

View file

@ -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()

View file

@ -0,0 +1,5 @@
_ _ _ _ _ _ _
___ <_> _| |_ | |_ _ _ | |_ ___ _ _ ___ | | ___ ___ ___ ___ ___ | |_ ___ _| |_
/ . || | | | | . || | || . \|___|| '_>/ ._>| |/ ._><_> |<_-</ ._>|___|| . \/ . \ | |
\_. ||_| |_| |_|_|`___||___/ |_| \___.|_|\___.<___|/__/\___. |___/\___/ |_|
<___'