SukkaW d354c5e988
Some checks are pending
Build / Build (push) Waiting to run
Build / Diff output (push) Blocked by required conditions
Build / Deploy to Cloudflare Pages (push) Blocked by required conditions
Build / Deploy to GitHub and GitLab (push) Blocked by required conditions
Chore: maintainance
2025-02-07 17:52:36 +08:00

71 lines
2.6 KiB
JavaScript

'use strict';Object.defineProperty(exports,Symbol.toStringTag,{value:'Module'});const dir=require('../../_virtual/dir.cjs'),require$$0=require('node:path'),require$$1=require('node:process');var hasRequiredDir;
function requireDir () {
if (hasRequiredDir) return dir.__exports;
hasRequiredDir = 1;
(function (exports) {
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
CACHE_DIR: function() {
return CACHE_DIR;
},
OUTPUT_CLASH_DIR: function() {
return OUTPUT_CLASH_DIR;
},
OUTPUT_INTERNAL_DIR: function() {
return OUTPUT_INTERNAL_DIR;
},
OUTPUT_MOCK_DIR: function() {
return OUTPUT_MOCK_DIR;
},
OUTPUT_MODULES_DIR: function() {
return OUTPUT_MODULES_DIR;
},
OUTPUT_MODULES_RULES_DIR: function() {
return OUTPUT_MODULES_RULES_DIR;
},
OUTPUT_SINGBOX_DIR: function() {
return OUTPUT_SINGBOX_DIR;
},
OUTPUT_SURGE_DIR: function() {
return OUTPUT_SURGE_DIR;
},
PUBLIC_DIR: function() {
return PUBLIC_DIR;
},
ROOT_DIR: function() {
return ROOT_DIR;
},
SOURCE_DIR: function() {
return SOURCE_DIR;
}
});
const _nodepath = /*#__PURE__*/ _interop_require_default(require$$0);
const _nodeprocess = /*#__PURE__*/ _interop_require_default(require$$1);
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
const ROOT_DIR = _nodepath.default.resolve(__dirname, '../..');
const CACHE_DIR = _nodepath.default.resolve(ROOT_DIR, '.cache');
const SOURCE_DIR = _nodepath.default.join(ROOT_DIR, 'Source');
const PUBLIC_DIR = _nodeprocess.default.env.PUBLIC_DIR || _nodepath.default.resolve(ROOT_DIR, 'public');
const OUTPUT_SURGE_DIR = _nodepath.default.join(PUBLIC_DIR, 'List');
const OUTPUT_CLASH_DIR = _nodepath.default.resolve(PUBLIC_DIR, 'Clash');
const OUTPUT_SINGBOX_DIR = _nodepath.default.resolve(PUBLIC_DIR, 'sing-box');
const OUTPUT_MODULES_DIR = _nodepath.default.resolve(PUBLIC_DIR, 'Modules');
const OUTPUT_MODULES_RULES_DIR = _nodepath.default.resolve(OUTPUT_MODULES_DIR, 'Rules');
const OUTPUT_INTERNAL_DIR = _nodepath.default.resolve(PUBLIC_DIR, 'Internal');
const OUTPUT_MOCK_DIR = _nodepath.default.resolve(PUBLIC_DIR, 'Mock');
} (dir.__exports));
return dir.__exports;
}exports.__require=requireDir;