Update asset paths in build workflows
Changed asset inclusion and screenshot removal paths from 'assets' to 'lib/assets' in Linux, macOS, and Windows build workflows to reflect new directory structure and ensure screenshots are excluded from packaged builds.
This commit is contained in:
@@ -84,11 +84,11 @@ jobs:
|
||||
--packages "PySide6.QtCore,PySide6.QtGui,PySide6.QtWidgets,requests,PIL,packaging,markdown,pyglet,loguru,setuptools" `
|
||||
--excludes "PySide6.QtBluetooth,PySide6.QtNetwork,PySide6.QtOpenGL,PySide6.QtPrintSupport,PySide6.QtSvg,PySide6.QtTest,PySide6.QtXml,PySide6.QtSql,PySide6.QtHelp,PySide6.QtMultimedia,PySide6.QtQml,PySide6.QtQuick,PySide6.QtWebEngineCore,PIL.ImageDraw,PIL.ImageFont,numpy,scipy,wx,pandas,tkinter,yt_dlp,unittest,test,tests" `
|
||||
--include-files "src" `
|
||||
--include-files "assets"
|
||||
--include-files "assets,lib/assets"
|
||||
|
||||
# Remove screenshots folder to reduce build size
|
||||
if (Test-Path "dist\YTSage\assets\branding\screenshots") {
|
||||
Remove-Item "dist\YTSage\assets\branding\screenshots" -Recurse -Force
|
||||
if (Test-Path "dist\YTSage\lib\assets\branding\screenshots") {
|
||||
Remove-Item "dist\YTSage\lib\assets\branding\screenshots" -Recurse -Force
|
||||
Write-Host "Removed screenshots folder from standard build"
|
||||
}
|
||||
|
||||
@@ -163,11 +163,11 @@ jobs:
|
||||
--packages "PySide6.QtCore,PySide6.QtGui,PySide6.QtWidgets,requests,PIL,packaging,markdown,pyglet,loguru,setuptools" `
|
||||
--excludes "PySide6.QtBluetooth,PySide6.QtNetwork,PySide6.QtOpenGL,PySide6.QtPrintSupport,PySide6.QtSvg,PySide6.QtTest,PySide6.QtXml,PySide6.QtSql,PySide6.QtHelp,PySide6.QtMultimedia,PySide6.QtQml,PySide6.QtQuick,PySide6.QtWebEngineCore,PIL.ImageDraw,PIL.ImageFont,numpy,scipy,wx,pandas,tkinter,yt_dlp,unittest,test,tests" `
|
||||
--include-files "src" `
|
||||
--include-files "assets"
|
||||
--include-files "assets,lib/assets"
|
||||
|
||||
# Remove screenshots folder to reduce build size
|
||||
if (Test-Path "dist\YTSage-FFmpeg\assets\branding\screenshots") {
|
||||
Remove-Item "dist\YTSage-FFmpeg\assets\branding\screenshots" -Recurse -Force
|
||||
if (Test-Path "dist\YTSage-FFmpeg\lib\assets\branding\screenshots") {
|
||||
Remove-Item "dist\YTSage-FFmpeg\lib\assets\branding\screenshots" -Recurse -Force
|
||||
Write-Host "Removed screenshots folder from FFmpeg build"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user