mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-10-27 23:30:55 +01:00
build: use bun build to create binary (#674)
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@ if [ -z "$PUID" ] || [ "$PUID" -eq 0 ]; then
|
||||
umask "$UMASK"
|
||||
fi
|
||||
if [ $# -eq 0 ]; then
|
||||
set -- bun run dist/src/index.js
|
||||
set -- /app/convertx
|
||||
fi
|
||||
exec "$@"
|
||||
fi
|
||||
@@ -45,7 +45,7 @@ fi
|
||||
export HOME=/home/convertx
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
set -- bun run dist/src/index.js
|
||||
set -- /app/convertx
|
||||
fi
|
||||
|
||||
exec gosu convertx "$@"
|
||||
|
||||
Reference in New Issue
Block a user