Skip to content

Commit

Permalink
Update release links to include release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Dec 4, 2023
1 parent 10b8702 commit b4330e2
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 36 deletions.
32 changes: 17 additions & 15 deletions frontend/src/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import fdroid from './images/fdroid.png';
import config from './config.json';

const androidUrl = `/zeus-${config.latestVersion}-universal.apk`;
const manifestUrl = `/manifest-${config.latestVersion}.txt`;
const releaseNotesUrl = `https://github.com/ZeusLN/zeus/releases/tag/${config.latestVersion}`;

const androidUrlBeta = `/zeus-${config.latestBetaVersion}-universal.apk`;
const manifestUrlBeta = `/manifest-${config.latestBetaVersion}.txt`;
const releaseNotesUrlBeta = `https://github.com/ZeusLN/zeus/releases/tag/${config.latestBetaVersion}`;

const AppStores = ({ signatures = false }: { signatures?: boolean }) => (
<>
Expand Down Expand Up @@ -59,21 +59,23 @@ const AppStores = ({ signatures = false }: { signatures?: boolean }) => (
Latest release: {config.latestVersion}
</p>
<p className="downloadDetails">
<a href={manifestUrl}>Manifest</a> |{' '}
<a href={manifestUrlBeta}>Beta Manifest</a> |{' '}
<a href={releaseNotesUrl}>Release notes</a> |{' '}
<a href="/PGP.txt">PGP key</a>
</p>
<p className="downloadDetails">
Latest beta: {config.latestBetaVersion}
</p>
<p className="downloadDetails">
<a href={androidUrlBeta}>APK</a> |{' '}
<a href={manifestUrlBeta}>Manifest</a> |{' '}
<a href="/PGP.txt">PGP key</a> |{' '}
<a href="https://testflight.apple.com/join/vVnODWoi">
iOS TestFlight
</a>
</p>
{config.latestBetaVersion && (
<>
<p className="downloadDetails">
Latest beta: {config.latestBetaVersion}
</p>
<p className="downloadDetails">
<a href={androidUrlBeta}>APK</a> |{' '}
<a href={releaseNotesUrlBeta}>Release notes</a> |{' '}
<a href="https://testflight.apple.com/join/vVnODWoi">
iOS TestFlight
</a>
</p>
</>
)}
</>
)}
</>
Expand Down
31 changes: 17 additions & 14 deletions frontend/src/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import hyper from './images/hyper.jpg';
import config from './config.json';

const androidUrl = `/zeus-${config.latestVersion}-universal.apk`;
const manifestUrl = `/manifest-${config.latestVersion}.txt`;
const releaseNotesUrl = `https://github.com/ZeusLN/zeus/releases/tag/${config.latestVersion}`;

const androidUrlBeta = `/zeus-${config.latestBetaVersion}-universal.apk`;
const manifestUrlBeta = `/manifest-${config.latestBetaVersion}.txt`;
const releaseNotesUrlBeta = `https://github.com/ZeusLN/zeus/releases/tag/${config.latestBetaVersion}`;

const AppStores = ({ signatures = false }: { signatures?: boolean }) => (
<>
Expand Down Expand Up @@ -65,20 +65,23 @@ const AppStores = ({ signatures = false }: { signatures?: boolean }) => (
Latest release: {config.latestVersion}
</p>
<p className="downloadDetails">
<a href={manifestUrl}>Manifest</a> |{' '}
<a href={releaseNotesUrl}>Release notes</a> |{' '}
<a href="/PGP.txt">PGP key</a>
</p>
<p className="downloadDetails">
Latest beta: {config.latestBetaVersion}
</p>
<p className="downloadDetails">
<a href={androidUrlBeta}>APK</a> |{' '}
<a href={manifestUrlBeta}>Manifest</a> |{' '}
<a href="/PGP.txt">PGP key</a> |{' '}
<a href="https://testflight.apple.com/join/vVnODWoi">
iOS TestFlight
</a>
</p>
{config.latestBetaVersion && (
<>
<p className="downloadDetails">
Latest beta: {config.latestBetaVersion}
</p>
<p className="downloadDetails">
<a href={androidUrlBeta}>APK</a> |{' '}
<a href={releaseNotesUrlBeta}>Release notes</a> |{' '}
<a href="https://testflight.apple.com/join/vVnODWoi">
iOS TestFlight
</a>
</p>
</>
)}
</>
)}
</>
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/PrivacyPolicy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ function PrivacyPolicy() {

<b>A. Privacy Practices</b>
<p>
With the exception of interactions with our remote
With the exception of interactions with our remote
services, the Author intends for users to be able to use
the functionality of the App on a decentralized,
anonymous basis. The Author therefore does not collect,
use, maintain or share any personal information about
you when you use the App, and the Author does not use any
tracking technology to track your use of the App. The
Author also does not allow third parties to collect
you when you use the App, and the Author does not use
any tracking technology to track your use of the App.
The Author also does not allow third parties to collect
personal information about you when you use the App, or
to use tracking technology to track your use of the App.
Any information that you provide to us when you
communicate with our customer or technical support
departments will only be used for purposes of addressing
your specific support request.
your specific support request.
</p>
<p>
IP addresses may be collected when accessing our
remote services to help mitigate abuse.
IP addresses may be collected when accessing our remote
services to help mitigate abuse.
</p>

<b>B. Third Party App Stores</b>
Expand Down

0 comments on commit b4330e2

Please sign in to comment.