feat: エンジン種別タブ(WOLF/SRPG)追加、Backupsパス統一、Shift_JIS有効化、スキャナ改善
This commit is contained in:
1 parent
a1430bbdbc
commit
01ee04b4cc
13 files changed
+1878
-34
No files matched your search
+12
-5
@@ -1,20 +1,20 @@
|
||||
# GameLauncher 単一ファイル発行スクリプト
|
||||
# GameLauncher 単一ファイル発行スクリプト
|
||||
# 公開先: Z:\自作ソフト\GameLauncher\
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$projectDir = $PSScriptRoot
|
||||
$publishDir = 'Z:\自作ソフト\GameLauncher'
|
||||
$publishDir = "Z:\自作ソフト\GameLauncher"
|
||||
|
||||
Write-Host '=== GameLauncher 発行処理開始 ===' -ForegroundColor Cyan
|
||||
Write-Host "=== GameLauncher 発行処理開始 (発行先: $publishDir) ===" -ForegroundColor Cyan
|
||||
|
||||
if (!(Test-Path $publishDir)) {
|
||||
New-Item -ItemType Directory -Path $publishDir -Force | Out-Null
|
||||
}
|
||||
|
||||
Write-Host 'プロジェクトのビルドおよび単一ファイル発行中...' -ForegroundColor Yellow
|
||||
Write-Host "プロジェクトのビルドおよび単一ファイル発行中..." -ForegroundColor Yellow
|
||||
|
||||
dotnet publish "$projectDir\GameLauncher.csproj" -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -p:PublishDir="$publishDir\"
|
||||
dotnet publish "$projectDir\GameLauncher.csproj" -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o "$publishDir"
|
||||
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
# プラグインおよび設定ファイルの配置
|
||||
@@ -27,6 +27,13 @@ if ($LASTEXITCODE -eq 0) {
|
||||
if (Test-Path "$projectDir\Config.tjs") {
|
||||
Copy-Item -Path "$projectDir\Config.tjs" -Destination "$publishDir\Config.tjs" -Force
|
||||
}
|
||||
# ウディタおよびSRPG Studio用ツール(UberWolfCli, SRPG_Unpacker, speedhack-i686プロキシDLL等)の配置
|
||||
if (Test-Path "$projectDir\Tools") {
|
||||
if (!(Test-Path "$publishDir\Tools")) {
|
||||
New-Item -ItemType Directory -Path "$publishDir\Tools" -Force | Out-Null
|
||||
}
|
||||
robocopy "$projectDir\Tools" "$publishDir\Tools" /E /NP /R:1 /W:1 | Out-Null
|
||||
}
|
||||
Write-Host "発行成功: $publishDir\GameLauncher.exe" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "発行失敗 (終了コード: $LASTEXITCODE)" -ForegroundColor Red
|
||||
|
||||
Reference in new issue
Block a user