change log in

This commit is contained in:
oliver 2026-09-08 00:28:58 +08:00
parent 9cf026f605
commit 8ca42dd973
211 changed files with 48417 additions and 109 deletions

55
uds-auth/lib/qrcode-lib/node_modules/.bin/qrcode generated vendored Normal file
View file

@ -0,0 +1,55 @@
#!/bin/sh
# Resolve $0 through symlinks so basedir is the shim's real directory.
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
link="$0"
hops=0
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
hops=$((hops+1))
target=$(readlink "$link")
case "$target" in
/*) link="$target" ;;
*) link="$(dirname "$link")/$target" ;;
esac
done
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
basedir_win="$basedir"
exe=""
msys=""
case `uname -a` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir_win=`cygpath -w "$basedir"`
fi
exe=".exe"
msys="true"
;;
*WSL2*)
if command -v wslpath > /dev/null 2>&1; then
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
basedir_win="$basedir"
else
exe=".exe"
fi
fi
;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
exec "$basedir/node.exe" "$basedir_win/../../bin/qrcode" "$@"
elif [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../../bin/qrcode" "$@"
elif command -v node >/dev/null 2>&1; then
exec node "$basedir/../../bin/qrcode" "$@"
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
exec node.exe "$basedir_win/../../bin/qrcode" "$@"
else
exec node "$basedir/../../bin/qrcode" "$@"
fi
# cmd-shim-target=D:/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/bin/qrcode

12
uds-auth/lib/qrcode-lib/node_modules/.bin/qrcode.CMD generated vendored Normal file
View file

@ -0,0 +1,12 @@
@SETLOCAL
@IF NOT DEFINED NODE_PATH (
@SET "NODE_PATH=D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules\qrcode\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\node_modules"
) ELSE (
@SET "NODE_PATH=D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules\qrcode\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\node_modules;%NODE_PATH%"
)
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\..\bin\qrcode" %*
) ELSE (
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\..\bin\qrcode" %*
)

41
uds-auth/lib/qrcode-lib/node_modules/.bin/qrcode.ps1 generated vendored Normal file
View file

@ -0,0 +1,41 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
$pathsep=":"
$env_node_path=$env:NODE_PATH
$new_node_path="D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules\qrcode\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\qrcode@1.5.4\node_modules;D:\code\gpt\dsh-im-ops\node_modules\.pnpm\node_modules"
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
$pathsep=";"
} else {
$new_node_path="/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/qrcode@1.5.4/node_modules:/mnt/d/code/gpt/dsh-im-ops/node_modules/.pnpm/node_modules"
}
if ([string]::IsNullOrEmpty($env_node_path)) {
$env:NODE_PATH=$new_node_path
} else {
$env:NODE_PATH="$new_node_path$pathsep$env_node_path"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../../bin/qrcode" $args
} else {
& "$basedir/node$exe" "$basedir/../../bin/qrcode" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../../bin/qrcode" $args
} else {
& "node$exe" "$basedir/../../bin/qrcode" $args
}
$ret=$LASTEXITCODE
}
$env:NODE_PATH=$env_node_path
exit $ret