File size: 1,356 Bytes
df23150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*|*MINGW*|*MSYS*)
        if command -v cygpath > /dev/null 2>&1; then
            basedir=`cygpath -w "$basedir"`
        fi
    ;;
esac

if [ -z "$NODE_PATH" ]; then
  export NODE_PATH="/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/@paperclipai+plugin-sdk@fil_ebbf6fdec404073245df4983a881d432/node_modules/@paperclipai/plugin-sdk/node_modules:/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/@paperclipai+plugin-sdk@fil_ebbf6fdec404073245df4983a881d432/node_modules:/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/@paperclipai+plugin-sdk@fil_ebbf6fdec404073245df4983a881d432/node_modules/@paperclipai/plugin-sdk/node_modules:/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/@paperclipai+plugin-sdk@fil_ebbf6fdec404073245df4983a881d432/node_modules:/mnt/e/Codeing/paperclip-global-openai-provider-plugin/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../@paperclipai/plugin-sdk/dist/dev-cli.js" "$@"
else
  exec node  "$basedir/../@paperclipai/plugin-sdk/dist/dev-cli.js" "$@"
fi