Замена хоста
This commit is contained in:
@@ -44,9 +44,9 @@
|
|||||||
<package path="LocalMods/Sunken Tapes/filelist.xml" />
|
<package path="LocalMods/Sunken Tapes/filelist.xml" />
|
||||||
<package path="LocalMods/TSFX/filelist.xml" />
|
<package path="LocalMods/TSFX/filelist.xml" />
|
||||||
<package path="LocalMods/Fourth Empire Posters/filelist.xml" />
|
<package path="LocalMods/Fourth Empire Posters/filelist.xml" />
|
||||||
<package path="LocalMods/NCT-Spike Mod. 2/filelist.xml" />
|
|
||||||
<package path="LocalMods/VT-MOFS Mod. 4/filelist.xml" />
|
<package path="LocalMods/VT-MOFS Mod. 4/filelist.xml" />
|
||||||
<package path="LocalMods/ADX-Atlas IV/filelist.xml" />
|
<package path="LocalMods/ADX-Atlas IV/filelist.xml" />
|
||||||
|
<package path="LocalMods/NCT-Spike Mod.1/filelist.xml" />
|
||||||
</regularpackages>
|
</regularpackages>
|
||||||
</contentpackages>
|
</contentpackages>
|
||||||
</Barotrauma>
|
</Barotrauma>
|
||||||
10
prep
10
prep
@@ -10,7 +10,7 @@ PREPARE_LOCAL = os.path.join(BASE, "prepare_local")
|
|||||||
AUTOGEN = os.path.join(BASE, "scripts", "autogen_config.py")
|
AUTOGEN = os.path.join(BASE, "scripts", "autogen_config.py")
|
||||||
LOCALMODS_DIR = os.path.join(BASE, "LocalMods")
|
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):
|
def log_ok(msg):
|
||||||
@@ -51,13 +51,7 @@ def main():
|
|||||||
log_ok("config_player.xml generated")
|
log_ok("config_player.xml generated")
|
||||||
print()
|
print()
|
||||||
|
|
||||||
log_info("Step 4/4: Committing...")
|
log_ok("Done.")
|
||||||
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.")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user