@trap_stevo/filetide
Version:
Revolutionizing real-time file transfer with seamless, instant communication across any device. Deliver files instantly, regardless of platform, and experience unparalleled speed and control in managing transfers. Elevate your file-sharing capabilities wi
57 lines (46 loc) • 1.95 kB
JavaScript
;
const LogicTide = require("@trap_stevo/logictide");
const {
getUniversalPrefix
} = require("../HUDManagers/FileTideUniversalPathsUtilityManager.js");
// ~ Universal FileTide Root Path Configurations ~
LogicTide.defineLogic("filetide-root-path", "development", () => {
return ".filetide";
});
LogicTide.defineLogic("filetide-root-path", "production", () => {
return `${getUniversalPrefix()}/.filetide`;
});
// ~ Universal Tidalytics Path Configurations ~
LogicTide.defineLogic("tidalytics-path", "development", () => {
return ".filetide/filetide_core/.tidalytics";
});
LogicTide.defineLogic("tidalytics-path", "production", () => {
return `${getUniversalPrefix()}/.filetide/filetide_core/.tidalytics`;
});
// ~ Universal Tide Sentinel Path Configurations ~
LogicTide.defineLogic("tide-sentinel-path", "development", () => {
return ".filetide/filetide_core/tide_sentinel";
});
LogicTide.defineLogic("tide-sentinel-path", "production", () => {
return `${getUniversalPrefix()}/.filetide/filetide_core/tide_sentinel`;
});
// ~ Universal Tidal Core Path Configurations ~
LogicTide.defineLogic("tidal-core-path", "development", () => {
return ".filetide/tidal_core";
});
LogicTide.defineLogic("tidal-core-path", "production", () => {
return `${getUniversalPrefix()}/.filetide/tidal_core`;
});
// ~ Universal Tide Sessions Path Configurations ~
LogicTide.defineLogic("tide-session-ids-path", "development", () => {
return ".filetide/tidal_client/tide_session_ids.json";
});
LogicTide.defineLogic("tide-session-ids-path", "production", () => {
return `${getUniversalPrefix()}/.filetide/tidal_client/tide_session_ids.json`;
});
LogicTide.defineLogic("tide-session-id-path", "development", () => {
return ".filetide/tidal_client/tide_session_id.json";
});
LogicTide.defineLogic("tide-session-id-path", "production", () => {
return `${getUniversalPrefix()}/.filetide/tidal_client/tide_session_id.json`;
});