Skip to content

Commit

Permalink
🐛 Linux 排除 游戏工具插件
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossimos committed Nov 30, 2023
1 parent bbd9623 commit 47e16e3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1028,14 +1028,15 @@ static void SetPublishCommandArgumentList(
argumentList.Add("--nologo");
}

static IEnumerable<string> GetPluginNames()
static IEnumerable<string> GetPluginNames(Platform platform)
{
yield return AssemblyInfo.Accelerator;
yield return AssemblyInfo.GameAccount;
yield return AssemblyInfo.GameList;
//yield return AssemblyInfo.ArchiSteamFarmPlus;
yield return AssemblyInfo.Authenticator;
yield return AssemblyInfo.GameTools;
if (platform == Platform.Windows)
yield return AssemblyInfo.GameTools;
yield return AssemblyInfo.SteamIdleCard;
}

Expand All @@ -1054,7 +1055,7 @@ static void PublishPlugins(
string configuration,
string framework)
{
foreach (var pluginName in GetPluginNames())
foreach (var pluginName in GetPluginNames(platform))
{
var projRootPath = Path.Combine(ProjectUtils.ProjPath, "src", $"BD.WTTS.Client.Plugins.{pluginName}");
StartProcessAndWaitForExit(projRootPath, $"build -c {configuration} --nologo -v q /property:WarningLevel=1");
Expand Down

0 comments on commit 47e16e3

Please sign in to comment.