mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
🧹 crypto: refactor a bit
This commit is contained in:
parent
4ef6bd13da
commit
112bb742da
@ -181,7 +181,7 @@ void luks_express() noexcept {
|
|||||||
|
|
||||||
void luks_show() noexcept {
|
void luks_show() noexcept {
|
||||||
static constexpr auto luks_success = "Done!";
|
static constexpr auto luks_success = "Done!";
|
||||||
const auto& lsblk = utils::exec("lsblk -o NAME,TYPE,FSTYPE,SIZE | grep \"part\\|crypt\\|NAME\\|TYPE\\|FSTYPE\\|SIZE\"");
|
const auto& lsblk = utils::exec(R"(lsblk -o NAME,TYPE,FSTYPE,SIZE | grep "part\|crypt\|NAME\|TYPE\|FSTYPE\|SIZE")");
|
||||||
const auto& content = fmt::format(FMT_COMPILE("\n{}\n \n{}"), luks_success, lsblk);
|
const auto& content = fmt::format(FMT_COMPILE("\n{}\n \n{}"), luks_success, lsblk);
|
||||||
detail::msgbox_widget(content, size(HEIGHT, GREATER_THAN, 5));
|
detail::msgbox_widget(content, size(HEIGHT, GREATER_THAN, 5));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user