Skip to content

Commit

Permalink
[73_22] xmake: ends with portable.zip for portable MoganResearch
Browse files Browse the repository at this point in the history
<!-- Thank you for your contribution! -->
## What

## Why

## How to test your changes?
  • Loading branch information
da-liii authored Aug 17, 2024
1 parent 6bd7174 commit 64d40e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,14 @@ xpack("research") do
set_iconfile(path.join(os.projectdir(), "packages/windows/Xmacs.ico"))
set_bindir("bin")
add_installfiles(path.join(os.projectdir(), "build/packages/app.mogan/data/bin/(**)|MoganResearch.exe"), {prefixdir = "bin"})
set_basename("MoganResearch-v" .. XMACS_VERSION .. "-64bit-installer")
on_load(function (package)
local format = package:format()
if format == "nsis" then
package:set("basename", "MoganResearch-v" .. package:version() .. "-64bit-installer")
else
package:set("basename", "MoganResearch-v" .. package:version() .. "-64bit-portable")
end
end)
end
end

Expand Down

0 comments on commit 64d40e8

Please sign in to comment.