feat: integrate desktop runtime and root workspace updates
This commit is contained in:
1 parent
f5a4a9ee97
commit
168623c459
93 files changed
+19540
-1208
No files matched your search
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/baseline-browser-mapping/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/baseline-browser-mapping/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../baseline-browser-mapping/dist/cli.cjs" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../baseline-browser-mapping/dist/cli.cjs" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\baseline-browser-mapping\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\baseline-browser-mapping\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\baseline-browser-mapping\dist\cli.cjs" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\baseline-browser-mapping\dist\cli.cjs" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\baseline-browser-mapping\dist\cli.cjs" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\baseline-browser-mapping\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/baseline-browser-mapping/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/browserslist/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/browserslist/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../browserslist/cli.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\browserslist\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\browserslist\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\browserslist\cli.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\browserslist\cli.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\browserslist\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/browserslist/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/esbuild/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/esbuild/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../esbuild/bin/esbuild" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\esbuild\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\esbuild\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\esbuild\bin\esbuild" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\esbuild\bin\esbuild" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esbuild\bin\esbuild" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\esbuild\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/esbuild/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/jsesc/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/jsesc/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../jsesc/bin/jsesc" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\jsesc\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\jsesc\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\jsesc\bin\jsesc" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\jsesc\bin\jsesc" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\jsesc\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/jsesc/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/json5/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/json5/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../json5/lib/cli.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\json5\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\json5\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\json5\lib\cli.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\json5\lib\cli.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\json5\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/json5/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/loose-envify/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/loose-envify/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../loose-envify/cli.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../loose-envify/cli.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\loose-envify\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\loose-envify\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\loose-envify\cli.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\loose-envify\cli.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\loose-envify\cli.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\loose-envify\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/loose-envify/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/nanoid/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/nanoid/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\nanoid\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\nanoid\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\nanoid\bin\nanoid.cjs" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\nanoid\bin\nanoid.cjs" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\nanoid\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/nanoid/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/@babel/parser/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/@babel/parser/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../@babel/parser/bin/babel-parser.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\@babel\parser\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\@babel\parser\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\@babel\parser\bin\babel-parser.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\@babel\parser\bin\babel-parser.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@babel\parser\bin\babel-parser.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\@babel\parser\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/@babel/parser/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/rollup/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/rollup/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../rollup/dist/bin/rollup" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../rollup/dist/bin/rollup" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\rollup\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\rollup\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\rollup\dist\bin\rollup" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\rollup\dist\bin\rollup" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rollup\dist\bin\rollup" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\rollup\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/rollup/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/semver/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/semver/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../semver/bin/semver.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\semver\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\semver\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\semver\bin\semver.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\semver\bin\semver.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\semver\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/semver/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+6
-1
@@ -9,8 +9,13 @@ case `uname` in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/update-browserslist-db/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/update-browserslist-db/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../update-browserslist-db/cli.js" "$@"
|
||||
else
|
||||
else
|
||||
exec node "$basedir/../update-browserslist-db/cli.js" "$@"
|
||||
fi
|
||||
+10
-15
@@ -1,17 +1,12 @@
|
||||
@ECHO off
|
||||
GOTO start
|
||||
:find_dp0
|
||||
SET dp0=%~dp0
|
||||
EXIT /b
|
||||
:start
|
||||
SETLOCAL
|
||||
CALL :find_dp0
|
||||
|
||||
IF EXIST "%dp0%\node.exe" (
|
||||
SET "_prog=%dp0%\node.exe"
|
||||
@SETLOCAL
|
||||
@IF NOT DEFINED NODE_PATH (
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\update-browserslist-db\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules"
|
||||
) ELSE (
|
||||
SET "_prog=node"
|
||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
@SET "NODE_PATH=D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\update-browserslist-db\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\.pnpm\node_modules;%NODE_PATH%"
|
||||
)
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\update-browserslist-db\cli.js" %*
|
||||
) ELSE (
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\update-browserslist-db\cli.js" %*
|
||||
)
|
||||
|
||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\update-browserslist-db\cli.js" %*
|
||||
+13
@@ -2,11 +2,23 @@
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
$pathsep=":"
|
||||
$env_node_path=$env:NODE_PATH
|
||||
$new_node_path="D:\Documents\Github\ai-backend-studio\tauri-app\node_modules\update-browserslist-db\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\node_modules;D:\Documents\Github\ai-backend-studio\tauri-app\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/Documents/Github/ai-backend-studio/tauri-app/node_modules/update-browserslist-db/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/node_modules:/mnt/d/Documents/Github/ai-backend-studio/tauri-app/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
|
||||
@@ -25,4 +37,5 @@ if (Test-Path "$basedir/node$exe") {
|
||||
}
|
||||
$ret=$LASTEXITCODE
|
||||
}
|
||||
$env:NODE_PATH=$env_node_path
|
||||
exit $ret
|
||||
+1157
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user