Add F4SE plugin template
Create a minimal Fallout 4 F4SE/CommonLibF4 starter repo with build, packaging, install, and rename scripts, plus initial plugin source, headers, and xmake configuration.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user