mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: file encoding
This commit is contained in:
parent
452c72d280
commit
b415c1a6d1
@ -17,5 +17,8 @@ charset = utf-8
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.bat]
|
||||||
|
charset = latin1
|
||||||
|
|
||||||
# Unfortunately, EditorConfig doesn't support space configuration inside import braces directly.
|
# Unfortunately, EditorConfig doesn't support space configuration inside import braces directly.
|
||||||
# You'll need to rely on your linter/formatter like ESLint or Prettier for that.
|
# You'll need to rely on your linter/formatter like ESLint or Prettier for that.
|
||||||
|
@ -5,7 +5,6 @@ if %errorLevel% == 0 (
|
|||||||
echo Administrator mode detected.
|
echo Administrator mode detected.
|
||||||
) else (
|
) else (
|
||||||
echo Please run this script in administrator mode.
|
echo Please run this script in administrator mode.
|
||||||
REM 以管理员权限启动脚本 并保留工作目录
|
|
||||||
powershell -Command "Start-Process 'wt.exe' -ArgumentList 'cmd /c cd /d \"%cd%\" && \"%~f0\"' -Verb runAs"
|
powershell -Command "Start-Process 'wt.exe' -ArgumentList 'cmd /c cd /d \"%cd%\" && \"%~f0\"' -Verb runAs"
|
||||||
exit
|
exit
|
||||||
)
|
)
|
||||||
@ -28,7 +27,6 @@ for %%a in (%RetString%) do (
|
|||||||
|
|
||||||
SET QQPath=%pathWithoutUninstall%QQ.exe
|
SET QQPath=%pathWithoutUninstall%QQ.exe
|
||||||
|
|
||||||
REM 拿不到QQ路径则退出
|
|
||||||
if not exist "%QQpath%" (
|
if not exist "%QQpath%" (
|
||||||
echo provided QQ path is invalid: %QQpath%
|
echo provided QQ path is invalid: %QQpath%
|
||||||
pause
|
pause
|
||||||
|
Loading…
x
Reference in New Issue
Block a user