mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2024-12-22 04:39:21 -07:00
fix for redownloading paks every time
This commit is contained in:
parent
be9dc63a00
commit
586aa9a1dc
@ -395,6 +395,14 @@ ssh {remote_game_host} chown ut4.ut4 {remote_game_dir} -R
|
||||
relative_path = p.relative_to(mod_dir)
|
||||
pkg_basename = p.name
|
||||
|
||||
# TODO(MG) Handle filenames w/o extension
|
||||
try:
|
||||
split = os.path.splitext(pkg_basename)
|
||||
pkg_basename = split[0]
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
continue
|
||||
|
||||
line = game_ini.add_redirect_reference(**{
|
||||
'pkg_basename': pkg_basename,
|
||||
'redirect_protocol': redirect_protocol,
|
||||
|
Loading…
Reference in New Issue
Block a user