Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Jan 31, 2025
1 parent 4db83f8 commit 460616d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion path/fount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ deno -V
# 安装依赖
if (!(Test-Path -Path "$FOUNT_DIR/node_modules") -or ($args.Count -gt 0 -and $args[0] -eq 'init')) {
Write-Host "Installing dependencies..."
deno install --allow-scripts --allow-all --node-modules-dir=auto --entrypoint "$FOUNT_DIR/src/server/index.mjs"
deno install --reload --allow-scripts --allow-all --node-modules-dir=auto --entrypoint "$FOUNT_DIR/src/server/index.mjs"
}

# 执行 fount
Expand Down
2 changes: 1 addition & 1 deletion path/fount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fi
deno -V
if [[ ! -d "$FOUNT_DIR/node_modules" || ($# -gt 0 && $1 = 'init') ]]; then
echo "Installing dependencies..."
deno install --allow-scripts --allow-all --node-modules-dir=auto --entrypoint "$FOUNT_DIR/src/server/index.mjs"
deno install --reload --allow-scripts --allow-all --node-modules-dir=auto --entrypoint "$FOUNT_DIR/src/server/index.mjs"
fi

run() {
Expand Down
2 changes: 1 addition & 1 deletion src/public/ImportHanlders/SillyTavern/main.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getAvailablePath } from './path.mjs'
import data_reader from './data_reader.mjs'
import fs from 'npm:fs-extra'
import fs from 'npm:fs-extra@11.3.0'
import path from 'node:path'
import { saveJsonFile } from '../../../scripts/json_loader.mjs'
import { GetV2CharDataFromV1 } from './engine/charData.mjs'
Expand Down
2 changes: 1 addition & 1 deletion src/public/ImportHanlders/fount/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { unzipDirectory } from './zip.mjs'
import { cloneRepo } from './git.mjs'
import { getAvailablePath } from './path.mjs'
import { mkdir, rm } from 'node:fs/promises'
import { move } from 'npm:fs-extra'
import { move } from 'npm:fs-extra@11.3.0'
import path from 'node:path'
import { tmpdir } from 'node:os'
import { loadJsonFile } from '../../../scripts/json_loader.mjs'
Expand Down

0 comments on commit 460616d

Please sign in to comment.