Compare commits
2 Commits
7301c40ba9
...
86a034a4ac
| Author | SHA1 | Date | |
|---|---|---|---|
|
86a034a4ac
|
|||
|
9208a5750d
|
@@ -5,8 +5,8 @@
|
|||||||
<name>jminos</name>
|
<name>jminos</name>
|
||||||
<developer_name>Zulianc</developer_name>
|
<developer_name>Zulianc</developer_name>
|
||||||
<summary>Amazing stacker game by the J </summary>
|
<summary>Amazing stacker game by the J </summary>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<!-- <metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-only</project_license>
|
<project_license>GPL-3.0-only</project_license> -->
|
||||||
<url type="homepage">https://git.ale-pri.com/TetrisNerd/jminos</url>
|
<url type="homepage">https://git.ale-pri.com/TetrisNerd/jminos</url>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<li>IRS, IHS, infinite hold, and other leniency mechanics!</li>
|
<li>IRS, IHS, infinite hold, and other leniency mechanics!</li>
|
||||||
<li>Customizable board size!</li>
|
<li>Customizable board size!</li>
|
||||||
<li>Customizable keybinds!</li>
|
<li>Customizable keybinds!</li>
|
||||||
<li>Very bland interface!! (i'm not a designer)</li>
|
<li>Very bland interface!! (i'm not a designer)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Available gamemodes</p>
|
<p>Available gamemodes</p>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -47,15 +47,15 @@
|
|||||||
<image>https://git.ale-pri.com/TetrisNerd/jminos/raw/branch/main/doc/readme/big_piece.png</image>
|
<image>https://git.ale-pri.com/TetrisNerd/jminos/raw/branch/main/doc/readme/big_piece.png</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<caption>Dark Settings</caption>
|
<caption>Pieces selection</caption>
|
||||||
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/pieces_selection.png</image>
|
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/pieces_selection.png</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<caption>Light Interface</caption>
|
<caption>Rotations</caption>
|
||||||
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotations.gif</image>
|
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotations.gif</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<caption>Light Grid View</caption>
|
<caption>Rotation_0</caption>
|
||||||
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotation_0.gif</image>
|
<image>https://git.ale-pri.com/TetrisNerd/jminos/media/branch/main/doc/readme/rotation_0.gif</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|||||||
15
xmake.lua
15
xmake.lua
@@ -52,20 +52,7 @@ if is_plat("mingw") then
|
|||||||
add_ldflags("-static-libstdc++", "-static")
|
add_ldflags("-static-libstdc++", "-static")
|
||||||
end
|
end
|
||||||
|
|
||||||
xpack("jminos")
|
includes("./xpack.lua")
|
||||||
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)
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- If you want to known more usage about xmake, please see https://xmake.io
|
-- If you want to known more usage about xmake, please see https://xmake.io
|
||||||
|
|||||||
33
xpack.lua
Normal file
33
xpack.lua
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
if is_os("linux") then
|
||||||
|
|
||||||
|
xpack("jminos")
|
||||||
|
set_formats("flatpak")
|
||||||
|
set_extension("flatpak")
|
||||||
|
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)
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
xpack("jminos")
|
||||||
|
set_formats("zip")
|
||||||
|
add_targets("graph")
|
||||||
|
add_installfiles("(data/**.png)")
|
||||||
|
on_load(function (package)
|
||||||
|
package:set("basename", package:name() .. "-v" .. package:version() .. "-" .. package:arch())
|
||||||
|
end)
|
||||||
|
after_installcmd(function (package, batchcmds)
|
||||||
|
batchcmds:mv(path.join(package:installdir("bin"), "*"), package:installdir())
|
||||||
|
batchcmds:rm(package:installdir("bin"))
|
||||||
|
batchcmds:rm(package:installdir("**/.gitkeep"))
|
||||||
|
end)
|
||||||
|
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user