mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-09 06:30:10 +01:00
Uptime: detect boot time
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <windows.h>
|
||||
#include <wtsapi32.h>
|
||||
|
||||
static uint64_t to_ms(uint64_t ret)
|
||||
static inline uint64_t to_ms(uint64_t ret)
|
||||
{
|
||||
ret -= 116444736000000000ull;
|
||||
return ret / 10000ull;
|
||||
|
||||
Reference in New Issue
Block a user