@@ -23,27 +23,45 @@ strongly discouraged for anything other than a **Patch** version release.
23
23
24
24
### Script-aided procedure {collapsible="true" default-state="collapsed"}
25
25
26
- #### Windows
27
-
28
- For convenience, there's an automatic server updater-script with auto-backup
26
+ For convenience, there are server updater-scripts with auto-backup
29
27
capabilities.
30
28
29
+ #### Windows
30
+
31
31
Open PowerShell and run the following command:
32
32
33
33
``` Shell
34
34
Set-ExecutionPolicy Bypass -Scope Process -Force; iex (( New- Object System.Net.WebClient).DownloadString('https:// raw.githubusercontent.com/ memospot/ memospot/ main/ memos- server- updater.ps1 '))
35
35
```
36
36
37
37
> You can check the script source
38
- > [ here.] ( https://raw.githubusercontent. com/memospot/memospot/main/memos-server-updater.ps1 )
39
- > {style=note}
38
+ > [ here.] ( https://github. com/memospot/memospot/blob /main/memos-server-updater.ps1 )
39
+ >
40
40
41
41
> You must run PowerShell as Admin if you are using Memospot ` MSI ` installers,
42
42
> as they do a system-wide installation.
43
43
>
44
44
> This is ** not** necessary when using the NSIS/exe installer,
45
45
> as it only installs the application for the current user.
46
46
> {style=warning}
47
+ >
48
+
49
+ #### Linux/macOS
50
+
51
+ Open a terminal and run the following command:
52
+
53
+ ``` Shell
54
+ curl -fsSL https://raw.githubusercontent.com/memospot/memospot/main/memos-server-updater.sh | sudo bash
55
+ ```
56
+
57
+ > You can check the script source
58
+ > [ here.] ( https://github.com/memospot/memospot/blob/main/memos-server-updater.sh )
59
+ >
60
+
61
+ > You must run the script with sudo, as the Memospot ` deb ` package installs Memos to ` /usr/bin/ ` .
62
+ > {style=warning}
63
+
64
+ The script can take an optional argument to specify a tag to update to. E.g. ` … bash -s v0.21.0 ` .
47
65
48
66
### Manual procedure {collapsible="true" default-state="collapsed"}
49
67
0 commit comments