李通洲
e9b3a799bc
OS: make osFile a global option
...
`OS` is used by Module `Package`
2023-06-12 15:42:56 +08:00
李通洲
c7119498a3
Global: major FFstrbuf related code refactor
2023-06-10 09:15:15 +08:00
李通洲
6cb073e6a5
OS: major code refactoring
...
Split `fastfetch.h` to make it possible to print OS module with different options
2023-06-10 09:15:15 +08:00
李通洲
4af44a40bf
OS (macOS): add fast path for code name detection
2023-06-07 14:30:45 +08:00
Linus Dierheimer
a063cd4feb
Correctly handle zfs pools
...
#413
2023-02-01 15:56:25 +01:00
李通洲
aa36a83182
Windows: silense some warnings
2023-01-25 17:25:05 +08:00
Linus Dierheimer
7bef5008c2
Second round of fixes for FFPlatform
2023-01-15 16:26:08 +01:00
Linus Dierheimer
a1d8e3e598
Introduce FFPlatform
2023-01-15 15:57:26 +01:00
李通洲
4cf1d5bf94
util: rename unicode helper function names
2022-11-27 12:21:32 +08:00
李通洲
c6a9217c74
Windows: silense compiler warnings
2022-11-25 23:13:57 +08:00
李通洲
629c2de253
util: add a helper function to convert wide strings (Windows)
2022-11-23 15:38:59 +08:00
李通洲
6a304dbb4d
OS: improve performance (Windows)
2022-11-22 19:40:57 +08:00
李通洲
fde9379bb2
Android: simplify code; fix mistakes in terminal font detection code
2022-11-17 20:19:27 +08:00
李通洲
0605cb754b
OS: fix Windows 7 detection
2022-11-12 21:33:31 +08:00
李通洲
38b3aae1e3
Windows: simplify WMI query code
...
by making C++ code more C++
2022-10-17 00:17:26 +08:00
李通洲
a090bed6c0
Logo: try printing logo on Windows Server
...
Completely untested
2022-10-15 23:46:00 +08:00
李通洲
1b7a2c2ed5
MSYS2: remove support
...
MSYS2 version was built for smooth transition from POSIX api to Win32 api. It has almost identical output as Windows native version, except requiring msys runtime dll and being a bit slower.
2022-10-14 18:33:11 +08:00
李通洲
779a33349a
OS: don't print msys2 logo for native Windows
2022-10-14 17:39:07 +08:00
李通洲
3cc6611614
Windows: support native Windows
2022-10-13 23:49:09 +08:00
李通洲
4bae08c159
OS: detect Windows Server
2022-10-12 01:12:58 +08:00
李通洲
553f90a7c4
Logo: add support for Windows
2022-10-09 21:07:34 +08:00
李通洲
661c174348
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 16:55:51 +08:00
Linus Dierheimer
1dd942a7b1
TARGET_DIR_ETC
2022-10-09 10:39:57 +02:00
李通洲
89850535ae
Windows: replace __CYGWIN__ with __MSYS__
2022-10-09 15:37:14 +08:00
李通洲
49921f5ed1
Disk: add support for Windows
...
Also major refactoring of util/windows/wmi
2022-10-09 15:37:14 +08:00
李通洲
ad03c42a28
OS: add support for Windows
2022-10-09 15:37:13 +08:00
Carter Li
145e09d164
OS: simplify macOS OS detection code; print BuildID on macOS ( to match neofetch )
2022-10-02 01:54:43 +08:00
李通洲
664017ba81
OS: print codename ( macOS )
2022-09-21 18:10:50 +08:00
Linus Dierheimer
2a61d29be9
sysctl utils
2022-09-19 21:31:50 +02:00
Linus Dierheimer
ea60fd0a0d
Separate cpu detection and printing logic
2022-09-04 22:20:12 +02:00
Linus Dierheimer
71779fa4b1
Basic MacOS support
2022-09-04 09:02:11 -07:00
Linus Dierheimer
9d106c6672
Enable build on MacOS
...
Note that this commit just makes fastfetch compile, not work properly
2022-09-04 14:30:52 +02:00
Linus Dierheimer
df0e13b198
Fix possible segfault
2022-09-04 13:56:14 +02:00
Linus Dierheimer
6d0675820e
Fix build on Android
2022-09-04 13:36:56 +02:00
Linus Dierheimer
08b0bac2b9
Refactor os detection code
2022-09-04 13:33:18 +02:00