Merge branch 'main' of https://github.com/vaporvee/discord-sdk-godot into just-add-invites-already
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@tool
|
||||
extends EditorExportPlugin
|
||||
|
||||
func _export_file(path, type, features):
|
||||
func _export_file(_path, _type, features):
|
||||
if features[2] == "windows":
|
||||
if features[4] == "x86_64":
|
||||
add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/")
|
||||
|
@@ -3,5 +3,5 @@
|
||||
name="DiscordSDK"
|
||||
description="Discord Game SDK support for GDScript in Godot"
|
||||
author="vaporvee"
|
||||
version="1.4"
|
||||
version="1.5"
|
||||
script="plugin.gd"
|
||||
|
@@ -5,7 +5,7 @@ const ExportPlugin = preload("export.gd")
|
||||
var loaded_exportplugin = ExportPlugin.new()
|
||||
|
||||
func _enter_tree():
|
||||
add_autoload_singleton("updater_discordsdk", "sdk_utility.gd")
|
||||
add_autoload_singleton("updater_discordsdk", "res://addons/discord-sdk-gd/sdk_utility.gd")
|
||||
add_export_plugin(loaded_exportplugin)
|
||||
|
||||
func disable_plugin():
|
||||
|
Reference in New Issue
Block a user