update: app store 下载

main
fadeaway 8 months ago
parent c07c51a54d
commit 3ed42f088c

@ -42,11 +42,12 @@ export const verifyBrand = () => {
};
export const download = () => {
if (isBuiltIn()) {
// 内置浏览器 可加提示使其打开手机自带浏览器
return;
}
// const iosLinkUrl = ''; // TODO:
// if (isBuiltIn()) {
// // 内置浏览器 可加提示使其打开手机自带浏览器
// return;
// }
const iosLinkUrl = 'https://apps.apple.com/app/%E9%9B%80%E4%B9%90/id6478897923';
// const iosLinkUrl = 'itms-apps://itunes.apple.com/app/id6478897923';
const androidLinkurl = '//cdn.indie.cn/release/queyue.apk';
// const huaweiUrl = `appmarket://details?id=${APK_NAME}`;
// const oppoUrl = `oppomarket://details?packagename=${APK_NAME}`;
@ -74,10 +75,12 @@ export const download = () => {
// }
switch (verifyBrand()) {
case 'iphone':
alert('开发中,敬请期待');
window.location.href = iosLinkUrl;
break;
default:
if (!isBuiltIn()) {
window.location.href = androidLinkurl;
}
break;
}
};

Loading…
Cancel
Save