Skip to content

Commit

Permalink
chore: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiyiMei committed Aug 5, 2024
1 parent 9c5a3dc commit 7cd9bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xrfeitoria/utils/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def build_unreal(
) # e.g. XRFeitoriaUnreal-0.6.0-Unreal5.3-Source
dist_path = src_root / plugin_name
subprocess.call([uat_path, 'BuildPlugin', f'-Plugin={uplugin_path}', f'-Package={dist_path}'])
assert (dist_path / 'Binaries').exists(), f'Failed to compile plugin for Unreal Engine {engine_version}'
_make_archive(src_folder=dist_path, dst_path=dist_root / f'{plugin_name}.zip')
_make_archive(
src_folder=dist_path,
Expand Down

0 comments on commit 7cd9bb6

Please sign in to comment.