@rubytech/create-maxy 1.0.803 → 1.0.804
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1760,22 +1760,10 @@ function installTunnelScripts() {
|
|
|
1760
1760
|
const setupSrc = join(INSTALL_DIR, "platform/plugins/cloudflare/scripts/setup-tunnel.sh");
|
|
1761
1761
|
const resetSrc = join(INSTALL_DIR, "platform/plugins/cloudflare/scripts/reset-tunnel.sh");
|
|
1762
1762
|
const listSrc = join(INSTALL_DIR, "platform/plugins/cloudflare/scripts/list-cf-domains.sh");
|
|
1763
|
-
// _cdp-authorize.mjs is invoked by setup-tunnel.sh via `node <path>` and
|
|
1764
|
-
// resolved via readlink -f → same dir as the script. It does NOT get a
|
|
1765
|
-
// $HOME symlink — it's a helper, not a top-level operator command. We do
|
|
1766
|
-
// chmod +x defensively so `ls -l` and any ad-hoc `~/setup-tunnel.sh` copy
|
|
1767
|
-
// flow sees it as executable (Task 588).
|
|
1768
|
-
//
|
|
1769
|
-
// _cdp-authorize-matcher.mjs is imported by _cdp-authorize.mjs (Task 855)
|
|
1770
|
-
// — the tri-state matcher's MATCH_EXPR + findMatch live in this side
|
|
1771
|
-
// module so JSDOM tests run identical logic to the live page. chmod +x
|
|
1772
|
-
// is defensive symmetry; the file is read by Node, not exec'd.
|
|
1773
|
-
const cdpAuthorizeSrc = join(INSTALL_DIR, "platform/plugins/cloudflare/scripts/_cdp-authorize.mjs");
|
|
1774
|
-
const cdpMatcherSrc = join(INSTALL_DIR, "platform/plugins/cloudflare/scripts/_cdp-authorize-matcher.mjs");
|
|
1775
1763
|
const setupLink = resolve(process.env.HOME ?? "/root", "setup-tunnel.sh");
|
|
1776
1764
|
const resetLink = resolve(process.env.HOME ?? "/root", "reset-tunnel.sh");
|
|
1777
1765
|
const listLink = resolve(process.env.HOME ?? "/root", "list-cf-domains.sh");
|
|
1778
|
-
for (const src of [setupSrc, resetSrc, listSrc
|
|
1766
|
+
for (const src of [setupSrc, resetSrc, listSrc]) {
|
|
1779
1767
|
try {
|
|
1780
1768
|
chmodSync(src, 0o755);
|
|
1781
1769
|
}
|