Add update script
authorTheSaminator <TheSaminator@users.noreply.github.com>
Wed, 9 Feb 2022 14:44:35 +0000 (09:44 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Wed, 9 Feb 2022 14:44:35 +0000 (09:44 -0500)
run
src/jvmMain/kotlin/starshipfights/auth/providers.kt
update [new file with mode: 0755]

diff --git a/run b/run
index 418f5ac83a55c88ee29dd9c7de09c977df974559..c1cd6d7263e50db128a0bfaca5e87df6bf32710f 100755 (executable)
--- a/run
+++ b/run
@@ -1,3 +1,3 @@
 #!/usr/bin/env sh
 
-gradle runShadow
+screen -dmS starshipfights gradle runShadow
index 5cc67ac4cfa1b7f3354618eb8f44711f8b844c23..381071056d6b51c575e092918e475c6a34f35628 100644 (file)
@@ -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 (executable)
index 0000000..714f37e
--- /dev/null
+++ b/update
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+
+screen -S starshipfights -X quit
+git pull
+./run