Skip to content

Commit

Permalink
[...] 更新共享js文件默认加载目录
Browse files Browse the repository at this point in the history
  • Loading branch information
happyme531 committed Aug 4, 2024
1 parent c2a369b commit 4981814
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 楚留香刷亲密度/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ try {
function requireShared(fileName) {
const sharedDirRel = "../shared/";
const cacheDirRel = "./sharedcache/";
const alternativeSharedDir = "/sdcard/脚本/shared/";
const alternativeSharedDir = "/sdcard/脚本/clxTools/shared/";
function copyDir(src, dst) {
let filess = files.listDir(src);
for (let i = 0; i < filess.length; i++) {
Expand Down
4 changes: 2 additions & 2 deletions 楚留香图片转影壁.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const colorTableMaxAllowedDiff = 10; //获取颜色表时允许的最大颜色
* @param {string} fileName
*/
function requireShared(fileName) {
const sharedDirRel = "../shared/";
const sharedDirRel = "./shared/";
const cacheDirRel = "./sharedcache/";
const alternativeSharedDir = "/sdcard/脚本/shared/";
const alternativeSharedDir = "/sdcard/脚本/clxTools/shared/";
function copyDir(src, dst) {
let filess = files.listDir(src);
for (let i = 0; i < filess.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion 楚留香音乐盒/src/requireShared.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
function requireShared(fileName) {
const sharedDirRel = "../shared/";
const cacheDirRel = "./sharedcache/";
const alternativeSharedDir = "/sdcard/脚本/shared/";
const alternativeSharedDir = "/sdcard/脚本/clxTools/shared/";
function copyDir(src, dst) {
let filess = files.listDir(src);
for (let i = 0; i < filess.length; i++) {
Expand Down

0 comments on commit 4981814

Please sign in to comment.