stremio-shell-ng/build.ps1
Vladimir Borisov 15069204be
Some checks failed
Continuous integration / test (push) Has been cancelled
Server IPC key
2026-02-02 17:21:47 +02:00

21 lines
655 B
PowerShell

param (
[String]$pw = $( Read-Host "Password" )
)
$thread = Start-ThreadJob -InputObject ($pw) -ScriptBlock {
$wshell = New-Object -ComObject wscript.shell;
$pw = "$($input)~"
while ($true) {
while ( -not $wshell.AppActivate("Token Logon")) {
Start-Sleep 1
}
Start-Sleep 1
$wshell.SendKeys($pw, $true)
Start-Sleep 1
}
}
cargo build --release --target x86_64-pc-windows-msvc
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /DSIGN "/Sstremiosign=`$qsigntool`$q sign /fd SHA256 /t http://timestamp.digicert.com /n `$qSmart Code OOD`$q `$f" "setup\Stremio.iss"
Stop-Job -Job $thread