Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build: Update bettersqlite3 binary for Linux server
Elian Doran2a57765dd94a
diff --git a/bin/better-sqlite3/linux-server-better_sqlite3.node b/bin/better-sqlite3/linux-server-better_sqlite3.nodeold mode 100644new mode 100755index ca173a3c63..00c00a96f6Binary files a/bin/better-sqlite3/linux-server-better_sqlite3.node and b/bin/better-sqlite3/linux-server-better_sqlite3.node differdiff --git a/bin/better-sqlite3/update.sh b/bin/better-sqlite3/update.shindex 235cf5d247..1f9ef8ba7a 100755--- a/bin/better-sqlite3/update.sh+++ b/bin/better-sqlite3/update.sh@@ -1,11 +1,13 @@#!/usr/bin/env bash-ELECTRON_VERSION=125+ELECTRON_VERSION="electron-v125"+NODE_VERSION="node-v115"BETTER_SQLITE3_VERSION=11.1.2function download() {- platform="$1"- dest_name="$2"- url=https://github.com/WiseLibs/better-sqlite3/releases/download/v${BETTER_SQLITE3_VERSION}/better-sqlite3-v${BETTER_SQLITE3_VERSION}-electron-v${ELECTRON_VERSION}-${platform}.tar.gz+ version="$1"+ platform="$2"+ dest_name="$3"+ url=https://github.com/WiseLibs/better-sqlite3/releases/download/v${BETTER_SQLITE3_VERSION}/better-sqlite3-v${BETTER_SQLITE3_VERSION}-${version}-${platform}.tar.gztemp_file="temp.tar.gz"curl -L "$url" -o "$temp_file"tar -xzvf "$temp_file"@@ -17,7 +19,8 @@ function download() {script_dir=$(realpath $(dirname $0))cd "$script_dir"-download "linux-x64" "linux-desktop"-download "win32-x64" "win"-download "darwin-x64" "mac-x64"-download "darwin-arm64" "mac-arm64"\ No newline at end of file+download $NODE_VERSION "linux-x64" "linux-server"+download $ELECTRON_VERSION "linux-x64" "linux-desktop"+download $ELECTRON_VERSION "win32-x64" "win"+download $ELECTRON_VERSION "darwin-x64" "mac-x64"+download $ELECTRON_VERSION "darwin-arm64" "mac-arm64"\ No newline at end of file