Skip to content

Commit 8fdb877

Browse files
authored
Merge pull request #423 from LinusDierheimer/dev
Release 1.10.1
2 parents f6702d8 + 3a7d7d7 commit 8fdb877

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ jobs:
276276
run: ctest
277277

278278
- name: create zip archive
279-
run: zip fastfetch-$(./fastfetch --version-raw)-win32.zip *.dll fastfetch.exe flashfetch.exe
279+
run: zip fastfetch-$(./fastfetch --version-raw)-Win32.zip *.dll fastfetch.exe flashfetch.exe
280280

281281
- name: upload artifacts
282282
uses: actions/upload-artifact@v3
283283
with:
284-
name: fastfetch-win32
285-
path: ./fastfetch-*-win32.zip
284+
name: fastfetch-Win32
285+
path: ./fastfetch-*-Win32.zip
286286

287287
release:
288288
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'LinusDierheimer/fastfetch'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.10.1
2+
3+
New release for debugging #421
4+
15
# 1.10.0
26

37
Notable Changes:

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 1.10.0
4+
VERSION 1.10.1
55
LANGUAGES C
66
DESCRIPTION "Fast system information tool"
77
HOMEPAGE_URL "https://github.com/LinusDierheimer/fastfetch"
@@ -161,6 +161,8 @@ if(NOT TARGET_DIR_ETC)
161161
set(TARGET_DIR_ETC "${TARGET_DIR_ROOT}/etc")
162162
endif()
163163

164+
message(STATUS "Target dirs: ROOT=\"${TARGET_DIR_ROOT}\" USR=\"${TARGET_DIR_USR}\" HOME=\"${TARGET_DIR_HOME}\" ETC=\"${TARGET_DIR_ETC}\"")
165+
164166
#https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT.html
165167
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
166168
set(CMAKE_INSTALL_PREFIX "${TARGET_DIR_USR}" CACHE PATH "..." FORCE)

src/detection/battery/battery_android.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const char* ffDetectBatteryImpl(FF_MAYBE_UNUSED FFinstance* instance, FFlist* re
1818
}))
1919
return "Starting `" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` failed";
2020

21-
if(buffer.length == 0)
22-
return "`" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` prints empty";
21+
if(buffer.chars[0] != '{')
22+
return "`" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` prints invalid result (not a JSON object)";
2323

2424
BatteryResult* battery = ffListAdd(results);
2525
battery->temperature = FF_BATTERY_TEMP_UNSET;

src/detection/wifi/wifi_android.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ const char* ffDetectWifi(FF_MAYBE_UNUSED const FFinstance* instance, FFlist* res
1313

1414
if(ffProcessAppendStdOut(&buffer, (char* const[]){
1515
FF_TERMUX_API_PATH,
16-
"WifiConnectionInfo"
16+
FF_TERMUX_API_PARAM
1717
}))
1818
return "Starting `" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` failed";
1919

20-
if(buffer.length == 0)
21-
return "`" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` prints empty";
20+
if(buffer.chars[0] != '{')
21+
return "`" FF_TERMUX_API_PATH " " FF_TERMUX_API_PARAM "` prints invalid result (not a JSON object)";
2222

2323
FFWifiResult* item = (FFWifiResult*)ffListAdd(result);
2424
ffStrbufInit(&item->inf.description);

0 commit comments

Comments
 (0)