mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-24 05:20:17 +00:00
up
This commit is contained in:
parent
f7d185ebbe
commit
63cffd98e4
@ -59,12 +59,12 @@ os.system("cp amalgamated/pocketpy.h plugins/flutter/src/pocketpy.h")
|
||||
unity_ios_header = 'plugins/unity/My project/Assets/com.bl.pocketpy/Plugins/iOS/pocketpy.h'
|
||||
os.system(f'cp amalgamated/pocketpy.h "{unity_ios_header}"')
|
||||
|
||||
# replace Distributed Under The LGPLv3 License
|
||||
with open(unity_ios_header, "rt", encoding='utf-8') as f:
|
||||
text = f.read()
|
||||
text = text.replace("Distributed Under The LGPLv3 License", "Distributed Under The PocketPy Unity Exclusive License")
|
||||
with open(unity_ios_header, "wt", encoding='utf-8') as f:
|
||||
f.write(text)
|
||||
if os.path.exists("plugins/unity"):
|
||||
with open(unity_ios_header, "rt", encoding='utf-8') as f:
|
||||
text = f.read()
|
||||
text = text.replace("Distributed Under The LGPLv3 License", "Distributed Under The PocketPy Unity Exclusive License")
|
||||
with open(unity_ios_header, "wt", encoding='utf-8') as f:
|
||||
f.write(text)
|
||||
|
||||
if os.path.exists("plugins/godot/godot-cpp/pocketpy"):
|
||||
os.system("cp amalgamated/pocketpy.h plugins/godot/godot-cpp/pocketpy/src/pocketpy.h")
|
||||
@ -1 +1 @@
|
||||
Subproject commit 2ae92e1f6b2a6d56e3771d5814a93fed6da110e5
|
||||
Subproject commit cbd49209a4dd7a8a7481019a44f586b6bfd8b4af
|
||||
Loading…
x
Reference in New Issue
Block a user