Skip to content

Commit 8280b64

Browse files
authored
meta: add v0.13.1 to metainfo (#147)
* meta: add v0.13.1 to metainfo * cmd/trayscale: regenerate `default.pgo` * internal/ui: fix Mullvad exit node location in the peer list
1 parent 264cc8a commit 8280b64

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

Diff for: cmd/trayscale/default.pgo

-3.85 KB
Binary file not shown.

Diff for: dev.deedles.Trayscale.metainfo.xml

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
<content_rating type="oars-1.1" />
5555

5656
<releases>
57+
<release version="v0.13.1" date="2024-08-12">
58+
<description>
59+
<ul>Restructured Mullvad list to categorize per-country.</ul>
60+
<ul>Updated dependencies.</ul>
61+
</description>
62+
</release>
5763
<release version="v0.13.0" date="2024-07-12">
5864
<description>
5965
<ul>Remove control server dconf setting and instead use a new dialog.</ul>

Diff for: internal/ui/mullvadpage.go

+10-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (page *MullvadPage) Update(a *App, peer *ipnstate.PeerStatus, status tsutil
120120
if tsutil.IsMullvad(peer) {
121121
page.nodes = append(page.nodes, peer)
122122
if peer.ID == exitNodeID {
123-
page.name = fmt.Sprintf("%v [%v]", mullvadPageBaseName, mullvadLocationName(peer.Location))
123+
page.name = fmt.Sprintf("%v [%v]", mullvadPageBaseName, mullvadLongLocationName(peer.Location))
124124
}
125125
}
126126
}
@@ -184,6 +184,15 @@ func (row *exitNodeRow) Widget() gtk.Widgetter {
184184
return row.w
185185
}
186186

187+
func mullvadLongLocationName(loc *tailcfg.Location) string {
188+
return fmt.Sprintf(
189+
"%v %v, %v",
190+
countryCodeToFlag(loc.CountryCode),
191+
loc.City,
192+
loc.Country,
193+
)
194+
}
195+
187196
func mullvadLocationName(loc *tailcfg.Location) string {
188197
return fmt.Sprintf(
189198
"%v %v",

0 commit comments

Comments
 (0)