Fix snippets
This commit is contained in:
		
							parent
							
								
									32e135de7b
								
							
						
					
					
						commit
						a8c62151f3
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1,2 +1,2 @@ | ||||||
| # Bounds are accessible by $Display.Width and $Display.Height | # Bounds are accessible by $Display.Bounds.Width and $Display.Bounds.Height | ||||||
| $Display = Get-PrimaryDisplay | $Display = Get-PrimaryDisplay | ||||||
|  | @ -1,2 +1,2 @@ | ||||||
| # Use regex to replace text within a file. Quotes are escaped by double quoting ("") | # Use regex to replace text within a file. Quotes are escaped by double quoting ("") | ||||||
| Write-ReplaceContentInFile -Regex '^game.setPlayerName "(.+)"' -Replacement "game.setPlayerName ""$NewName""" -FilePath "$InstallDir\<File Path>" | Write-ReplaceContentInFile -Pattern '^game.setPlayerName "(.+)"' -Substitution "game.setPlayerName ""$NewPlayerAlias""" -FilePath "$InstallDirectory\<File Path>" | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Pat Hartl
						Pat Hartl