Skip to content

Commit 25ae628

Browse files
committed
fix build
1 parent 17a8001 commit 25ae628

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vk-inviter/make.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
param (
22
[switch] $Init,
33
[switch] $Clean,
4-
[switch] $Compile
4+
[switch] $Compile,
5+
[string] $PythonCommand = "python"
56
)
67
Set-Location $PSScriptRoot
78
$didSomething = $false
89

910
if ($Init) {
10-
& py -m venv ./.venv
11+
& $PythonCommand -m venv ./.venv
1112
. ./.venv/Scripts/Activate.ps1
1213

1314
& ./.venv/Scripts/python -m pip install --upgrade pip
@@ -35,4 +36,4 @@ if ($Compile) {
3536

3637
if (!$didSomething) {
3738
Get-Help $PSCommandPath
38-
}
39+
}

0 commit comments

Comments
 (0)