zip windows packing

This commit is contained in:
2025-07-28 10:29:42 +02:00
parent 7301c40ba9
commit 9208a5750d
2 changed files with 34 additions and 14 deletions

View File

@@ -52,20 +52,7 @@ if is_plat("mingw") then
add_ldflags("-static-libstdc++", "-static")
end
xpack("jminos")
set_formats("flatpak")
set_extension("")
set_title("jminos")
set_author("zulianc")
set_description("A test installer.")
set_homepage("https://git.ale-pri.com/TetrisNerd/jminos")
set_company("org.zulianc")
on_package(function (package)
os.cd("flatpak")
os.exec("flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir org.zulianc.jminos.yml")
os.exec("flatpak build-bundle repo jminos.flatpak org.zulianc.jminos --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo")
os.mv("jminos.flatpak", package:outputdir())
end)
includes("./xpack.lua")
--
-- If you want to known more usage about xmake, please see https://xmake.io