mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-16 13:58:13 +02:00
no point in firing the update screen when no breaking changes happen on point releases
18 lines
No EOL
358 B
C++
18 lines
No EOL
358 B
C++
#pragma once
|
|
|
|
#include "../helpers/memory/Memory.hpp"
|
|
|
|
class CVersionKeeperManager {
|
|
public:
|
|
CVersionKeeperManager();
|
|
|
|
// whether the update screen was shown this boot.
|
|
bool fired();
|
|
|
|
private:
|
|
bool isMajorVersionOlderThanRunning(const std::string& ver);
|
|
|
|
bool m_fired = false;
|
|
};
|
|
|
|
inline UP<CVersionKeeperManager> g_pVersionKeeperMgr; |