fix windows build

This commit is contained in:
uncor3
2025-11-13 09:56:36 -08:00
parent bc209187f3
commit 30733c1f1b
2 changed files with 14 additions and 6 deletions
+12 -4
View File
@@ -189,20 +189,28 @@ jobs:
run: cmake --build build --config Release
- name: Install & CPack
id: cpack_step # Add an ID to this step
working-directory: build
shell: pwsh
run: |
cmake --install .
cpack .
# Find the generated files and set them as outputs
$msiFile = Get-ChildItem -Path "artifacts/*.msi" | Select-Object -First 1
$zipFile = Get-ChildItem -Path "artifacts/*.zip" | Select-Object -First 1
echo "msi_name=$($msiFile.Name)" >> $env:GITHUB_OUTPUT
echo "msi_path=$($msiFile.FullName)" >> $env:GITHUB_OUTPUT
echo "zip_name=$($zipFile.Name)" >> $env:GITHUB_OUTPUT
echo "zip_path=$($zipFile.FullName)" >> $env:GITHUB_OUTPUT
- name: Upload Installer Artifact
uses: actions/upload-artifact@v4
with:
name: iDescriptor-Windows-Installer
path: build/artifacts/*.msi
name: ${{ steps.cpack_step.outputs.msi_name }}
path: ${{ steps.cpack_step.outputs.msi_path }}
- name: Upload Portable ZIP Artifact
uses: actions/upload-artifact@v4
with:
name: iDescriptor-Windows-Portable
path: build/artifacts/*.zip
name: ${{ steps.cpack_step.outputs.zip_name }}
path: ${{ steps.cpack_step.outputs.zip_path }}
+2 -2
View File
@@ -44,8 +44,8 @@ int main(int argc, char *argv[])
qputenv("GST_PLUGIN_PATH", gstPluginPath.toUtf8());
qDebug() << "GST_PLUGIN_PATH=" << gstPluginPath;
qputenv("GST_REGISTRY_REUSE_PLUGIN_SCANNER", "yes");
qDebug() << "GST_REGISTRY_REUSE_PLUGIN_SCANNER=yes";
qputenv("GST_REGISTRY_REUSE_PLUGIN_SCANNER", "no");
qDebug() << "GST_REGISTRY_REUSE_PLUGIN_SCANNER=no";
qputenv("GST_PLUGIN_SYSTEM_PATH", gstPluginPath.toUtf8());
qDebug() << "GST_PLUGIN_SYSTEM_PATH=" << gstPluginPath;
qputenv("GST_DEBUG", "GST_PLUGIN_LOADING:5");