mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
pwsh script: cd to source's path before build
This commit is contained in:
1 parent
74c8b3c701
commit
55a6d4c879
1 file changed
+1
@@ -57,6 +57,7 @@ Function Build-v2rayA(){
|
||||
#Get Paths
|
||||
$TerminalPath = Get-Item -LiteralPath ./ | ForEach-Object -Process { $_.FullName }
|
||||
$CurrentPath = $PSScriptRoot
|
||||
Set-Location -Path "$CurrentPath"
|
||||
#Get Informations
|
||||
$DateLong = git log -1 --format="%cd" --date=short
|
||||
$Date = $DateLong -replace "-"; ""
|
||||
|
||||
Reference in new issue
Block a user