mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 11:33:02 +00:00
refactor: batch 3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Heading, Text, Code, Kbd, OrderedList, ListItem, Link } from '@chakra-ui/react';
|
||||
import { Heading, Text, Code, OrderedList, ListItem, Link } from '@chakra-ui/react';
|
||||
import { FilePathBlock } from '~/components/FilePathBlock';
|
||||
import { MacCommandKey } from '~/components/Key/MacCommandKey';
|
||||
import { ShiftKey } from '~/components/Key/ShiftKey';
|
||||
@@ -42,7 +42,7 @@ export function InstructionsMac() {
|
||||
{' + '}
|
||||
<MacCommandKey />
|
||||
{' + '}
|
||||
<Kbd>{'G'}</Kbd>」组合键打开「路径输入框」
|
||||
<kbd className="kbd">{'G'}</kbd>」组合键打开「路径输入框」
|
||||
</Text>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
|
||||
@@ -1,16 +1,57 @@
|
||||
import { ExtLink } from '~/components/ExtLink';
|
||||
import { HiWord } from '~/components/HelpText/HiWord';
|
||||
import NoopExecutable from './assets/noop.exe?base64';
|
||||
import NoopExecutableSource from './assets/noop.asm.txt?base64';
|
||||
|
||||
export function InstructionsPC() {
|
||||
return (
|
||||
<>
|
||||
<p>
|
||||
使用 <span className="text-primary">19.51 或更低版本</span>下载的歌曲文件
|
||||
<mark>无需密钥</mark>。
|
||||
</p>
|
||||
<p className="mt-2">
|
||||
使用 <span className="text-error">19.57 或更高版本</span>下载的歌曲文件
|
||||
<mark>需要导入密钥</mark>。
|
||||
<HiWord>需要导入密钥</HiWord>。
|
||||
<br />
|
||||
目前未公开密钥获取方式。
|
||||
目前未公开密钥获取方式,因此不支持。
|
||||
</p>
|
||||
|
||||
<p className="mt-4">
|
||||
使用 <span className="text-primary">19.51 或更低版本</span>下载的歌曲文件
|
||||
<HiWord>无需密钥</HiWord>。
|
||||
</p>
|
||||
|
||||
<p className="mt-4">
|
||||
获取 QQ 音乐 Windows <HiWord>19.51</HiWord> 客户端:
|
||||
</p>
|
||||
<ul className="list-disc pl-6">
|
||||
<li>
|
||||
<ExtLink href="https://web.archive.org/web/2023/https://dldir1v6.qq.com/music/clntupate/QQMusic_Setup_1951.exe">
|
||||
通过 <code>Archive.org</code> 缓存下载(慢)
|
||||
</ExtLink>
|
||||
</li>
|
||||
<li>
|
||||
<ExtLink href="https://t.me/um_lsr_ch/24">通过 Telegram 下载(需要账号)</ExtLink>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p className="mt-4">
|
||||
安装完成后可以覆盖 QQ 音乐安装目录下的
|
||||
<a
|
||||
className="link px-1"
|
||||
download="QQMusicUp.exe"
|
||||
href={`data:application/vnd.microsoft.portable-executable;base64,${NoopExecutable}`}
|
||||
>
|
||||
<code>QQMusicUp.exe</code>
|
||||
</a>
|
||||
同名文件(
|
||||
<a
|
||||
className="link px-1"
|
||||
download="QQMusicUp.asm"
|
||||
href={`data:text/x-asm;charset=utf-8;base64,${NoopExecutableSource}`}
|
||||
>
|
||||
源码
|
||||
</a>
|
||||
),屏蔽自动更新。
|
||||
</p>
|
||||
<p className="mt-2">降级后需要删除新版本下载的文件并重新使用旧版本下载。</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
16
src/features/settings/panels/QMCv2/assets/noop.asm.txt
Normal file
16
src/features/settings/panels/QMCv2/assets/noop.asm.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
; QQ 音乐更新 - 占位文件
|
||||
; 使用 FASM 编译即可。
|
||||
|
||||
format PE GUI 4.0
|
||||
entry start
|
||||
|
||||
include 'win32a.inc'
|
||||
|
||||
section '.text' code readable executable
|
||||
start:
|
||||
invoke ExitProcess, 0
|
||||
|
||||
section '.idata' import data readable writeable
|
||||
library kernel,'KERNEL32.DLL'
|
||||
import kernel,\
|
||||
ExitProcess,'ExitProcess'
|
||||
BIN
src/features/settings/panels/QMCv2/assets/noop.exe
Normal file
BIN
src/features/settings/panels/QMCv2/assets/noop.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user