Browse Source

Auto-update imgui-file-dialog to v0.6.8 (#8522)

* Update imgui-file-dialog to v0.6.8

* Update xmake.lua

* Update xmake.lua

---------

Co-authored-by: star9029 <[email protected]>
ruki 1 month ago
parent
commit
aae2601442
1 changed files with 8 additions and 1 deletions
  1. 8 1
      packages/i/imgui-file-dialog/xmake.lua

+ 8 - 1
packages/i/imgui-file-dialog/xmake.lua

@@ -6,6 +6,7 @@ package("imgui-file-dialog")
     add_urls("https://github.com/aiekick/ImGuiFileDialog/archive/refs/tags/$(version).tar.gz",
              "https://github.com/aiekick/ImGuiFileDialog.git")
 
+    add_versions("v0.6.8", "7aa3fbb0fc7206c5b434246d906f036057a59eb51e28ae36488aa654a667a266")
     add_versions("v0.6.7", "136e714965afaec2bac857bf46a653fdd74a0bf493e281682706c604113026b8")
     add_versions("v0.6.6", "75420f6eaf74fb1fa22042713f573858d8549366e7741baaf91128eb065b4b47")
     add_versions("v0.6.5", "3fac0f2cfc92b3f2c806e6743236467d0f691e54b1747a3955b82ef28b13e2fa")
@@ -19,7 +20,13 @@ package("imgui-file-dialog")
         add_deps("dirent")
     end
 
-    on_install("windows", "linux", "macosx", "mingw", "android", function (package)
+    on_check("mingw|i386", function (package)
+        if package:version() and package:version():ge("0.6.8") then
+            raise("package(imgui-file-dialog >=0.6.8) does not support i386 mingw build")
+        end
+    end)
+
+    on_install("!iphoneos", function (package)
         local configs = {}
         io.writefile("xmake.lua", [[
             add_requires("imgui")