aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Main.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-09-27 20:13:55 +0300
committerRblSb <msrblsb@gmail.com>2021-09-27 20:14:36 +0300
commit1dc2722d509e578b243bfda1a675dcfdb6003941 (patch)
treedd78e7e09432177f5ea4ed8a3febbfbf0d5113ec /src/client/Main.hx
parentd3c34032ef86163d683ef22906481e0f3196ae79 (diff)
Got a bug? Write /dump to chat as admin
And open new issue with received file.
Diffstat (limited to 'src/client/Main.hx')
-rw-r--r--src/client/Main.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index eae0fc8..96d9ad0 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -534,6 +534,9 @@ class Main {
case TogglePlaylistLock:
setPlaylistLock(data.togglePlaylistLock.isOpen);
+
+ case Dump:
+ Utils.saveFile("dump.json", ApplicationJson, data.dump.data);
}
}
@@ -879,6 +882,9 @@ class Main {
case "flashback", "fb":
send({type: Flashback});
return false;
+ case "dump":
+ send({type: Dump});
+ return true;
}
if (matchSimpleDate.match(command)) {
send({
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage