You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
415 B
10 lines
415 B
$envFile = Get-Content ".\.env"
|
|
|
|
$envFile -split "=" | Where-Object {$_ -notmatch '\"'} | Set-Content ".\envVarsbefSpl.txt"
|
|
Get-Content ".\envVarsbefSpl.txt" | Where-Object {$_ -notmatch '\#'} | Set-Content ".\envVarsN.txt"
|
|
Get-Content ".\envVarsN.txt" | Where-Object {$_ -ne ''} | Set-Content ".\video_creation\data\envvars.txt"
|
|
Remove-Item ".\envVarsbefSpl.txt"
|
|
Remove-Item ".\envVarsN.txt"
|
|
|
|
Write-Host $nowSplit
|