Skip to content

Commit

Permalink
まだ要らなかった
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Nov 6, 2024
1 parent 166ea3d commit 13e9a14
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/backend/electron/manager/engineInfoManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ export class EngineInfoManager {
this.vvppEngineDir = payload.vvppEngineDir;
}

/** デフォルトエンジンかどうかを判定する */
private isDefaultEngine(engineId: EngineId): boolean {
return this.envEngineInfos.some((e) => e.uuid === engineId);
}

/** エンジンディレクトリからエンジン情報を読み込む */
private loadEngineInfo(
engineDir: string,
Expand Down Expand Up @@ -75,7 +70,7 @@ export class EngineInfoManager {
executionFilePath: path.join(engineDir, command),
executionArgs: args,
type,
isDefault: this.isDefaultEngine(manifest.uuid),
isDefault: false,
} satisfies EngineInfo;
return success(engineInfo);
}
Expand Down

0 comments on commit 13e9a14

Please sign in to comment.