i can't use this.. i don't know why . I'm trying to test it and i get this error in vsc:
PS C:\github_repo\obsplugindiega> ..github\scripts\Package-Windows.ps1
=> Check Windows build requirements
Found dependency cmake as C:\Program Files\CMake\bin\cmake.exe
Installing package innosetup
Se encontró un paquete existente ya instalado. Intentando actualizar el paquete instalado...
No se ha encontrado ninguna actualización disponible.
No hay versiones más recientes del paquete disponibles en las fuentes configuradas.
=> Archiving obs-plugintemplate...
Write-Error: C:\github_repo\obsplugindiega.github\scripts\Package-Windows.ps1:96:1
Line |
96 | Package
| ~~~
| The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
30.0.0
OBS Studio Version (Other)
No response
OBS Studio Log URL
no log
OBS Studio Crash Log URL
No response
Expected Behavior
...
Current Behavior
i can't use this.. i don't know why . I'm trying to test it and i get this error in vsc:
PS C:\github_repo\obsplugindiega> ..github\scripts\Package-Windows.ps1 => Check Windows build requirements
and i'm using the github code :
[CmdletBinding()] param( [ValidateSet('x64')] [string] $Target = 'x64', [ValidateSet('Debug', 'RelWithDebInfo', 'Release', 'MinSizeRel')] [string] $Configuration = 'RelWithDebInfo', [switch] $BuildInstaller, [switch] $SkipDeps )
$ErrorActionPreference = 'Stop'
if ( $DebugPreference -eq 'Continue' ) { $VerbosePreference = 'Continue' $InformationPreference = 'Continue' }
if ( ! ( [System.Environment]::Is64BitOperatingSystem ) ) { throw "Packaging script requires a 64-bit system to build and run." }
if ( $PSVersionTable.PSVersion -lt '7.0.0' ) { Write-Warning 'The packaging script requires PowerShell Core 7. Install or upgrade your PowerShell version: https://aka.ms/pscore6' exit 2 }
function Package { trap { Pop-Location -Stack BuildTemp -ErrorAction 'SilentlyContinue' Write-Error $_ Log-Group exit 2 }
}
Package
what happend? how can i fix this? thanks
Steps to Reproduce
1. 2. 3. ...
Anything else we should know?
No response