From 747a86bb94006aaca721cfc0c0ce7061643a9ea6 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期四, 20 八月 2026 12:19:35 +0800
Subject: [PATCH] gx
---
runtime-paths.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/runtime-paths.js b/runtime-paths.js
index 34d9ef9..4cfff91 100644
--- a/runtime-paths.js
+++ b/runtime-paths.js
@@ -1,6 +1,7 @@
const fs = require('fs');
const path = require('path');
+// 按候选路径顺序寻找默认配置文件,兼容源码运行和打包运行两种场景。
function fileExists(filePath) {
try {
return fs.statSync(filePath).isFile();
--
Gitblit v1.8.0