fix(desktop): align website assets and linux package metadata
This commit is contained in:
@@ -31,6 +31,8 @@ linux:
|
|||||||
category: Development
|
category: Development
|
||||||
icon: assets
|
icon: assets
|
||||||
artifactName: "Paseo-${version}-${arch}.${ext}"
|
artifactName: "Paseo-${version}-${arch}.${ext}"
|
||||||
|
maintainer: "Mohamed Boudra <boudra.moha@gmail.com>"
|
||||||
|
vendor: "Paseo"
|
||||||
extraResources:
|
extraResources:
|
||||||
- from: bin/paseo
|
- from: bin/paseo
|
||||||
to: bin/paseo
|
to: bin/paseo
|
||||||
|
|||||||
@@ -3,6 +3,16 @@
|
|||||||
"version": "0.1.34",
|
"version": "0.1.34",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Paseo desktop app (Electron wrapper)",
|
"description": "Paseo desktop app (Electron wrapper)",
|
||||||
|
"homepage": "https://paseo.sh",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/getpaseo/paseo.git"
|
||||||
|
},
|
||||||
|
"author": {
|
||||||
|
"name": "Mohamed Boudra",
|
||||||
|
"email": "boudra.moha@gmail.com"
|
||||||
|
},
|
||||||
|
"license": "AGPL-3.0-or-later",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm --prefix ../.. run build:daemon && npm run build:main && electron-builder --config electron-builder.yml",
|
"build": "npm --prefix ../.. run build:daemon && npm run build:main && electron-builder --config electron-builder.yml",
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import websitePackage from "../package.json";
|
|||||||
|
|
||||||
export const desktopVersion = websitePackage.version;
|
export const desktopVersion = websitePackage.version;
|
||||||
export const releaseBase = `https://github.com/getpaseo/paseo/releases/download/v${desktopVersion}`;
|
export const releaseBase = `https://github.com/getpaseo/paseo/releases/download/v${desktopVersion}`;
|
||||||
|
export const macAppleSiliconDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-arm64.dmg`;
|
||||||
|
export const macIntelDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-x64.dmg`;
|
||||||
|
|
||||||
export const appStoreUrl = "https://apps.apple.com/app/paseo-pocket-engineer/id6758887924";
|
export const appStoreUrl = "https://apps.apple.com/app/paseo-pocket-engineer/id6758887924";
|
||||||
export const playStoreUrl = "https://play.google.com/store/apps/details?id=sh.paseo";
|
export const playStoreUrl = "https://play.google.com/store/apps/details?id=sh.paseo";
|
||||||
@@ -21,13 +23,13 @@ export const downloadOptions: DownloadOption[] = [
|
|||||||
{
|
{
|
||||||
platform: "mac-silicon",
|
platform: "mac-silicon",
|
||||||
label: "Mac",
|
label: "Mac",
|
||||||
href: `${releaseBase}/Paseo-${desktopVersion}-arm64.dmg`,
|
href: macAppleSiliconDownloadUrl,
|
||||||
icon: AppleIcon,
|
icon: AppleIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
platform: "mac-intel",
|
platform: "mac-intel",
|
||||||
label: "Mac Intel",
|
label: "Mac Intel",
|
||||||
href: `${releaseBase}/Paseo-${desktopVersion}.dmg`,
|
href: macIntelDownloadUrl,
|
||||||
icon: AppleIcon,
|
icon: AppleIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import { pageMeta } from "~/meta";
|
|||||||
import {
|
import {
|
||||||
desktopVersion,
|
desktopVersion,
|
||||||
releaseBase,
|
releaseBase,
|
||||||
|
macAppleSiliconDownloadUrl,
|
||||||
|
macIntelDownloadUrl,
|
||||||
appStoreUrl,
|
appStoreUrl,
|
||||||
playStoreUrl,
|
playStoreUrl,
|
||||||
webAppUrl,
|
webAppUrl,
|
||||||
@@ -105,14 +107,8 @@ function Download() {
|
|||||||
<span className="font-medium">macOS</span>
|
<span className="font-medium">macOS</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-wrap gap-2">
|
<div className="flex flex-wrap gap-2">
|
||||||
<DownloadPill
|
<DownloadPill href={macAppleSiliconDownloadUrl} label="Apple Silicon" />
|
||||||
href={`${releaseBase}/Paseo-${desktopVersion}-arm64.dmg`}
|
<DownloadPill href={macIntelDownloadUrl} label="Intel" />
|
||||||
label="Apple Silicon"
|
|
||||||
/>
|
|
||||||
<DownloadPill
|
|
||||||
href={`${releaseBase}/Paseo-${desktopVersion}.dmg`}
|
|
||||||
label="Intel"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user