diff --git a/src/components/common/InstallAppModal.vue b/src/components/common/InstallAppModal.vue index 97f2da8..996bd09 100644 --- a/src/components/common/InstallAppModal.vue +++ b/src/components/common/InstallAppModal.vue @@ -15,6 +15,15 @@ 暂不安装 立即安装 + @@ -62,9 +71,9 @@ const handleInstall = async (): Promise => { const getDownloadUrl = (os: string, arch: string): string => { const version = config.version as string; - return `https://github.com/algerkong/AlgerMusicPlayer/releases/download/${version}/AlgerMusic_${version}_${arch}.${os === 'mac' ? 'dmg' : 'exe'}`; + const setup = os !== 'mac' ? 'Setup_' : ''; + return `https://gh.llkk.cc/https://github.com/algerkong/AlgerMusicPlayer/releases/download/${version}/AlgerMusic_${version}_${setup}${arch}.${os === 'mac' ? 'dmg' : 'exe'}`; }; - const osType: string | null = isMac ? 'mac' : isWindows ? 'windows' : null; const archType: string | null = isARM ? 'arm64' : isX64 ? 'x64' : isX86 ? 'x86' : null; @@ -80,11 +89,11 @@ const handleInstall = async (): Promise => { @apply max-w-sm; } .modal-content { - @apply p-4; + @apply p-4 pb-0; .modal-header { @apply flex items-center mb-6; .app-icon { - @apply w-16 h-16 mr-4 rounded-2xl overflow-hidden; + @apply w-20 h-20 mr-4 rounded-2xl overflow-hidden; img { @apply w-full h-full object-cover; } @@ -100,7 +109,7 @@ const handleInstall = async (): Promise => { } } .modal-actions { - @apply flex gap-3; + @apply flex gap-3 mt-4; .n-button { @apply flex-1; } diff --git a/src/layout/AppLayout.vue b/src/layout/AppLayout.vue index cbd4850..0f88c04 100644 --- a/src/layout/AppLayout.vue +++ b/src/layout/AppLayout.vue @@ -1,23 +1,8 @@