feat(nwjs): NW.js汎用ゲームの自動検出・専用タブおよびバッジ表示機能を追加
- package.jsonを起点とする汎用NW.jsゲームの検出ロジック(NwjsDetector)を新規実装 - メインナビゲーションタブに「NW.js」タブを追加し、エンジン別フィルタリングに対応 - 一覧カードおよび詳細パネルヘッダーにNW.jsバッジを追加 - キャッシュ復元およびステータスバー集計にNW.jsエンジン分類を反映
This commit is contained in:
1 parent
90584379b7
commit
59519208f3
8 files changed
+433
-11
No files matched your search
@@ -136,8 +136,7 @@ namespace GameLauncher.Engines.Common
|
||||
return EngineTkool;
|
||||
}
|
||||
|
||||
var packageJson = Path.Combine(gameDirectory, "package.json");
|
||||
if (File.Exists(packageJson) && Directory.Exists(Path.Combine(gameDirectory, "nwjs")))
|
||||
if (Engines.Nwjs.NwjsDetector.IsNwjsGame(gameDirectory))
|
||||
{
|
||||
return EngineNwjs;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user