Skip to content

Commit

Permalink
💾 Feat(HomePage): Allow download android packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynesshely committed Mar 12, 2023
1 parent 012fd78 commit 742bac2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions KitX Website Flutter/kitx_website/lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,8 @@ class _HomePageState extends State<HomePage> {
}

if (id.endsWith('apk')) {
showItemsDialog(
context,
[
const Text('当前尚未发布, 官网下载项暂不可用, 您可前往 GitHub 仓库 Release 页面下载测试版'),
],
);
canDownload = false;
url = '$baseUrl/android/$latestVersion/$id';
canDownload = true;
}

if (canDownload) downloadFile(url);
Expand Down

0 comments on commit 742bac2

Please sign in to comment.