mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-23 05:10:55 +00:00
refactor
This commit is contained in:
parent
e964c94d07
commit
1498daf36f
@ -201,14 +201,14 @@ def rewrite_menu():
|
|||||||
|
|
||||||
def prepare_for_build():
|
def prepare_for_build():
|
||||||
################# MOVE FILES FROM PACKAGE DIR INTO SRC DIR #########################
|
################# MOVE FILES FROM PACKAGE DIR INTO SRC DIR #########################
|
||||||
for path in (
|
for file in (
|
||||||
Path(PACKAGE_DIR) / "app.py",
|
PACKAGE_DIR / "app.py",
|
||||||
Path(PACKAGE_DIR) / "builders.py",
|
PACKAGE_DIR / "builders.py",
|
||||||
Path(PACKAGE_DIR) / "menu.py",
|
PACKAGE_DIR / "menu.py",
|
||||||
):
|
):
|
||||||
if path.exists():
|
if file.exists():
|
||||||
logger.debug(f"moving {str(path)}")
|
logger.debug(f"moving {str(file)}")
|
||||||
path.rename(SRC_DIR / f"{path.stem}.bk")
|
file.rename(SRC_DIR / f"{file.stem}.bk")
|
||||||
|
|
||||||
###################### RUN THE FILE REWRITER FOR EACH *.BK #########################
|
###################### RUN THE FILE REWRITER FOR EACH *.BK #########################
|
||||||
steps = (
|
steps = (
|
||||||
|
Loading…
Reference in New Issue
Block a user