Замена хоста

This commit is contained in:
2026-06-14 15:24:36 +03:00
parent cb402decb5
commit 01eaf8fb05
2 changed files with 3 additions and 9 deletions

10
prep
View File

@@ -10,7 +10,7 @@ PREPARE_LOCAL = os.path.join(BASE, "prepare_local")
AUTOGEN = os.path.join(BASE, "scripts", "autogen_config.py")
LOCALMODS_DIR = os.path.join(BASE, "LocalMods")
RSYNC_DEST = "root@homelabvm:/opt/barotrauma/LocalMods/"
RSYNC_DEST = "root@barotrauma:/opt/barotrauma/LocalMods/"
def log_ok(msg):
@@ -51,13 +51,7 @@ def main():
log_ok("config_player.xml generated")
print()
log_info("Step 4/4: Committing...")
subprocess.run(["git", "add", "-A"], cwd=BASE, check=True)
subprocess.run(["git", "commit", "-m", msg], cwd=BASE, check=True)
log_ok(f"Committed: {msg}")
print()
log_ok("Done. Push manually when ready.")
log_ok("Done.")
if __name__ == "__main__":