diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html index b2bf30c81..2ac344c9b 100644 --- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html +++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Nightly release.html @@ -26,10 +26,35 @@
This is pretty useful if you are a beta tester that wants to periodically update their version:
-On Ubuntu:
#!/usr/bin/env bash
+On Ubuntu (Bash)
#!/usr/bin/env bash
name=TriliumNotes-linux-x64-nightly.deb
rm -f $name*
wget https://github.com/TriliumNext/Trilium/releases/download/nightly/$name
sudo apt-get install ./$name
-rm $name
\ No newline at end of file
+rm $name
+if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") {
+ $arch = "arm64";
+} else {
+ $arch = "x64";
+}
+
+$exeUrl = "https://github.com/TriliumNext/Trilium/releases/download/nightly/TriliumNotes-main-windows-$($arch).exe";
+Write-Host "Downloading $($exeUrl)"
+
+# Generate a unique path in the temp dir
+$guid = [guid]::NewGuid().ToString()
+$destination = Join-Path -Path $env:TEMP -ChildPath "$guid.exe"
+
+try {
+ $ProgressPreference = 'SilentlyContinue'
+ Invoke-WebRequest -Uri $exeUrl -OutFile $destination
+ $process = Start-Process -FilePath $destination
+} catch {
+ Write-Error "An error occurred: $_"
+} finally {
+ # Clean up
+ if (Test-Path $destination) {
+ Remove-Item -Path $destination -Force
+ }
+}
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
index 5aa0d98b9..daed786e9 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html
@@ -24,8 +24,7 @@
Trilium will save these clippings as a new child note under a "clipper @@ -40,10 +39,8 @@
Keyboard shortcuts are available for most functions:
To set custom shortcuts, follow the directions for your browser.
web-clipper-extension.trilium-web-clipper-[x.y.z]-chrome.zip.chrome://extensions/
- chrome://extensions/
+