added automatic discord game sdk lib exporting
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,10 @@
|
||||
@tool
|
||||
extends EditorExportPlugin
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _export_end():
|
||||
pass
|
||||
func _export_file(path, type, features):
|
||||
if path[2] == "windows":
|
||||
add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/")
|
||||
elif path[2] == "linux":
|
||||
add_shared_object("res://addons/discord-sdk-gd/bin/linux/discord_game_sdk.so",[],"/")
|
||||
elif path[2] == "macos":
|
||||
add_shared_object("res://addons/discord-sdk-gd/bin/macos/discord_game_sdk.dylib",[],"/")
|
||||
|
@@ -35,7 +35,7 @@ codesign/timestamp_server_url=""
|
||||
codesign/digest_algorithm=1
|
||||
codesign/description=""
|
||||
codesign/custom_options=PackedStringArray()
|
||||
application/modify_resources=true
|
||||
application/modify_resources=false
|
||||
application/icon=""
|
||||
application/console_wrapper_icon=""
|
||||
application/icon_interpolation=4
|
||||
|
Reference in New Issue
Block a user