refactor: reorganize engine-based structure and add agent rules
- Engines/ 配下へエンジン別に再編 (Common/Rgss/Tkool/Tyrano/Wolf/Unity/Nwjs) - ゲーム個別処理を Engines/<Engine>/Games/<GameName>/ へ分離し、共通処理から明示呼び出し - 外部ツールを Engines/<Engine>/Tools/ へ移動し、AppPathHelper 経由で解決 - 旧 Tools/ 直下参照と不要な参照ファイル/バックアップを削除 - エージェント規則 AGENTS.md を追加し、README から参照 - publish.ps1 を Engines/<Engine>/Tools/ の再帰配置に対応
This commit is contained in:
1 parent
0d11039ee9
commit
8cea2a147d
47 files changed
+2976
-176
No files matched your search
@@ -24,6 +24,7 @@ namespace GameLauncher
|
||||
|
||||
txtRgssExtractorPath.Text = _config.RgssExtractorPath ?? @"C:\Soft\RGSS-Extractor-v1.0\RGSS Extractor.exe";
|
||||
txtWolfExtractorPath.Text = _config.WolfExtractorPath ?? string.Empty;
|
||||
txtWindowResizeToolPath.Text = _config.WindowResizeToolPath ?? string.Empty;
|
||||
txtBackupsPath.Text = AppPathHelper.GetBackupsDirectory();
|
||||
chkDefaultApplyMod.IsChecked = _config.DefaultApplyMod;
|
||||
}
|
||||
@@ -70,6 +71,27 @@ namespace GameLauncher
|
||||
}
|
||||
}
|
||||
|
||||
private void btnBrowseWindowResizeTool_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var ofd = new OpenFileDialog
|
||||
{
|
||||
Title = "ウィンドウ拡大用の外部ツール(Sizer等)を選択してください",
|
||||
Filter = "実行ファイル (*.exe)|*.exe|すべてのファイル (*.*)|*.*",
|
||||
FileName = "Sizer.exe"
|
||||
};
|
||||
|
||||
var currentDir = Path.GetDirectoryName(txtWindowResizeToolPath.Text);
|
||||
if (!string.IsNullOrEmpty(currentDir) && Directory.Exists(currentDir))
|
||||
{
|
||||
ofd.InitialDirectory = currentDir;
|
||||
}
|
||||
|
||||
if (ofd.ShowDialog() == true)
|
||||
{
|
||||
txtWindowResizeToolPath.Text = ofd.FileName;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnOpenBackupsDir_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
try
|
||||
@@ -91,6 +113,7 @@ namespace GameLauncher
|
||||
{
|
||||
_config.RgssExtractorPath = txtRgssExtractorPath.Text.Trim();
|
||||
_config.WolfExtractorPath = txtWolfExtractorPath.Text.Trim();
|
||||
_config.WindowResizeToolPath = txtWindowResizeToolPath.Text.Trim();
|
||||
_config.DefaultApplyMod = chkDefaultApplyMod.IsChecked == true;
|
||||
IsSaved = true;
|
||||
DialogResult = true;
|
||||
|
||||
Reference in new issue
Block a user