9dbcc7d926
Create a minimal Fallout 4 F4SE/CommonLibF4 starter repo with build, packaging, install, and rename scripts, plus initial plugin source, headers, and xmake configuration.
16 lines
426 B
PowerShell
16 lines
426 B
PowerShell
param(
|
|
[Parameter(Mandatory=$true)]
|
|
[string]$Fallout4Path
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$root = Split-Path -Parent $PSScriptRoot
|
|
$plugins = Join-Path $root "package\F4SE\Plugins"
|
|
$target = Join-Path $Fallout4Path "Data\F4SE\Plugins"
|
|
|
|
New-Item -ItemType Directory -Force -Path $target | Out-Null
|
|
Copy-Item -Path (Join-Path $plugins "*") -Destination $target -Force
|
|
|
|
Write-Host "Installed plugin files to $target"
|