From 0537a3a27ad258b4b13b4c20fe680c00429ff1cd Mon Sep 17 00:00:00 2001 From: steve02081504 Date: Fri, 31 Jan 2025 19:54:05 +0800 Subject: [PATCH] auto update paks --- path/fount.ps1 | 1 + path/fount.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/path/fount.ps1 b/path/fount.ps1 index 751cc59..3686ab5 100644 --- a/path/fount.ps1 +++ b/path/fount.ps1 @@ -94,6 +94,7 @@ if (!(Test-Path -Path "$FOUNT_DIR/node_modules") -or ($args.Count -gt 0 -and $ar Write-Host "Installing dependencies..." deno install --allow-scripts --allow-all --node-modules-dir=auto --entrypoint "$FOUNT_DIR/src/server/index.mjs" } +deno outdated --update --latest # 执行 fount function run { diff --git a/path/fount.sh b/path/fount.sh index 6111373..fd2cec7 100644 --- a/path/fount.sh +++ b/path/fount.sh @@ -141,6 +141,7 @@ 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" fi +deno outdated --update --latest run() { if [[ $# -gt 0 && $1 = 'debug' ]]; then