スタイル: コーディング規約に準拠したコードフォーマットの適用(this.の明示、空白スタイルの統一)
- 自インスタンスメンバーアクセスへの this. 付与(28ファイル) - .editorconfig に準拠したインデント・波括弧・空白スタイルの適用 - UTF-8 (BOMあり)、CRLF改行コード、行末空白除去の整合性検証
This commit is contained in:
1 parent
2fa40c950f
commit
ae86b53147
28 files changed
+1362
-1380
No files matched your search
@@ -79,7 +79,7 @@ namespace GameLauncher.Engines.Evb
|
||||
try
|
||||
{
|
||||
// Preferred names commonly used by NW.js / RPG Maker / Tyrano bundles.
|
||||
string[] preferred = { "Game.exe", "game.exe", "nw.exe", "Game_boxed.exe" };
|
||||
string[] preferred = ["Game.exe", "game.exe", "nw.exe", "Game_boxed.exe"];
|
||||
foreach (var name in preferred)
|
||||
{
|
||||
var direct = Path.Combine(outputDirectory, name);
|
||||
@@ -302,7 +302,7 @@ namespace GameLauncher.Engines.Evb
|
||||
{
|
||||
foreach (var backup in Directory.GetFiles(gameRootDir, "*" + ExeBackupSuffix))
|
||||
{
|
||||
var original = backup.Substring(0, backup.Length - ExeBackupSuffix.Length);
|
||||
var original = backup[..^ExeBackupSuffix.Length];
|
||||
if (!File.Exists(original))
|
||||
{
|
||||
File.Move(backup, original);
|
||||
|
||||
Reference in new issue
Block a user