Skip to content

OrcaRouterをアプリバンドルから除外 - #707

Merged
Freeesia merged 3 commits into
masterfrom
codex/issue-706-orcarouter-adjustment
Sep 15, 2026
Merged

Freeesia merged 3 commits into
masterfrom
codex/issue-706-orcarouter-adjustment

Conversation

@Freeesia

@Freeesia Freeesia commented Sep 14, 2026

Copy link
Copy Markdown
Owner

概要

Closes #706

master の同梱方式を確認

master の Plugins/WindowTranslator.Plugins.proj は、同梱・非同梱をプロジェクト一覧で選別せず、WindowTranslator.Plugin.*\\*.csproj を含む @(DistributionProject) 全件に RestorePackPublish を実行します。

同梱可否は各プラグインの IsPublishable で決まります。

  • 同梱: Bergamot、ColorThief、OneOcr(IsPublishable=true
  • 非同梱: DeepL、Google AI、LLM、PLaMo など(IsPublishable=false
  • OrcaRouter は master で IsPublishable=true だったため、アプリバンドルの Publish 対象でした

.NET SDK の Microsoft.NET.Publish.targets でも、Publish ターゲットは IsPublishable == 'true' の条件付きであることを確認しました。

変更内容

  • Plugins/WindowTranslator.Plugins.proj は master の既存方式へ戻す
  • OrcaRouter の IsPublishablefalse に変更
  • IsPackable=true は維持し、NuGetパッケージおよびプラグインストアからの配布は維持
  • docs/README.md の翻訳モジュール表にOrcaRouterのメリット・デメリットを追記
  • docs/TranslateModule.mddocs/TranslateModule.en.md に、利用方法・メリット・デメリット・推奨用途を追記

確認

  • Plugins/WindowTranslator.Plugins.proj の master との差分はありません
  • OrcaRouter の IsPublishable=falseIsPackable=true を MSBuild 評価で確認
  • git diff --check 成功
  • テストコマンドは IsTestProject 未設定のため、実際のテスト実行がスキップされた
  • 本体ビルドはNuGet復元前のため project.assets.json 不足で未実行
  • 全プラグインのパックはNuGet共通ロック取得エラーで未完了

@Freeesia
Freeesia marked this pull request as ready for review September 15, 2026 14:54
@Freeesia
Freeesia merged commit 159445c into master Sep 15, 2026
8 of 9 checks passed
@Freeesia
Freeesia deleted the codex/issue-706-orcarouter-adjustment branch September 15, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OrcaRouterプラグインの調整

1 participant