From e30c4dd179801f0186940f64ffe687c1ebbfa31d Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 17 Jun 2023 15:10:45 +0800 Subject: [PATCH] fix copyright and msvc --- lib_not_dr/nuitka/compile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_not_dr/nuitka/compile.py b/lib_not_dr/nuitka/compile.py index 094ce50..130b78d 100644 --- a/lib_not_dr/nuitka/compile.py +++ b/lib_not_dr/nuitka/compile.py @@ -92,7 +92,7 @@ class CompilerHelper(Options): _add_cmd(cmd_list, '--lto=yes' if self.use_lto else '--lto=no') _add_cmd(cmd_list, '--clang' if self.use_clang else None) - _add_cmd(cmd_list, '--msvc' if self.use_msvc else None) + _add_cmd(cmd_list, '--msvc=latest' if self.use_msvc else None) _add_cmd(cmd_list, '--mingw64' if self.use_mingw else None) _add_cmd(cmd_list, '--standalone' if self.standalone else None) @@ -109,7 +109,7 @@ class CompilerHelper(Options): _add_cmd(cmd_list, f'--file-version={self.file_version}' if self.file_version else None) _add_cmd(cmd_list, f'--product-version={self.product_version}' if self.product_version else None) _add_cmd(cmd_list, f'--file-description={self.file_description}' if self.file_description else None) - _add_cmd(cmd_list, f'--copy-right={self.copy_right}' if self.copy_right else None) + _add_cmd(cmd_list, f'--copyright={self.copy_right}' if self.copy_right else None) _add_cmd(cmd_list, f'--follow-import-to={",".join(self.follow_import)}' if self.follow_import else None) _add_cmd(cmd_list, f'--nofollow-import-to={",".join(self.no_follow_import)}' if self.no_follow_import else None)