Skip to content

Commit

Permalink
Removed cppsdk from build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
UE4SS committed Aug 12, 2023
1 parent 5658445 commit 9ac6afe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/buildscripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ def package_release(target_xinput: bool, is_dev_release: bool):

bin_dir = 'Output/ue4ss/Binaries/x64/Release'
bin_name = 'xinput1_3' if target_xinput else 'ue4ss'
cppsdk_name = 'UE4SS-cppsdk_xinput' if target_xinput else 'UE4SS-cppsdk'

shutil.copyfile(os.path.join(bin_dir, f'{bin_name}.dll'), os.path.join(staging_dir, f'{bin_name}.dll'))
shutil.copyfile(os.path.join(bin_dir, f'{cppsdk_name}.dll'), os.path.join(staging_dir, 'Mods', 'UE4SS-cppsdk.dll'))

if is_dev_release:
shutil.copyfile(os.path.join(bin_dir, f'{bin_name}.pdb'), os.path.join(staging_dir, f'{bin_name}.pdb'))
Expand All @@ -162,9 +160,6 @@ def package_release(target_xinput: bool, is_dev_release: bool):
if os.path.exists(os.path.join(staging_dir, f'{bin_name}.pdb')):
os.remove(os.path.join(staging_dir, f'{bin_name}.pdb'))

if os.path.exists(os.path.join(staging_dir, 'Mods', 'UE4SS-cppsdk.dll')):
os.remove(os.path.join(staging_dir, 'Mods', 'UE4SS-cppsdk.dll'))

if is_dev_release and os.path.exists(os.path.join(staging_dir, 'docs')):
shutil.rmtree(os.path.join(staging_dir, 'docs'), ignore_errors=False)

Expand Down

0 comments on commit 9ac6afe

Please sign in to comment.