mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-11-04 18:23:59 +00:00
- Flatpak manifest (GNOME 51, libvlc built from source) installing from a new portable spotube-linux-<version>-<arch>.tar.xz, shared with the AUR package - Release workflow builds and attaches the Linux tarballs for x86_64 and aarch64 - Package files are JMustache templates rendered by :composeApp:renderPackaging<Target> with the version, release asset checksums and git-cliff release notes; the metainfo release history is generated - Publish workflow (workflow_dispatch, release tag input) renders once and pushes to Flathub, the AUR, WinGet (PR from team-spotube/winget-pkgs) and Chocolatey - Chocolatey and WinGet updated for the NSIS installer
20 lines
644 B
PowerShell
20 lines
644 B
PowerShell
$ErrorActionPreference = 'Stop'; # stop on all errors
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$fileLocation = Join-Path $toolsDir 'Spotube-windows-x86_64-setup.exe'
|
|
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
fileType = 'exe'
|
|
file = $fileLocation
|
|
|
|
softwareName = 'Spotube*'
|
|
silentArgs = '/S' # NSIS (electron-builder one-click, per-user)
|
|
validExitCodes= @(0)
|
|
}
|
|
|
|
Install-ChocolateyInstallPackage @packageArgs
|
|
|
|
# The installer was only needed to install; don't keep a copy in the package directory
|
|
Remove-Item $fileLocation -Force -ErrorAction SilentlyContinue
|