Skip to content

Commit e60ffbc

Browse files
improved: f-droid download and install docs
1 parent ca05aca commit e60ffbc

File tree

3 files changed

+38
-8
lines changed

3 files changed

+38
-8
lines changed

.idea/workspace.xml

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/button.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import {FiChevronRight} from "react-icons/fi";
2+
import Link from "next/link";
3+
4+
export default function AndronixButton({
5+
link,
6+
children,
7+
className
8+
}: { link: string, children?: any, className?: string }) {
9+
return (
10+
<Link href={link}
11+
className={`${className} px-3 flex space-x-2 my-4 items-center justify-center py-2 bg-orange-500 rounded-md w-fit cursor-pointer hover:scale-105 transform transition duration-200`}>
12+
<p className={'text-bold text-white'}>{children}</p>
13+
<FiChevronRight/>
14+
</Link>
15+
)
16+
}

pages/termux/migrating-to-f-droid.mdx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {Callout, Steps} from 'nextra-theme-docs'
2-
import Imagera from "../../components/imagera";
2+
import Imagera from "../../components/imagera"; import {Button} from "nextra/components"; import AndronixButton
3+
from "../../components/button";
34

45
# Migrating Termux to F-Droid
56
Know about the recent repository changes of Termux and migration from Google Play Store to F-Droid.
@@ -46,15 +47,19 @@ chances are that you're still running the Google Play Store version. In that cas
4647

4748
> This will remove all the distros and other data related to Termux that you might have but is a necessary step in order to avoid version conflict. If you want to back up your data, please follow [this guide](https://wiki.termux.com/wiki/Backing_up_Termux)
4849
49-
### Open F-Droid
50-
Visit https://f-droid.org/en/packages/com.termux/ and download the APK of the latest version of Termux.
50+
### Download Termux
51+
You can download the latest version of the Termux app from Andronix's [Termux Release Mirror](https://github.com/AndronixApp/termux-releases).
52+
53+
<AndronixButton link={"https://github.com/AndronixApp/termux-releases/blob/main/Releases/Termux_118/com.termux_118.apk?raw=true"}>
54+
Download Termux
55+
</AndronixButton>
56+
57+
Alternatively, you can visit https://f-droid.org/en/packages/com.termux/ and download the APK of the latest version of Termux.
5158
Alternatively, you can also download and install the F-Droid client to help you manage future updates and other
5259
stuff.
5360

5461

55-
<Callout type="info">If the download is slow, please use Andronix's own Termux releases and download [the lastest release here](https://github.com/AndronixApp/termux-releases/blob/main/Releases/Termux_118/com.termux_118.apk?raw=true).</Callout>
56-
57-
<Imagera src="/images/giphy-fdroid.webp" />
62+
<Callout type="info">You can read more about the security of the F-Droid APK mirrors and check their hashes at [Termux Security](/security/termux).</Callout>
5863

5964
<Callout type="warning">Android might give you a warning that files like these might harm your device; you can safely
6065
ignore that. That is a generic warning triggered whenever you download an executable or installable file from

0 commit comments

Comments
 (0)