Add argument option

This commit is contained in:
Aoran Zeng
2025-08-09 21:35:08 +08:00
parent 16d643a8ee
commit 2d358fbc6a
2 changed files with 4 additions and 4 deletions

View File

@@ -73,8 +73,8 @@ wr_flathub_getsrc (char *option)
void
wr_flathub_setsrc (char *option)
{
// chsrc_yield_source_and_confirm (wr_flathub);
Source_t source;
use_this(wr_flathub);
Source_t source = chsrc_yield_source_and_confirm (this, option);
chsrc_alert2 ("若出现问题,可先调用以下命令:");
char *note = xy_strjoin (3,