Skip to content

Commit

Permalink
Merge pull request #183 from wslutilities/lts/master
Browse files Browse the repository at this point in the history
[Release] wslu 3.2.3 LTS
  • Loading branch information
patrick330602 authored May 10, 2021
2 parents 70ba606 + b92b265 commit 173da54
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2-1
3.2.3-1
2 changes: 1 addition & 1 deletion extras/build/alpine/APKBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Patrick Wu <[email protected]>
# Contributor: Patrick Wu <[email protected]>
pkgname=wslu
pkgver=3.2.1
pkgver=3.2.3
pkgrel=0
pkgdesc="A collection of utilities for Windows 10 Linux Subsystems"
url="https://github.com/wslutilities/wslu"
Expand Down
2 changes: 1 addition & 1 deletion extras/build/arch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Patrick Wu <[email protected]>

pkgname=wslu
pkgver=3.2.1
pkgver=3.2.3
pkgrel=0
pkgdesc="A collection of utilities for Windows 10 Linux Subsystems"
arch=('any')
Expand Down
2 changes: 1 addition & 1 deletion src/wslsys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function call_display_scaling() {
}

function call_windows_uptime() {
win_uptime=$(winps_exec "((get-date) - (gcim Win32_OperatingSystem).LastBootUpTime).TotalSeconds" | sed -e 's|\r||g')
win_uptime=$(winps_exec "[int64]((get-date) - (gcim Win32_OperatingSystem).LastBootUpTime).TotalSeconds" | sed -e 's|\r||g')
win_uptime=${win_uptime//.*}
w_days=$((win_uptime/86400))
w_hours=$((win_uptime/3600%24))
Expand Down
2 changes: 1 addition & 1 deletion src/wslu-header
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ elif [ $(cat ~/.config/wslu/triggered_time) -lt $(cat /usr/share/wslu/updated_ti
fi

# basic distro detection
distro="$(head -n1 /etc/os-release | sed -e 's/NAME=\"//g')"
distro="$(cat /etc/os-release | sed -n -e '/^NAME=.*/p'| sed -e 's/^NAME=\"//g')"
case $distro in
*Pengwin*) distro="pengwin";;
*WLinux*) distro="wlinux";;
Expand Down

0 comments on commit 173da54

Please sign in to comment.