diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 62675e6..821fd2a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,6 +42,7 @@ jobs: - name: Build exe file run: | python tests/build_exe.py + cat dist/pywxdump.spec - name: Build Executable run: | diff --git a/tests/build_exe.py b/tests/build_exe.py index b0b1991..0198ee2 100644 --- a/tests/build_exe.py +++ b/tests/build_exe.py @@ -107,7 +107,7 @@ if package_path: for root, dirs, files in os.walk(os.path.join(root_path,"ui")): for file in files: file_path = os.path.join(root, file) - datas_741258.append(f'''(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, ""))}' )''') + datas_741258.append(f'''(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )''') datas_741258 = ",\n".join(datas_741258) print(datas_741258) # ็”Ÿๆˆ spec ๆ–‡ไปถ