Merge branch 'main' of https://github.com/vaporvee/discord-sdk-godot into just-add-invites-already

This commit is contained in:
Yannik
2023-05-15 19:31:47 +02:00
5 changed files with 28 additions and 6 deletions

View File

@@ -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",[],"/")

View File

@@ -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"

View File

@@ -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():