Skip to content

Commit

Permalink
Remove old certificate and replace the automatic build script with ma…
Browse files Browse the repository at this point in the history
…nual scripts
  • Loading branch information
core1024 committed Nov 19, 2024
1 parent a250c56 commit 406d28d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/build.yml

This file was deleted.

21 changes: 21 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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("Windows Security")) {
Start-Sleep 1
}
Start-Sleep 1
$wshell.SendKeys($pw, $true)
Start-Sleep 1
}
}

cargo build --release --target i686-pc-windows-msvc
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /DSIGN "/Sstremiosign=`$qC:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\signtool.exe`$q sign /t http://timestamp.digicert.com /n `$qSmart Code OOD`$q `$f" "setup\Stremio.iss"

Stop-Job -Job $thread
Binary file removed certificates/smartcode-20211118-20241118.pfx
Binary file not shown.
3 changes: 3 additions & 0 deletions upload.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$tag = $(git describe --abbrev=0)
aws s3 cp --acl public-read ".\StremioSetup-v$((get-item .\StremioSetup*.exe).VersionInfo.ProductVersion.Trim()).exe" s3://stremio-artifacts/stremio-shell-ng/$tag/
node ./generate_descriptor.js --tag=$tag

0 comments on commit 406d28d

Please sign in to comment.