1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Move asset updater to core, and remove the stupid dependency on desktop

It makes no sense for Core to depend on Desktop, and this removes that
circular dependency.
This commit is contained in:
Joshua Goins 2022-09-05 16:54:05 -04:00
parent 70309ceca1
commit 9832e66ca9
5 changed files with 4 additions and 6 deletions

View file

@ -8,7 +8,8 @@ set(HEADERS
include/squareboot.h
include/squarelauncher.h
include/patcher.h
include/steamapi.h)
include/steamapi.h
include/assetupdater.h)
set(SRC
src/encryptedarg.cpp
@ -19,7 +20,8 @@ set(SRC
src/squareboot.cpp
src/squarelauncher.cpp
src/patcher.cpp
src/steamapi.cpp)
src/steamapi.cpp
src/assetupdater.cpp)
if (ENABLE_WATCHDOG)
set(HEADERS ${HEADERS}
@ -51,7 +53,6 @@ target_link_libraries(astra_core PUBLIC
Qt5::Widgets # widgets is required by watchdog, to be fixed/removed later
Qt5::Quick # required for some type registrations
PRIVATE
astra_desktop
cotp
crypto) # desktop is currently required by the core, to be fixed/removed later

View file

@ -25,7 +25,6 @@
#include "encryptedarg.h"
#include "launchercore.h"
#include "sapphirelauncher.h"
#include "settingswindow.h"
#include "squareboot.h"
#include "squarelauncher.h"

View file

@ -1,6 +1,5 @@
set(HEADERS
include/aboutwindow.h
include/assetupdater.h
include/bannerwidget.h
include/desktopinterface.h
include/gamescopesettingswindow.h
@ -10,7 +9,6 @@ set(HEADERS
set(SRC
src/aboutwindow.cpp
src/assetupdater.cpp
src/bannerwidget.cpp
src/desktopinterface.cpp
src/gamescopesettingswindow.cpp