Commit graph

251 commits

Author SHA1 Message Date
TheDarkBug
d94c325e7f Fixed cache (#175) 2021-12-26 19:09:15 +01:00
TheDarkBug
3eb849ae22 Fixed #175 2021-12-26 19:03:15 +01:00
PoorPockets McNewHold
62568c0c36 Added comment and instruction on how to bypass the Model OEM line display, to fix the missing OEM error. 2021-12-26 15:32:21 +01:00
TheDarkBug
2e1b16c64c Added an algorithm to choose the right model name 2021-12-23 17:21:27 +01:00
TheDarkBug
13a51a1588 Fixed android cpu name 2021-12-23 17:04:32 +01:00
TheDarkBug
a79e426218 Fixed windows compatibility 2021-12-23 16:46:58 +01:00
TheDarkBug
475ff4a8d6 Fixed get_info calls for windows and other systems 2021-12-23 16:27:43 +01:00
TheDarkBug
94c6be83b5 Added comments to get_info 2021-12-23 16:23:25 +01:00
TheDarkBug
dc96136234 Added comments to all the code, except for get_info 2021-12-23 14:52:55 +01:00
TheDarkBug
a1a63a130a Moved main() to the bottom of the file. Added lots of comments 2021-12-23 13:27:30 +01:00
TheDarkBug
03c51b5016 Replaced HOWOST name with MOWODEL 2021-12-18 23:24:58 +01:00
dqnk
9225aec8fa fixed issue with host model version being printed instead of the model name 2021-12-18 21:38:58 +01:00
hellisabove
fba59717a9
Added additional brew support for linux
Added additional brew support for linux as brew can be installed on linux as well
2021-12-11 13:36:25 +02:00
TheDarkBug
794ea4f735 Fix for iphone and m1 mac builds (#172) 2021-12-06 15:25:25 +01:00
TheDarkBug
824ba3f42f Second fix try for #171 2021-12-06 11:52:08 +01:00
TheDarkBug
258357ac51 Fix try for #171, changed some clang-format settings 2021-12-05 13:34:56 +01:00
TheDarkBug
9511512727 Added .clang-format for a more consistent code style 2021-11-28 15:57:20 +01:00
TheDarkBug
5be84cd1b6 Fixed #166 and #167 2021-11-28 14:02:51 +01:00
TheDarkBug
445e8e260e Moved all info and config flags for better readability and optimization 2021-11-26 18:03:14 +01:00
sech1p
33a3e2f268
Add iOS support (partially) 2021-11-06 00:44:08 +01:00
sech1p
e5094a7258
Fix host under macOS
>w<
2021-11-04 15:33:04 +01:00
4zv4l
c02b53bc8a changed the comments to fit 2021-11-03 15:37:40 +01:00
4zv4l
cda6cfcae4 adding a way to get the hostname for linux 2021-11-03 15:34:41 +01:00
4zv4l
46661f64e7 check open file before close() 2021-11-03 13:28:27 +01:00
TheDarkBug
e0d7d7ede1 Fixed windows logo on other platforms 2021-11-01 19:44:02 +01:00
TheDarkBug
b1f96e1f3d Fixed the last bugs on windows (I hope) 2021-11-01 17:12:19 +01:00
TheDarkBug
7704448357 Fixed linux problems 2021-11-01 16:55:33 +01:00
TheDarkBug
83e4aef163 Windows build is fully working 2021-11-01 16:48:54 +01:00
TheDarkBug
18031c696e
Revert "Revert "feat: responsively print width"" 2021-11-01 15:15:05 +01:00
TheDarkBug
eb06f27ff2
Revert "feat: responsively print width" 2021-11-01 15:03:45 +01:00
asas1asas200
273592479c feat: responsively print width
Limited maximum print width with current terminal width.
2021-10-31 01:37:14 +08:00
TheDarkBug
f8021dc155 Updated dependancies, fix #153 2021-10-30 18:32:51 +02:00
TheDarkBug
d887b4742d Fixed #154 2021-10-30 13:57:46 +02:00
Louis Bettens
de56164914 Fix #149 2021-10-18 14:17:38 +02:00
TheDarkBug
08e16edcaa Fix for #147 2021-10-14 22:48:08 +02:00
TheDarkBug
debc5a7c05
Fixed reading "TRUE" or "true" in cache env variable 2021-10-14 22:39:29 +02:00
elegantShock2258
8147b0a528
L:222 reduced home_dir's scope.
L:318 changed to appropiate format specifier
L:500 changed line's location.
2021-10-14 16:53:54 +05:30
elegantShock2258
aa4a14998f
FIXWARN : Provided limits to sscanf(), reduced scope of cache_enabled. 2021-10-14 16:28:59 +05:30
elegantShock2258
15850a51fe
Fixed some indentation 2021-10-13 12:37:45 +05:30
elegantShock2258
16aaf68b1f
FIX: L:222: config may not be initialised. L:585 closed host_model_info so there is no possible resource leak. 2021-10-13 12:34:03 +05:30
TheDarkBug
6c06247953 Read config file before printing the cache 2021-10-12 13:32:50 +02:00
TheDarkBug
943fa58204 Fixed #145 2021-10-12 13:26:18 +02:00
Joshix
2f450de6b1 write to cache if cache is enabled, but not found 2021-10-11 00:15:46 +02:00
TheDarkBug
f705a6ae75 Removed ram and uptime from caching (fix #141) 2021-10-09 00:19:16 +02:00
TheDarkBug
c1ed607909 Added a cache system for slower machines (fix #118, fix #140)
This commit adds the option to read a pregenerated cache, to improve  speed on low spec systems.  The cache system is not fully working (apple users do not get pkg info  and upti    me is not updated) and to use it the `$UWUFETCH_CACHE_ENABLED`  must be set to `TRUE`, `true` or just `1`
2021-10-08 23:11:27 +02:00
TheDarkBug
1be566c8cc Another fix for replacement (#139) 2021-10-04 14:14:58 +02:00
TheDarkBug
92451277ce Forgot a little thing on latest commit... 2021-10-03 23:57:57 +02:00
TheDarkBug
87c0cbe954 Fixed recursion segfault 2021-10-03 23:54:59 +02:00
TheDarkBug
d6d9962b93 CPU string fix try + some formatting 2021-10-03 23:48:10 +02:00
Joshix
07b2c4a4d8 use while loop instead of recursion for replace functions 2021-10-03 21:33:53 +02:00