aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Main.hx
diff options
context:
space:
mode:
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