From 9b7e6a60587e155878b32252c1b4debbf88e2a77 Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 3 May 2022 16:30:49 -0500 Subject: [PATCH] Fix:Linux build script to use node16 --- build/linuxpackager | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/linuxpackager b/build/linuxpackager index 506c56ed..903ee74f 100755 --- a/build/linuxpackager +++ b/build/linuxpackager @@ -48,7 +48,7 @@ Description: $DESCRIPTION" echo "$controlfile" > dist/debian/DEBIAN/control; # Package debian -pkg -t node12-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf . +pkg -t node16-linux-x64 -o dist/debian/usr/share/audiobookshelf/audiobookshelf . fakeroot dpkg-deb --build dist/debian diff --git a/package.json b/package.json index d27548bf..e68e42a3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "node index.js", "client": "cd client && npm install && npm run generate", "prod": "npm run client && npm install && node prod.js", - "build-win": "pkg -t node12-win-x64 -o ./dist/win/audiobookshelf .", + "build-win": "pkg -t node16-win-x64 -o ./dist/win/audiobookshelf .", "build-linux": "build/linuxpackager", "docker": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 --push . -t advplyr/audiobookshelf", "deploy": "node dist/autodeploy"