forked from Github/Axter-Stash
Update filemonitor.js
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
const { Link, NavLink, } = PluginApi.libraries.ReactRouterDOM;
|
||||
var iconToUse = faFileCircleXmark;
|
||||
var FileMonitorRunningStatusStr = "";
|
||||
var IS_DOCKER = false;
|
||||
var DockerWarning = null;
|
||||
function RunPluginFileMonitor(Mode, ActionID = 0, DataType = "text", Async = false) {
|
||||
console.log("Mode = " + Mode);
|
||||
@@ -36,9 +35,8 @@
|
||||
FileMonitorRunningStatusStr = "FileMonitor is NOT running!!!";
|
||||
}
|
||||
if (result.indexOf("IS_DOCKER:'True'") > 0){
|
||||
IS_DOCKER = true;
|
||||
DockerWarning = React.createElement("div", null,
|
||||
React.createElement("h4", null, "Must run FileMonitor on host machine. Do not run directly in Docker! For more information see following link:"),
|
||||
React.createElement("h4", null, "Must run FileMonitor on host machine as a script. Do not run directly in Docker! For more information see following link:"),
|
||||
React.createElement("a", {href: "https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/FileMonitor#Docker", style:{color:"pink"}, target:"_blank"}, "https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/FileMonitor#Docker"));
|
||||
console.log("FileMonitor must run on host machine. Do NOT run FileMonitor directly in Docker. See following link for more details.\n https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/FileMonitor#Docker");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user