Rune
Developers | |
---|---|
Human Head Studios | |
Publishers | |
Nine Realms Gathering of Developers | |
Release Date | |
Windows: November 18, 2000 | |
Genres | |
Adventure | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | System/Rune.exe | True |
Name Change Script
$NewName = $args[0]
$InstallDir = $PSScriptRoot
function Write-ReplaceContentInFile([string]$Regex, [string]$Replacement, [string]$FilePath)
{
$content = (Get-Content $FilePath) -replace $Regex, $Replacement
[IO.File]::WriteAllLines($FilePath, $content)
}
Write-ReplaceContentInFile -Regex 'Name=(.+)' -Replacement "Name=$NewName" -FilePath "$InstallDir\System\User.ini"