2
0
Jérôme Leclercq 1 жил өмнө
parent
commit
bdf9bcd66c

+ 1 - 2
packages/d/discord/xmake.lua

@@ -1,5 +1,4 @@
 package("discord")
 package("discord")
-
     set_homepage("https://discord.com/developers/docs/game-sdk/")
     set_homepage("https://discord.com/developers/docs/game-sdk/")
     set_description("Whether you’re part of a school club, gaming group, worldwide art community, or just a handful of friends that want to spend time together, Discord makes it easy to talk every day and hang out more often.")
     set_description("Whether you’re part of a school club, gaming group, worldwide art community, or just a handful of friends that want to spend time together, Discord makes it easy to talk every day and hang out more often.")
 
 
@@ -16,7 +15,7 @@ package("discord")
 
 
     add_links("discordcpp")
     add_links("discordcpp")
 
 
-    on_install("windows|x86", "windows|x64", "linux|x64", "macosx|x86_64", "macosx|arm64", function (package)
+    on_install("windows|x86", "windows|x64", "linux|x64", "linux|x86_64", "macosx|x86_64", "macosx|arm64", function (package) -- linux|x64 for retrocompatibility
         if package:config("cppapi") then
         if package:config("cppapi") then
             os.cp("cpp/*.h", package:installdir("include"))
             os.cp("cpp/*.h", package:installdir("include"))
         end
         end