From 3fc6cabe33cecbd33cebd5cafc3bf7be69552e62 Mon Sep 17 00:00:00 2001 From: CakeLancelot Date: Tue, 19 Sep 2023 07:44:35 -0500 Subject: [PATCH] Disable telemetry in player dll Co-authored-by: gsemaj --- assets/js/server-selector.js | 8 +++++--- .../player/fusion-2.x.x/webplayer_win.dll | Bin 4124672 -> 4124672 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/js/server-selector.js b/assets/js/server-selector.js index 4b1bb26..d05ca31 100644 --- a/assets/js/server-selector.js +++ b/assets/js/server-selector.js @@ -180,8 +180,8 @@ function performCacheSwap(newVersion) { // Cache already exists, find out what version it belongs to if (remotefs.existsSync(record)) { if (lastVersion != newVersion) { - // Remove the directory we're trying to store the - // existing cache to if it already exists for whatever + // Remove the directory we're trying to store the + // existing cache to if it already exists for whatever // reason, as it would cause an EPERM error otherwise. // This is a no-op if the directory doesn't exist remotefs.removeSync(path.join(cacheRoot, lastVersion)); @@ -333,7 +333,9 @@ $("#server-table").on("dblclick", ".server-listing-entry", function (event) { }); $("#of-editservermodal").on("show.bs.modal", function (e) { - var jsonToModify = remotefs.readJsonSync(path.join(userData, "servers.json")); + var jsonToModify = remotefs.readJsonSync( + path.join(userData, "servers.json") + ); $.each(jsonToModify["servers"], function (key, value) { if (value["uuid"] == getSelectedServer()) { $("#editserver-descinput")[0].value = value["description"]; diff --git a/build/WebPlayer/player/fusion-2.x.x/webplayer_win.dll b/build/WebPlayer/player/fusion-2.x.x/webplayer_win.dll index c0dc71fae29a962f004fbe6bf2d280fc678a4ab1..b41bcc490788c235edc5e04f89029712e6189ff6 100644 GIT binary patch delta 232 zcmWl|#SKDH07b#zZXb7dcV|Z{)bSTLVM{S2guG_xgAIpC#{PUA_P-o*$|biv^2#T_ z0tzamup){ornnMM>usF3$K4ovnQO}5x(hh6sA=YT_w eIOc>?&N%0SORl))hFk8q=YdC_czzjkxvqW>jdJn; delta 232 zcmWl|#SH>c07cO-4DRmkZiCB?jwpb|OK6CMklze_u;Fr&bN_r@_kX!$$t_zRdF7K| z0R@@=e}{V*oU6w}Nw%N+A8u*ee2tgy-&>uj*e7TfHw%O3k2aL5tI eoN&q+=Ui~f6&