add lock window function, and did some improvements for the whole structure
This commit is contained in:
@@ -19,8 +19,10 @@ def single_uic(ui_path: str, py_path: str):
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"转换失败: {ui_file}\n{e.stderr}", file=sys.stderr)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
def main():
|
||||
ui_path = clibs.base_path / "assets" / "ui"
|
||||
py_path = clibs.base_path / "codes" / "ui"
|
||||
single_uic(str(ui_path), str(py_path))
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Reference in New Issue
Block a user