File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11{
2- "geode" : " 5.0.0-beta.2 " ,
2+ "geode" : " 5.0.0-beta.3 " ,
33 "version" : " v1.5.4" ,
44 "gd" : {
55 "win" : " 2.2081" ,
Original file line number Diff line number Diff line change 22// Ported with help by Firee
33// Mod made by Jouca & Firee
44
5+ // #include "defs/FileWatcher.hpp"
56#include " modules/events/DailyChest.hpp"
67$execute {
78 // listenForSettingChanges("activate-background", [](bool value) {
1617#include < arc/sync/mpsc.hpp>
1718#include < arc/sync/Mutex.hpp>
1819#include < arc/future/Select.hpp>
19- #include < modules/events/EventHandler.hpp>
2020#include < modules/events/EventsPush.hpp>
2121
22- bool g_socket_server_ran = false ;
22+ static bool g_socket_server_ran = false ;
23+ // static FileWatcher* g_watcher;
2324
2425$execute {
2526 if (Mod::get ()->getSettingValue <bool >(" server-notification" )) {
@@ -73,6 +74,12 @@ bool g_socket_server_ran = false;
7374 );
7475 }
7576 });
77+ /* auto watcher = FileWatcher::getForDirectory("gdutils");
78+ watcher->watch("gdutils.heartbeat", [] {
79+ });
80+ async::runtime().spawn([]() -> arc::Future<> {
81+ co_return;
82+ });*/
7683}
7784
7885$on_game(Loaded) {
You can’t perform that action at this time.
0 commit comments