Commit Graph
5 Commits
Author SHA1 Message Date
Tasha Upchurch bf8f391736 update files mtime to source mtime to handle cyclic copy problems 2023-11-29 19:39:10 -05:00
Tasha Upchurch 3036989014 more pythonic implementation 2023-11-29 19:27:52 -05:00
Tasha Upchurch 992f095ddc update to help debug update_js.py 2023-11-29 17:41:30 -05:00
Tasha Upchurch e1402dc49b update to raise an error if the user does not have permission to modify the js files. 2023-11-29 17:07:11 -05:00
Tasha Upchurch 0051e93b5a update_js.py:
This file introduces a Python script for managing JavaScript extension files within a specific directory structure.
It includes an import statement for the os module.
Imports essential variables ETK_PATH and GDE_PATH from the custom_nodes.EternalKernelLiteGraphNodes.local_shared module.
Defines a function called check_for_js_extension(), which:
Verifies the existence of JavaScript extension files.
Compares modification timestamps to determine which file is newer.
Copies files between directories if they are outdated.
Provides user feedback during the copying process.
Calls the check_for_js_extension() function at the end of the script to perform the checks and copying.
2023-11-28 20:06:01 -05:00