diff --git a/additional_packaging.py b/additional_packaging.py index f95eef2..2ca8bcd 100644 --- a/additional_packaging.py +++ b/additional_packaging.py @@ -9,12 +9,13 @@ def additional_packaging(addon_name: str) -> None: if path.exists(file_to_remove): os.remove(file_to_remove) - build_ui_script = os.path.join( - os.path.dirname(os.path.realpath(__file__)), "scripts", "build_ui.sh" - ) - if path.exists(build_ui_script): - os.system(f"chmod +x {build_ui_script}") - return_code = os.system(build_ui_script) - if return_code != 0: - os._exit(os.WEXITSTATUS(return_code)) + + # build_ui_script = os.path.join( + # os.path.dirname(os.path.realpath(__file__)), "scripts", "build_ui.sh" + # ) + # if path.exists(build_ui_script): + # os.system(f"chmod +x {build_ui_script}") + # return_code = os.system(build_ui_script) + # if return_code != 0: + # os._exit(os.WEXITSTATUS(return_code)) diff --git a/scripts/build_ui.sh b/scripts/build_ui.sh index c5ecebb..3bde721 100755 --- a/scripts/build_ui.sh +++ b/scripts/build_ui.sh @@ -16,4 +16,4 @@ else npm --prefix "$SCRIPT_DIR/../ui" install fi -npm --prefix "$SCRIPT_DIR/../ui" run ucc-gen \ No newline at end of file +npm --prefix "$SCRIPT_DIR/../ui" run build \ No newline at end of file