Add startup logo
This commit is contained in:
parent
8197d5536e
commit
41fcc0fa1d
2 changed files with 14 additions and 0 deletions
|
@ -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()
|
||||
|
|
5
app/src/main/resources/logo.txt
Normal file
5
app/src/main/resources/logo.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
_ _ _ _ _ _ _
|
||||
___ <_> _| |_ | |_ _ _ | |_ ___ _ _ ___ | | ___ ___ ___ ___ ___ | |_ ___ _| |_
|
||||
/ . || | | | | . || | || . \|___|| '_>/ ._>| |/ ._><_> |<_-</ ._>|___|| . \/ . \ | |
|
||||
\_. ||_| |_| |_|_|`___||___/ |_| \___.|_|\___.<___|/__/\___. |___/\___/ |_|
|
||||
<___'
|
Loading…
Reference in a new issue