Skip to content

Commit

Permalink
Win 适配 dbghelp.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzdyl committed Feb 28, 2024
1 parent a16c4af commit 2a26d53
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,10 @@ def main():
qq_exe_path = get_qq_path()
file_path = os.path.dirname(qq_exe_path)
prepare_for_installation(qq_exe_path)
if os.path.exists(os.path.join(qq_exe_path,''))
patch_pe_file(qq_exe_path)
if os.path.exists(os.path.join(qq_exe_path,'dbghelp.dll')):
print("检测到dbghelp.dll,推测你已修补QQ,跳过修补")
else:
patch_pe_file(qq_exe_path)
download_and_install_liteloader(file_path)
copy_old_files(file_path)
patch_index_js(file_path)
Expand Down

0 comments on commit 2a26d53

Please sign in to comment.