mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
feat(gui,core): opt-in check for new releases
Preferences gets a switch that asks GitHub once a day for the latest release and shows a banner over the sidebar when it is newer. Off by default. Packages whose package manager brings updates install the marker share/proton-drive-linux/managed-updates, which hides the switch. Refs #42
This commit is contained in:
1 parent
29b87ece72
commit
e66308498b
25 files changed
+2270
-1569
No files matched your search
@@ -288,6 +288,13 @@ starts; to switch at once:
|
||||
systemctl --user restart proton-drive.service
|
||||
```
|
||||
|
||||
With the `.deb`, the release `.rpm` or the `.tar.gz`, nothing tells you about a new release.
|
||||
Turn on **Preferences → General → Check for updates** and the app asks GitHub once a day and
|
||||
shows a banner over the sidebar when a newer version is out. Packages that a package manager
|
||||
updates do not offer the setting. A package shows this by installing the empty file
|
||||
`share/proton-drive-linux/managed-updates` under the prefix of its `bin/` directory, for example
|
||||
`/usr/share/proton-drive-linux/managed-updates`.
|
||||
|
||||
Coming from 2.8.0 or older, re-enable the service once. Those releases hooked it into
|
||||
`default.target`, which starts it before the desktop session is ready; on KDE that crashes
|
||||
`ksecretd` at every login. Signing in again or toggling "Start on login" does this as well:
|
||||
|
||||
Reference in new issue
Block a user