mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 20:47:17 +02:00
Fix an install error in Windows due to the Twisted Windows executable changing name from twistd.py to twistd.exe.
This commit is contained in:
parent
c64f64973c
commit
57923bdbc7
1 changed files with 3 additions and 1 deletions
|
|
@ -909,9 +909,11 @@ def init_game_directory(path, check_db=True):
|
|||
|
||||
# note that we hope the twistd package won't change here, since we
|
||||
# try to get to the executable by relative path.
|
||||
# Update: In 2016, it seems Twisted 16 has changed the name of
|
||||
# of its executable from 'twistd.py' to 'twistd.exe'.
|
||||
twistd_path = os.path.abspath(
|
||||
os.path.join(twistd_dir, os.pardir, os.pardir, os.pardir,
|
||||
os.pardir, 'scripts', 'twistd.py'))
|
||||
os.pardir, 'scripts', 'twistd.exe'))
|
||||
|
||||
with open(batpath, 'w') as bat_file:
|
||||
# build a custom bat file for windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue