From: TheSaminator Date: Wed, 9 Feb 2022 14:44:35 +0000 (-0500) Subject: Add update script X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=bfa168fe2f2ff11c19d980108dcbc98d4bf31d8c;p=starship-fights Add update script --- diff --git a/run b/run index 418f5ac..c1cd6d7 100755 --- a/run +++ b/run @@ -1,3 +1,3 @@ #!/usr/bin/env sh -gradle runShadow +screen -dmS starshipfights gradle runShadow diff --git a/src/jvmMain/kotlin/starshipfights/auth/providers.kt b/src/jvmMain/kotlin/starshipfights/auth/providers.kt index 5cc67ac..3810710 100644 --- a/src/jvmMain/kotlin/starshipfights/auth/providers.kt +++ b/src/jvmMain/kotlin/starshipfights/auth/providers.kt @@ -273,8 +273,7 @@ object TestAuthProvider : AuthProvider { call.respondHtml(HttpStatusCode.OK, page("Authentication Test", call.standardNavBar(), CustomSidebar { p { - +"This method of authentication is only for testing. " - +"I trust you not to abuse this; don't make me regret my trust." + +"This instance does not have Discrd OAuth login set up. As a fallback, this authentication mode is used for testing." } }) { section { diff --git a/update b/update new file mode 100755 index 0000000..714f37e --- /dev/null +++ b/update @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +screen -S starshipfights -X quit +git pull +./run