feat: custom_user_agent

This commit is contained in:
BingChunMoLi
2025-08-23 12:58:23 +08:00
parent 1ea20097ad
commit f2a50d0963
4 changed files with 22 additions and 20 deletions

View File

@@ -52,7 +52,7 @@ pl_ruby_getsrc (char *option)
chsrc_run ("bundle config get mirror.https://rubygems.org", RunOpt_Default);
}
void
bool
pl_ruby_remove_gem_source (const char *source)
{
char *cmd = NULL;
@@ -61,6 +61,7 @@ pl_ruby_remove_gem_source (const char *source)
cmd = xy_2strjoin ("gem sources -r ", source);
chsrc_run (cmd, RunOpt_Default);
}
return false
}
/**
@@ -105,4 +106,4 @@ void
pl_ruby_resetsrc (char *option)
{
pl_ruby_setsrc (option);
}
}