From fc40e5426101679ea1bce11d920c318487d9349b Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Sun, 11 Dec 2022 18:24:29 +0100 Subject: [PATCH] Remove unnecessary powershell scripts --- bin/build-win-x64.sh | 2 +- bin/tpl/trilium-no-cert-check.ps1 | 2 -- bin/tpl/trilium-portable.ps1 | 2 -- bin/tpl/trilium-safe-mode.ps1 | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 bin/tpl/trilium-no-cert-check.ps1 delete mode 100644 bin/tpl/trilium-portable.ps1 delete mode 100644 bin/tpl/trilium-safe-mode.ps1 diff --git a/bin/build-win-x64.sh b/bin/build-win-x64.sh index 9a347a30b..8f1266e2c 100755 --- a/bin/build-win-x64.sh +++ b/bin/build-win-x64.sh @@ -30,7 +30,7 @@ cp bin/tpl/anonymize-database.sql $BUILD_DIR/ cp -r dump-db $BUILD_DIR/ rm -rf $BUILD_DIR/dump-db/node_modules -cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.{bat,ps1} $BUILD_DIR/ +cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/ echo "Zipping windows x64 electron distribution..." VERSION=`jq -r ".version" package.json` diff --git a/bin/tpl/trilium-no-cert-check.ps1 b/bin/tpl/trilium-no-cert-check.ps1 deleted file mode 100644 index 43ea010b9..000000000 --- a/bin/tpl/trilium-no-cert-check.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -Set-Item -Path Env:NODE_TLS_REJECT_UNAUTHORIZED -Value 0 -./trilium.exe \ No newline at end of file diff --git a/bin/tpl/trilium-portable.ps1 b/bin/tpl/trilium-portable.ps1 deleted file mode 100644 index 98bd36cb6..000000000 --- a/bin/tpl/trilium-portable.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -Set-Item -Path Env:TRILIUM_DATA_DIR -Value './trilium-data' -./trilium.exe \ No newline at end of file diff --git a/bin/tpl/trilium-safe-mode.ps1 b/bin/tpl/trilium-safe-mode.ps1 deleted file mode 100644 index 909c2f1f5..000000000 --- a/bin/tpl/trilium-safe-mode.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -Set-Item -Path Env:TRILIUM_SAFE_MODE -Value 1 -./trilium.exe --disable-gpu