diff options
| author | ruki <[email protected]> | 2020-10-23 23:34:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-23 23:34:39 +0800 |
| commit | e46c2b93962d96c6ef0a9d46fb99ab7ab53b173d (patch) | |
| tree | 1d61b69b6a1bd5a16858d34d0ac1c958b4358d87 | |
| parent | c52d3d2210a6a56cca5dde8c1e06a1c962cd36c6 (diff) | |
improve xmake logo
| -rw-r--r-- | xmake/core/base/option.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/xrepo/main.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua index 28710df38..775f98b7e 100644 --- a/xmake/core/base/option.lua +++ b/xmake/core/base/option.lua @@ -507,7 +507,7 @@ function option.show_logo(logo, opt) local line2 = "" line:gsub(".", function (c) local code = colors.truecolor() and colors.rainbow24(i, seed) or colors.rainbow256(i, seed) - line2 = string.format("%s${%s %s}%s", line2, opt.bright and "bright" or "", code, c) + line2 = string.format("%s${bright %s}%s", line2, code, c) i = i + 1 end) table.insert(lines, line2) diff --git a/xmake/modules/private/xrepo/main.lua b/xmake/modules/private/xrepo/main.lua index 1a6d3fd6f..26938f285 100644 --- a/xmake/modules/private/xrepo/main.lua +++ b/xmake/modules/private/xrepo/main.lua @@ -41,7 +41,7 @@ function _show_version() by ruki, xmake.io ]] - option.show_logo(logo, {seed = 680, bright = true}) + option.show_logo(logo, {seed = 680}) end -- get main menu options |
