mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-30 09:40:52 +00:00
Remove old updates on startup.
We left the packages from old Updates lingering on the filesystem. This clears them out. Fixes #28
This commit is contained in:
parent
5c3a5fba1c
commit
7e4212d1fc
@ -54,6 +54,8 @@ QString UpdateManager::HaveUpdate()
|
||||
{
|
||||
// check if this version has been applied
|
||||
QString readyFile(GetPath("_readyToApply", dir, false));
|
||||
QString packagesDir(GetPath("packages", dir, false));
|
||||
|
||||
QLOG_DEBUG() << "Checking for:" << readyFile;
|
||||
|
||||
QDir packageDir(GetPath("packages", dir, false));
|
||||
|
Loading…
Reference in New Issue
Block a user