test(tray): add system tray tests (#4221)
This commit is contained in:
@@ -29,6 +29,13 @@ foreach(asset ${ALL_ASSETS}) # Copy assets to build directory, excluding the we
|
||||
DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/assets")
|
||||
endforeach()
|
||||
|
||||
# Copy the primary application icon into the built web assets for the system tray.
|
||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/assets/web/images")
|
||||
configure_file(
|
||||
"${CMAKE_SOURCE_DIR}/sunshine.svg"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/assets/web/images/logo-sunshine.svg"
|
||||
COPYONLY)
|
||||
|
||||
# install built vite assets
|
||||
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/assets/web"
|
||||
DESTINATION "${SUNSHINE_ASSETS_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user