config: Use valid default enemizer_path on Linux (and Windows)

This commit is contained in:
strotlog
2022-06-01 23:49:57 +00:00
committed by Fabian Dill
parent 4558ac66fa
commit 2b73c7f9e4
3 changed files with 3 additions and 4 deletions

View File

@@ -219,7 +219,6 @@ class BuildExeCommand(cx_Freeze.dist.build_exe):
host_yaml = self.buildfolder / 'host.yaml'
with host_yaml.open('r+b') as f:
data = f.read()
data = data.replace(b'EnemizerCLI.Core.exe', b'EnemizerCLI.Core')
data = data.replace(b'factorio\\\\bin\\\\x64\\\\factorio', b'factorio/bin/x64/factorio')
f.seek(0, os.SEEK_SET)
f.write(data)