mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
update: distinguish E2EE builds
done in the same way as TrayIcon
This commit is contained in:
parent
59e9d457c2
commit
0e7245e6b9
@ -59,7 +59,7 @@ jfa-go is a user management app for [Jellyfin](https://github.com/jellyfin/jelly
|
|||||||
|
|
||||||
**Note**: `TrayIcon` builds include a tray icon to start/stop/restart, and an option to automatically start when you log-in to your computer. For Linux users, these builds depend on the `libappindicator3-1`/`libappindicator-gtk3`/`libappindicator` package for Debian/Ubuntu, Fedora, and Alpine respectively.
|
**Note**: `TrayIcon` builds include a tray icon to start/stop/restart, and an option to automatically start when you log-in to your computer. For Linux users, these builds depend on the `libappindicator3-1`/`libappindicator-gtk3`/`libappindicator` package for Debian/Ubuntu, Fedora, and Alpine respectively.
|
||||||
|
|
||||||
`MatrixE2EE` builds (and Linux `TrayIcon` builds) include support for end-to-end encryption for the Matrix bots, but require the `libolm(-dev)` dependency. `.deb/.rpm/.apk` packages list this dependency, and docker images include it.
|
`MatrixE2EE` builds (and Linux `TrayIcon` builds) include support for end-to-end encryption for the Matrix bot, but require the `libolm(-dev)` dependency. `.deb/.rpm/.apk` packages list this dependency, and docker images include it.
|
||||||
|
|
||||||
##### [Docker](https://hub.docker.com/r/hrfee/jfa-go)
|
##### [Docker](https://hub.docker.com/r/hrfee/jfa-go)
|
||||||
```sh
|
```sh
|
||||||
|
14
updater.go
14
updater.go
@ -363,11 +363,17 @@ func getBuildName() string {
|
|||||||
if arch == "" {
|
if arch == "" {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
tray := ""
|
// Tray builds always have E2EE but aren't labelled as so,
|
||||||
if TRAY {
|
// hence the specific ordering here.
|
||||||
tray = "TrayIcon_"
|
subtype := ""
|
||||||
|
if MatrixE2EE() {
|
||||||
|
subtype = "MatrixE2EE_"
|
||||||
}
|
}
|
||||||
return tray + operatingSystem + "_" + arch
|
if TRAY {
|
||||||
|
subtype = "TrayIcon_"
|
||||||
|
}
|
||||||
|
|
||||||
|
return subtype + operatingSystem + "_" + arch
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ud *Updater) downloadInternal(assets *[]GHAsset, tag Tag) (applyUpdate ApplyUpdate, status int, err error) {
|
func (ud *Updater) downloadInternal(assets *[]GHAsset, tag Tag) (applyUpdate ApplyUpdate, status int, err error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user