Skip to content

Commit

Permalink
fix: manual downloaded addon has no parent directory (flybywiresim#428)
Browse files Browse the repository at this point in the history
* fix: manual downloaded addon has no parent directory

* feat: move master direct download link to GitHub

* refactor: delete duplicate download component

* feat: move experimental direct download to GitHub

* feat: move stable download link to GitHub

* fix: temporarily remove download counter as it's not working
  • Loading branch information
FoxtrotSierra6829 authored Jun 25, 2022
1 parent 0382280 commit 8e1caa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 81 deletions.
78 changes: 0 additions & 78 deletions src/components/home/Download.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions src/components/projects/A32NX/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Button } from '../../utils/Button';

export const Download = ({ expOnHold }: { expOnHold?: boolean }) => {
const urls = {
stable: 'https://cdn.flybywiresim.com/addons/a32nx/stable/full.zip',
dev: 'https://cdn.flybywiresim.com/addons/a32nx/master/full.zip',
exp: 'https://cdn.flybywiresim.com/addons/a32nx/experimental/full.zip',
stable: 'https://github.com/flybywiresim/a32nx/releases/download/assets/stable/A32NX-stable.zip',
dev: 'https://github.com/flybywiresim/a32nx/releases/download/assets/master/A32NX-master.zip',
exp: 'https://github.com/flybywiresim/a32nx/releases/download/assets/experimental/A32NX-experimental.zip',
};

const getDownloadLink = (link: string) => `${link}`;
Expand Down

0 comments on commit 8e1caa8

Please sign in to comment.