From 2febbae083e6ea1a1c28d4670d7c329fae0bbb09 Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Sun, 10 Mar 2024 22:34:37 +0800 Subject: [PATCH 1/5] ci: fixes for documentation deployment --- .github/workflows/docs.yml | 4 ++-- .github/workflows/manpage.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 127faed2..32ca833f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,11 +11,11 @@ jobs: - uses: actions/checkout@v2 - name: deploy manpages to website env: - GH_TOKEN: ${{ secrets.GIT_DEPLOY_KEY }} + GH_TOKEN: ${{ secrets.GITLAB_DEPLOY_KEY }} run: | git config --global user.email "me@patrickwu.space" git config --global user.name "Jinming Wu, Patrick" - git clone --depth 1 https://patrick330602:$GH_TOKEN@github.com/wslutilities/wslutilities.github.io.git website + git clone --depth 1 https://patrick:$GH_TOKEN@git.wedotstud.io/wslu/documentation website cp -f ./CODE_OF_CONDUCT.md ./website/coc.md cp -f ./CONTRIBUTING.md ./website/contributing.md git --git-dir=./website/.git --work-tree=./website add -A diff --git a/.github/workflows/manpage.yml b/.github/workflows/manpage.yml index a0bafdb6..5d9cc011 100644 --- a/.github/workflows/manpage.yml +++ b/.github/workflows/manpage.yml @@ -17,11 +17,11 @@ jobs: run: bash -c "for x in docs/*; do groff \$x -mandoc -Thtml > \${x%.*}.html; done" - name: deploy manpages to website env: - GH_TOKEN: ${{ secrets.GIT_DEPLOY_KEY }} + GH_TOKEN: ${{ secrets.GITLAB_DEPLOY_KEY }} run: | git config --global user.email "me@patrickwu.space" git config --global user.name "Jinming Wu, Patrick" - git clone --depth 1 https://patrick330602:$GH_TOKEN@github.com/wslutilities/wslutilities.github.io.git website + git clone --depth 1 https://patrick:$GH_TOKEN@git.wedotstud.io/wslu/website website bash -x extras/scripts/manpage_deploy.bash git --git-dir=./website/.git --work-tree=./website add -A git --git-dir=./website/.git --work-tree=./website commit -m "Manpage update" From 399dfe46fbbad55b159c9916d3e9cb16b701aaf8 Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Mon, 11 Mar 2024 23:54:46 +0800 Subject: [PATCH 2/5] fix: [#305] fix problematic name --- README.md | 2 +- docs/wslu.7 | 4 ++-- extras/build/alpine/APKBUILD | 2 +- extras/build/arch/PKGBUILD | 2 +- extras/build/rpm/copr/wslu.spec | 2 +- extras/build/rpm/obs/wslu.spec | 2 +- src/wslu-header | 2 +- tests/wslact.bats | 28 ++++++++++++++-------------- tests/wslfetch.bats | 4 ++-- tests/wslgsu.bats | 4 ++-- tests/wslsys.bats | 4 ++-- tests/wslupath.bats | 4 ++-- tests/wslusc.bats | 4 ++-- tests/wslvar.bats | 4 ++-- tests/wslview.bats | 4 ++-- 15 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 016a90c3..ca71523d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ > > If you have problems, please check whther you are using the [PPA version of wslu](https://launchpad.net/~wslutilities/+archive/ubuntu/wslu). If not, please report to the Ubuntu WSL team; However, the PPA version of wslu will address most issue that come from the built-in version. -This is a collection of utilities for the Linux Subsystem for Windows (WSL), such as converting Linux paths to Windows paths or creating Linux application shortcuts on the Windows Desktop. +This is a collection of utilities for the Windows Subsystem for Linux (WSL), such as converting Linux paths to Windows paths or creating Linux application shortcuts on the Windows Desktop. - Requires at least Windows 10 Creators Update; - Some of the features require a higher version of Windows; diff --git a/docs/wslu.7 b/docs/wslu.7 index 546aec55..4dbdb2c4 100644 --- a/docs/wslu.7 +++ b/docs/wslu.7 @@ -1,9 +1,9 @@ .TH "WSLU" "7" "DATEPLACEHOLDER" "VERSIONPLACEHOLDER" "WSL Utilities User Manual" .SH NAME .B wslu -A collection of utilities for the Linux Subsystem for Windows +A collection of utilities for the Windows Subsystem for Linux .SH DESCRIPTION -This is a collection of utilities for the Linux Subsystem for Windows (WSL), such as converting Linux paths to Windows paths or creating Linux application shortcuts on the Windows Desktop. +This is a collection of utilities for the Windows Subsystem for Linux (WSL), such as converting Linux paths to Windows paths or creating Linux application shortcuts on the Windows Desktop. .PP Requires Windows 10 Creators Update and higher. .SH AVAILABLE COMMANDS diff --git a/extras/build/alpine/APKBUILD b/extras/build/alpine/APKBUILD index a9b84cf8..05e01141 100644 --- a/extras/build/alpine/APKBUILD +++ b/extras/build/alpine/APKBUILD @@ -3,7 +3,7 @@ pkgname=wslu pkgver=4.1.0 pkgrel=0 -pkgdesc="A collection of utilities for the Linux Subsystem for Windows" +pkgdesc="A collection of utilities for the Windows Subsystem for Linux" url="https://github.com/wslutilities/wslu" arch="noarch" license="GPL-3.0-or-later" diff --git a/extras/build/arch/PKGBUILD b/extras/build/arch/PKGBUILD index 447e1025..3d87693f 100644 --- a/extras/build/arch/PKGBUILD +++ b/extras/build/arch/PKGBUILD @@ -3,7 +3,7 @@ pkgname=wslu pkgver=4.1.0 pkgrel=0 -pkgdesc="A collection of utilities for the Linux Subsystem for Windows" +pkgdesc="A collection of utilities for the Windows Subsystem for Linux" arch=('any') url='https://github.com/wslutilities/wslu' license=('GPL-3.0-or-later') diff --git a/extras/build/rpm/copr/wslu.spec b/extras/build/rpm/copr/wslu.spec index 66f8c5c1..8c928f61 100644 --- a/extras/build/rpm/copr/wslu.spec +++ b/extras/build/rpm/copr/wslu.spec @@ -1,5 +1,5 @@ %define packager Jinming Wu, Patrick -Summary: A collection of utilities for the Linux Subsystem for Windows +Summary: A collection of utilities for the Windows Subsystem for Linux Name: wslu Version: BUILDVERPLACEHOLDER Release: RELVERPLACEHOLDER diff --git a/extras/build/rpm/obs/wslu.spec b/extras/build/rpm/obs/wslu.spec index 53ecc681..a987b9dd 100644 --- a/extras/build/rpm/obs/wslu.spec +++ b/extras/build/rpm/obs/wslu.spec @@ -1,5 +1,5 @@ %define packager Jinming Wu, Patrick -Summary: A collection of utilities for the Linux Subsystem for Windows +Summary: A collection of utilities for the Windows Subsystem for Linux Name: wslu Version: BUILDVERPLACEHOLDER Release: RELVERPLACEHOLDER diff --git a/src/wslu-header b/src/wslu-header index 27ec8e18..b0daef0a 100644 --- a/src/wslu-header +++ b/src/wslu-header @@ -192,7 +192,7 @@ fi function help { app_name=$wslu_util_name - echo -e "$app_name - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL) + echo -e "$app_name - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL) Usage: $2 For more help for $app_name, please use the command \`man $app_name\` or visit the following site: https://wslutiliti.es/wslu/man/$app_name.html. diff --git a/tests/wslact.bats b/tests/wslact.bats index b880224d..a90d4d39 100644 --- a/tests/wslact.bats +++ b/tests/wslact.bats @@ -3,84 +3,84 @@ #wslact testing @test "wslact - Help" { run out/wslact --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact COMMAND ..." ] } @test "wslact - Help - Alt." { run out/wslact -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact COMMAND ..." ] } @test "wslact - Time Sync - Help" { run out/wslact time-sync --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact time-reset [-h]" ] } @test "wslact - Time Sync - Help - Alt." { run out/wslact time-sync -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact time-reset [-h]" ] } @test "wslact - Time Sync - short form - Help" { run out/wslact ts --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact time-reset [-h]" ] } @test "wslact - Time Sync - short form - Help - Alt." { run out/wslact ts -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact time-reset [-h]" ] } @test "wslact - Smart Mounting - Help" { run out/wslact auto-mount --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact auto-mount [-mh]" ] } @test "wslact - Smart Mounting - Help - Alt." { run out/wslact auto-mount -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact auto-mount [-mh]" ] } @test "wslact - Smart Mounting - short form - Help" { run out/wslact am --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact auto-mount [-mh]" ] } @test "wslact - Smart Mounting - short form - Help - Alt." { run out/wslact am -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact auto-mount [-mh]" ] } @test "wslact - Memory Reclamation - Help" { run out/wslact memory-reclaim --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact memory-reclaim [-h]" ] } @test "wslact - Memory Reclamation - Help - Alt." { run out/wslact memory-reclaim -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact memory-reclaim [-h]" ] } @test "wslact - Memory Reclamation - short form - Help" { run out/wslact mr --help - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact memory-reclaim [-h]" ] } @test "wslact - Memory Reclamation - short form - Help - Alt." { run out/wslact mr -h - [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslact - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslact memory-reclaim [-h]" ] } diff --git a/tests/wslfetch.bats b/tests/wslfetch.bats index 965da741..7d9ef491 100644 --- a/tests/wslfetch.bats +++ b/tests/wslfetch.bats @@ -8,12 +8,12 @@ @test "wslfetch - Help" { run out/wslfetch --help - [ "${lines[0]}" = "wslfetch - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslfetch - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslfetch [-hvcg] [-t THEME] [-o OPTIONS]" ] } @test "wslfetch - Help - Alt." { run out/wslfetch -h - [ "${lines[0]}" = "wslfetch - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslfetch - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslfetch [-hvcg] [-t THEME] [-o OPTIONS]" ] } diff --git a/tests/wslgsu.bats b/tests/wslgsu.bats index 2134a333..66b55f62 100644 --- a/tests/wslgsu.bats +++ b/tests/wslgsu.bats @@ -3,14 +3,14 @@ #wslgsu testing @test "wslgsu - Help" { run out/wslgsu --help - [ "${lines[0]}" = "wslgsu - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslgsu - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslgsu [-u USERNAME] [-n NAME] [-S] SERVICE/COMMAND" ] [ "${lines[2]}" = "wslgsu [-hvw]" ] } @test "wslgsu - Help - Alt." { run out/wslgsu -h - [ "${lines[0]}" = "wslgsu - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslgsu - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslgsu [-u USERNAME] [-n NAME] [-S] SERVICE/COMMAND" ] [ "${lines[2]}" = "wslgsu [-hvw]" ] } \ No newline at end of file diff --git a/tests/wslsys.bats b/tests/wslsys.bats index 1d5e6704..3843d4df 100644 --- a/tests/wslsys.bats +++ b/tests/wslsys.bats @@ -9,14 +9,14 @@ @test "wslsys - Help" { run out/wslsys --help - [ "${lines[0]}" = "wslsys - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslsys - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [[ "${lines[1]}" =~ ^Usage\:\ .*wslsys\ \[\-VIbBFUWRKPSltTd\]\ \[\-s\]$ ]] [[ "${lines[2]}" =~ ^.*wslsys\ \[\-hv\]\ \[\-n\ NAME\]$ ]] } @test "wslsys - Help - Alt." { run out/wslsys -h - [ "${lines[0]}" = "wslsys - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslsys - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [[ "${lines[1]}" =~ ^Usage\:\ .*wslsys\ \[\-VIbBFUWRKPSltTd\]\ \[\-s\]$ ]] [[ "${lines[2]}" =~ ^.*wslsys\ \[\-hv\]\ \[\-n\ NAME\]$ ]] } diff --git a/tests/wslupath.bats b/tests/wslupath.bats index ee57f52f..da00d982 100644 --- a/tests/wslupath.bats +++ b/tests/wslupath.bats @@ -10,14 +10,14 @@ @test "wslupath - Help" { run out/wslupath --help - [ "${lines[0]}" = "wslupath - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslupath - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslupath [-dOr] [-D|-A|-T|-S|-W|-s|-su|-H|-P|...NAME...]" ] [ "${lines[2]}" = "wslupath [-h|-v|-R]" ] } @test "wslupath - Help - Alt." { run out/wslupath -h - [ "${lines[0]}" = "wslupath - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslupath - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslupath [-dOr] [-D|-A|-T|-S|-W|-s|-su|-H|-P|...NAME...]" ] [ "${lines[2]}" = "wslupath [-h|-v|-R]" ] } diff --git a/tests/wslusc.bats b/tests/wslusc.bats index 97f3ec91..dcbfba3c 100644 --- a/tests/wslusc.bats +++ b/tests/wslusc.bats @@ -16,14 +16,14 @@ teardown() { @test "wslusc - Help" { run out/wslusc --help - [ "${lines[0]}" = "wslusc - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslusc - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslusc [-IsgN] [-d SHORTCUT_FILE] [-e PATH] [-n NAME] [-i FILE] COMMAND" ] [ "${lines[2]}" = "wslusc [-hv]" ] } @test "wslusc - Help - Alt." { run out/wslusc -h - [ "${lines[0]}" = "wslusc - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslusc - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslusc [-IsgN] [-d SHORTCUT_FILE] [-e PATH] [-n NAME] [-i FILE] COMMAND" ] [ "${lines[2]}" = "wslusc [-hv]" ] } diff --git a/tests/wslvar.bats b/tests/wslvar.bats index e74fe9b7..9d60797a 100644 --- a/tests/wslvar.bats +++ b/tests/wslvar.bats @@ -8,14 +8,14 @@ @test "wslvar - Help" { run out/wslvar --help - [ "${lines[0]}" = "wslvar - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslvar - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslvar [-sl] NAME" ] [ "${lines[2]}" = "wslvar [-hvSL]" ] } @test "wslvar - Help - Alt." { run out/wslvar -h - [ "${lines[0]}" = "wslvar - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslvar - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [ "${lines[1]}" = "Usage: wslvar [-sl] NAME" ] [ "${lines[2]}" = "wslvar [-hvSL]" ] } diff --git a/tests/wslview.bats b/tests/wslview.bats index cad22dff..d73e74c7 100644 --- a/tests/wslview.bats +++ b/tests/wslview.bats @@ -14,14 +14,14 @@ setup() { @test "wslview - Help" { run out/wslview --help - [ "${lines[0]}" = "wslview - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslview - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [[ "${lines[1]}" =~ ^Usage\:\ .*wslview\ \[\-ehsvurE\]$ ]] [[ "${lines[2]}" =~ ^.*wslview\ \[\-E\ ENGINE\]\ LINK/FILE$ ]] } @test "wslview - Help - Alt." { run out/wslview -h - [ "${lines[0]}" = "wslview - Part of wslu, a collection of utilities for Linux Subsystem for Windows (WSL)" ] + [ "${lines[0]}" = "wslview - Part of wslu, a collection of utilities for Windows Subsystem for Linux (WSL)" ] [[ "${lines[1]}" =~ ^Usage\:\ .*wslview\ \[\-ehsvurE\]$ ]] [[ "${lines[2]}" =~ ^.*wslview\ \[\-E\ ENGINE\]\ LINK/FILE$ ]] } From 4ead018d9373a3a1cb92df3b75f5825af8a3a421 Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Wed, 10 Apr 2024 23:38:34 +0800 Subject: [PATCH 3/5] fix(header): [#307] rewrite bash checking method and reduce required bash version --- src/wslu-header | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/wslu-header b/src/wslu-header index b0daef0a..1efa0e52 100644 --- a/src/wslu-header +++ b/src/wslu-header @@ -40,7 +40,9 @@ fi # prevent bash -x set +x -bash_version_major=$(echo "$BASH_VERSION" | cut -d'.' -f1) +bash_version_full=$(bash --version | head -n 1) +bash_version_major=$(echo "$bash_version_full" | cut -d ' ' -f 4 | cut -d '.' -f 1) +bash_version_minor=$(echo "$bash_version_full" | cut -d ' ' -f 4 | cut -d '.' -f 2) # pipeline content to pipe... if it is wslclip if [[ "$wslu_util_name" == "wslclip" ]]; then @@ -152,11 +154,12 @@ function error_echo { exit "$2" } -# Check if the major version number is greater than 5 -if [ "$(expr "$bash_version_major" \>= 5)" -ne 1 ]; then - error_echo "You should use Bash 5 and higher; exiting." 1 +# Check if the version number of bash is greater or equal to 4.4 +if [ "$bash_version_major" -lt 4 ] || { [ "$bash_version_major" -eq 4 ] && [ "$bash_version_minor" -lt 4 ]; }; then + error_echo "Bash version is too old. Please upgrade to 4.4 or later." 1 fi + # source default config if [ -f "${wslu_dest_dir}${wslu_prefix}/share/wslu/conf" ]; then debug_echo "source default setting" From a75dd3d2d8b18920828270ce77ae022fdc4f0623 Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Wed, 10 Apr 2024 23:43:31 +0800 Subject: [PATCH 4/5] chore: vscode def small cleanup --- .vscode/extensions.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index acbb6e9c..e4bdf30a 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,9 +1,5 @@ { "recommendations": [ "shakram02.bash-beautify", "jetmartin.bats", "timonwong.shellcheck" - ], - // List of extensions recommended by VS Code that should not be recommended for users of this workspace. - "unwantedRecommendations": [ - ] } \ No newline at end of file From 3955de52b19aa14a6f225ee90ae8f9d74c7e0b1c Mon Sep 17 00:00:00 2001 From: "Jinming Wu, Patrick" Date: Wed, 10 Apr 2024 23:50:31 +0800 Subject: [PATCH 5/5] chore: update version to 4.1.3 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 658e3ea6..2325db43 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.1.2-1 +4.1.3-1