From ea8f5e2ff3d809962b75b9075e6c09375f2151fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 13 Jan 2024 06:38:58 +0000 Subject: [PATCH 1/2] Update workflow version --- about-mac/README.md | 2 +- about-mac/src/info.plist | 2 +- about-mac/src/main.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/about-mac/README.md b/about-mac/README.md index f56cfeb0c0..334162ef92 100644 --- a/about-mac/README.md +++ b/about-mac/README.md @@ -7,7 +7,7 @@ Contains UserName、Model、HostName、Primary Ethernet Address、IPv4 Address -![](https://img.shields.io/badge/version-v1.15-green?style=for-the-badge) +![](https://img.shields.io/badge/version-v1.16-green?style=for-the-badge) [![](https://img.shields.io/badge/download-click-blue?style=for-the-badge)](https://github.com/alanhg/alfred-workflows/raw/master/about-mac/About%20Mac.alfredworkflow) [![](https://img.shields.io/badge/plist-link-important?style=for-the-badge)](https://raw.githubusercontent.com/alanhg/alfred-workflows/master/about-mac/src/info.plist) diff --git a/about-mac/src/info.plist b/about-mac/src/info.plist index c49b9be406..c28c4d7d71 100755 --- a/about-mac/src/info.plist +++ b/about-mac/src/info.plist @@ -143,7 +143,7 @@ Contains UserName、Model、HostName、Primary Ethernet Address、IPv4 Address variablesdontexport version - 1.15 + 1.16 webaddress https://github.com/alanhg/alfred-workflows/tree/master/about-mac diff --git a/about-mac/src/main.sh b/about-mac/src/main.sh index 90a37d3f07..71d06d8ef0 100755 --- a/about-mac/src/main.sh +++ b/about-mac/src/main.sh @@ -7,7 +7,7 @@ freeDiskPercent=$(echo "scale=1; ${arrIN[8]}*100 / ${arrIN[7]}" | bc) freeMemoryPercent=$(echo "scale=1; ${arrIN[10]}*100 / ${arrIN[6]}" | bc) displayResolution=$(system_profiler SPDisplaysDataType | awk '/Resolution/{print $2, $3, $4}'|tr '\n' ', '| sed 's/,$//') uptime=$(uptime) -systemUptime=$(uptime | awk -F' up |, [0-9]+ user' '{print $2}') +systemUptime=$(uptime | awk -F' up |, [0-9]+ user' '{print $2}' | xargs) cat << EOF From 8b3befe987806dd9def1ca5ed2d4c88ec91a3b66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 13 Jan 2024 06:39:27 +0000 Subject: [PATCH 2/2] Update readme --- README-zh.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-zh.md b/README-zh.md index 2b3d3d1b43..f2ef07605c 100644 --- a/README-zh.md +++ b/README-zh.md @@ -36,7 +36,7 @@ P.S.: 使用这些Workflow的前提是已购买[Powerpack](https://www.alfredapp ### 2. [About Mac](https://github.com/alanhg/alfred-workflows/tree/master/about-mac) > About This Mac -![](https://img.shields.io/badge/version-v1.15-green?style=for-the-badge) +![](https://img.shields.io/badge/version-v1.16-green?style=for-the-badge) [![](https://img.shields.io/badge/download-click-blue?style=for-the-badge)](https://github.com/alanhg/alfred-workflows/raw/master/about-mac/About%20Mac.alfredworkflow) [![](https://img.shields.io/badge/plist-link-important?style=for-the-badge)](https://raw.githubusercontent.com/alanhg/alfred-workflows/master/about-mac/src/info.plist) diff --git a/README.md b/README.md index f7b2b039da..22e8f7622b 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ P.S.: You need to buy the [Powerpack](https://www.alfredapp.com/powerpack/) to u ### 2. [About Mac](https://github.com/alanhg/alfred-workflows/tree/master/about-mac) > About This Mac -![](https://img.shields.io/badge/version-v1.15-green?style=for-the-badge) +![](https://img.shields.io/badge/version-v1.16-green?style=for-the-badge) [![](https://img.shields.io/badge/download-click-blue?style=for-the-badge)](https://github.com/alanhg/alfred-workflows/raw/master/about-mac/About%20Mac.alfredworkflow) [![](https://img.shields.io/badge/plist-link-important?style=for-the-badge)](https://raw.githubusercontent.com/alanhg/alfred-workflows/master/about-mac/src/info.plist)