Skip to content

Commit

Permalink
release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Valyreon committed Nov 4, 2024
1 parent 9c4b50a commit 0697846
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions InstallerFiles/Scoop/subloader.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "1.6.1",
"version": "1.6.2",
"description": "Subloader enables you to quickly find and download subtitles for your video files using OpenSubtitles API.",
"homepage": "https://github.com/Valyreon/Subloader",
"license": "MIT-Modern-Variant",
"architecture": {
"64bit": {
"url": "https://github.com/Valyreon/Subloader/releases/download/v1.6.1/scoop.zip",
"hash": "a1506a42a1b936ff1673f47bd1b1a63da7d7254c801418fceaba03e95f6d0cbb"
"url": "https://github.com/Valyreon/Subloader/releases/download/v1.6.2/scoop.zip",
"hash": "3e8fac716267d01331aa467def6d070589d96c29e273cd36d98dede9fdcbb7fa"
}
},
"post_install": "add_to_openwith_menu.ps1",
Expand Down
8 changes: 6 additions & 2 deletions make_release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@ foreach ($file in $innoFilesToCopy) {
Copy-Item -Path ($outputPath + "/SubloaderWpf.exe") -Destination ($innoFolder + "/SubLoad.exe")
Copy-Item -Path ($outputPath + "/subloader-cli.exe") -Destination ($innoFolder + "/subloader-cli.exe")

$innoSetupFile = Get-Content -Path ($innoFolder + "/inno_setup.iss")
$innoSetupFile = $innoSetupFile -replace "SubloaderV160", ("SubloaderV" + $versionWithoutDots)
$innoSetupFile = $innoSetupFile -replace "1.6", $Version
Set-Content -Path ($innoFolder + "/inno_setup.iss") -Value $innoSetupFile
$compileInnoSetupExpression = "& 'C:/Program Files (x86)/Inno Setup 6/ISCC.exe' /q " + $innoFolder + "/inno_setup.iss"
Invoke-Expression $compileInnoSetupExpression 2>&1

$setupFile = (Get-ChildItem -Path ($innoFolder + "/Output") -File)[0]
Copy-Item -Path $setupFile -Destination ($outputPath + "/SubloaderV" + $versionWithoutDots + "Installer.exe")
$setupFile = (Get-ChildItem -Path ($innoFolder + "/Output") -File)
Copy-Item -Path ($innoFolder + "/Output/" + $setupFile) -Destination ($outputPath + "/SubloaderV" + $versionWithoutDots + "Installer.exe")
Remove-Item -Path $innoFolder -Recurse -Force

# Copy Portable file
Expand Down

0 comments on commit 0697846

Please sign in to comment.