feat(web): add android download link

This commit is contained in:
ThaUnknown 2024-05-17 15:22:15 +02:00
parent 16fa806db5
commit bcbb01fcf2
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "capacitor",
"version": "1.0.13",
"version": "1.0.18",
"private": true,
"scripts": {
"build:native": "cd public/nodejs/ && npm install && docker build -t android-build:latest . && docker run -v ${PWD}:/app/ -it android-build:latest /bin/bash /app/setup-deps.sh",

View file

@ -9,7 +9,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin')
/** @type {(parentDir: string, alias?: Record<string, string>, aliasFields?: (string | string[]), filename?: string) => import('webpack').WebpackOptionsNormalized} */
module.exports = (parentDir, alias = {}, aliasFields = 'browser', filename = 'app') => ({
devtool: 'source-map',
entry: join(__dirname, 'main.js'),
entry: [join(__dirname, 'main.js')],
stats: { warnings: false },
output: {
path: join(parentDir, 'build'),

View file

@ -44,7 +44,7 @@
downloads = {
iOS: 'https://www.android.com',
Android: '',
Android: 'https://play.google.com/store/apps/details?id=watch.miru',
Windows: url('installer.exe'),
'Mac OS': url('.dmg'),
Linux: url('.AppImage'),
@ -106,7 +106,7 @@
<div class='d-flex w-500 mw-full gap-2'>
<a class='text-reset card pointer col-2 m-0 mb-20 mw-full pb-20 w-250 flex-grow-1' href={downloads.Android || releases}>
<AndroidSVG />
<div class='font-size-18 font-weight-semi-bold mt-5'>Android Soon™</div>
<div class='font-size-18 font-weight-semi-bold mt-5'>Android</div>
<div class='text-muted'>apk</div>
</a>
<a class='text-reset card pointer col-2 m-0 mb-20 mw-full pb-20 w-250 flex-grow-1' href={downloads.Android || releases}>