mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-16 08:04:59 -04:00
Add CI
This commit is contained in:
parent
c9e6b12eaa
commit
bc05b39ccf
10 changed files with 234 additions and 4 deletions
17
data/create_bundle.py
Normal file
17
data/create_bundle.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
import os
|
||||
import shutil
|
||||
|
||||
# Set the paths to the executable and Info.plist
|
||||
executable_path = 'main'
|
||||
info_plist_path = 'data/Info.plist'
|
||||
|
||||
# Set the path to the .app bundle
|
||||
app_bundle_path = 'out/WiiUDownloader.app'
|
||||
|
||||
# Create the .app bundle
|
||||
os.makedirs(os.path.join(app_bundle_path, 'Contents', 'MacOS'))
|
||||
shutil.copy(info_plist_path, os.path.join(app_bundle_path, 'Contents', 'Info.plist'))
|
||||
shutil.copy(executable_path, os.path.join(app_bundle_path, 'Contents', 'MacOS', 'WiiUDownloader'))
|
||||
|
||||
# Run dylibbundler
|
||||
os.system(f"dylibbundler -od -b -x {os.path.join(app_bundle_path, 'Contents', 'MacOS', 'WiiUDownloader')} -d {os.path.join(app_bundle_path, 'Contents', 'MacOS', 'lib')} -p @executable_path/lib")
|
Loading…
Add table
Add a link
Reference in a new issue