Skip to content

Commit aae2601

Browse files
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]>
1 parent 63ff08f commit aae2601

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/i/imgui-file-dialog/xmake.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package("imgui-file-dialog")
66
add_urls("https://github.com/aiekick/ImGuiFileDialog/archive/refs/tags/$(version).tar.gz",
77
"https://github.com/aiekick/ImGuiFileDialog.git")
88

9+
add_versions("v0.6.8", "7aa3fbb0fc7206c5b434246d906f036057a59eb51e28ae36488aa654a667a266")
910
add_versions("v0.6.7", "136e714965afaec2bac857bf46a653fdd74a0bf493e281682706c604113026b8")
1011
add_versions("v0.6.6", "75420f6eaf74fb1fa22042713f573858d8549366e7741baaf91128eb065b4b47")
1112
add_versions("v0.6.5", "3fac0f2cfc92b3f2c806e6743236467d0f691e54b1747a3955b82ef28b13e2fa")
@@ -19,7 +20,13 @@ package("imgui-file-dialog")
1920
add_deps("dirent")
2021
end
2122

22-
on_install("windows", "linux", "macosx", "mingw", "android", function (package)
23+
on_check("mingw|i386", function (package)
24+
if package:version() and package:version():ge("0.6.8") then
25+
raise("package(imgui-file-dialog >=0.6.8) does not support i386 mingw build")
26+
end
27+
end)
28+
29+
on_install("!iphoneos", function (package)
2330
local configs = {}
2431
io.writefile("xmake.lua", [[
2532
add_requires("imgui")

0 commit comments

Comments
 (0)