Package Details: windterm-bin 2.7.0-5

Git Clone URL: https://aur.archlinux.org/windterm-bin.git (read-only, click to copy)
Package Base: windterm-bin
Description: A Quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps.(Prebuilt version)
Upstream URL: https://kingtoolbox.github.io/
Keywords: SSH terminal WindTerm
Licenses: Apache-2.0
Conflicts: windterm
Provides: windterm
Submitter: sakura1943
Maintainer: sakura1943 (zxp19821005)
Last Packager: zxp19821005
Votes: 11
Popularity: 0.38
First Submitted: 2022-01-01 06:07 (UTC)
Last Updated: 2026-01-29 07:19 (UTC)

Latest Comments

1 2 3 4 Next › Last »

zxp19821005 commented on 2026-01-29 07:20 (UTC)

@pussyhut Sorry, I forgot to update the sh file, fixed it.

pussyhut commented on 2026-01-29 02:55 (UTC) (edited on 2026-01-29 03:24 (UTC) by pussyhut)

@zxp19821005 Thinks for following up.

But no, 2.7.0-3 does not to have updated the .sh file, its broken now.

Just use this patch to fix all problems:

diff --git a/.SRCINFO b/.SRCINFO
index f277af9..abec41f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = windterm-bin
    pkgdesc = A Quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps.(Prebuilt version)
    pkgver = 2.7.0
-   pkgrel = 4
+   pkgrel = 5
    url = https://kingtoolbox.github.io/
    arch = x86_64
    license = Apache-2.0
@@ -16,8 +16,10 @@ pkgbase = windterm-bin
    conflicts = windterm
    options = !strip
    source = windterm-bin-2.7.0.zip::https://github.com/kingToolbox/WindTerm/releases/download/2.7.0/WindTerm_2.7.0_Linux_Portable_x86_64.zip
-   source = windterm.sh
+   source = kick.sh
+   source = tmpfiles.d
    sha256sums = 7797697eeb60239020512e2b549695a60c39b3fd01fe7ebb047fd50a2889103c
-   sha256sums = 8b39b265302a2c2657fc62a5f7e7aebbfdf51d9a7fc920290f55180e329fdf22
+   sha256sums = 0db90ad5817913f65974f446212e9cac99955770e585af10ea46dcf073d93182
+   sha256sums = 41eb507b602ee0a3db9f92bfe0214acaa6c3a8b01d7ebffedcc01da9058158cf

 pkgname = windterm-bin
diff --git a/PKGBUILD b/PKGBUILD
index f2b3173..f11099a 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=windterm-bin
 _pkgname=WindTerm
 pkgver=2.7.0
-pkgrel=4
+pkgrel=5
 pkgdesc="A Quicker and better SSH/Telnet/Serial/Shell/Sftp client for DevOps.(Prebuilt version)"
 arch=('x86_64')
 license=('Apache-2.0')
@@ -25,19 +25,25 @@ options=(
 )
 source=(
     "${pkgname}-${pkgver}.zip::${_ghurl}/releases/download/${pkgver}/${_pkgname}_${pkgver}_Linux_Portable_${CARCH}.zip"
-    "${pkgname%-bin}.sh"
+    "kick.sh"
+    "tmpfiles.d"
 )
 sha256sums=('7797697eeb60239020512e2b549695a60c39b3fd01fe7ebb047fd50a2889103c'
-            '8b39b265302a2c2657fc62a5f7e7aebbfdf51d9a7fc920290f55180e329fdf22')
+            '0db90ad5817913f65974f446212e9cac99955770e585af10ea46dcf073d93182'
+            '41eb507b602ee0a3db9f92bfe0214acaa6c3a8b01d7ebffedcc01da9058158cf')
 prepare() {
     sed -i -e "
         s/@appname@/${pkgname%-bin}/g
         s/@runname@/${_pkgname}/g
-    " "${srcdir}/${pkgname%-bin}.sh"
+    " \
+        "${srcdir}/kick.sh" \
+        "${srcdir}/tmpfiles.d"
+
     sed -i -e "
         s/\/usr\/bin\/${pkgname%-bin}/${pkgname%-bin} %U/g
         s/StartupWMClass=Code/StartupWMClass=${_pkgname}/g
     " "${srcdir}/${_pkgname}_${pkgver}/${pkgname%-bin}.desktop"
+
     find "${srcdir}/${_pkgname}_${pkgver}/terminal" -type d \( -name macos -o -name windows -o -name cmd -o -name powershell -o -name wsl \) -exec rm -rf {} +
     find "${srcdir}/${_pkgname}_${pkgver}/" -type d -exec chmod 755 {} \;
     find "${srcdir}/${_pkgname}_${pkgver}/global" -type f -exec chmod 644 {} \;
@@ -49,15 +55,17 @@ prepare() {
     find "${srcdir}/${_pkgname}_${pkgver}/terminal/schemes" -type f -exec chmod 644 {} \;
     find "${srcdir}/${_pkgname}_${pkgver}/terminal/terms" -type f -exec chmod 644 {} \;
     find "${srcdir}/${_pkgname}_${pkgver}/vendors" -type f -exec chmod 755 {} \;
+
     chmod 644 "${srcdir}/${_pkgname}_${pkgver}/"{license.txt,qt.conf,"${pkgname%-bin}".desktop,"${pkgname%-bin}.png"}
     chmod 755 "${srcdir}/${_pkgname}_${pkgver}/${_pkgname}"
 }
 package() {
-    install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
     install -Dm755 -d "${pkgdir}/usr/lib/${pkgname%-bin}"
-    ln -nsf "/tmp/${pkgname%-bin}" "${pkgdir}/usr/lib/${pkgname%-bin}/temp"
     cp -Pr --no-preserve=ownership "${srcdir}/${_pkgname}_${pkgver}/"* "${pkgdir}/usr/lib/${pkgname%-bin}"
+    install -Dm644 "${srcdir}/tmpfiles.d" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname%-bin}.conf"
+    ln -nsf "/run/${pkgname%-bin}" "${pkgdir}/usr/lib/${pkgname%-bin}/temp"
+    install -Dm755 "${srcdir}/kick.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
     install -Dm644 "${srcdir}/${_pkgname}_${pkgver}/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
     install -Dm644 "${srcdir}/${_pkgname}_${pkgver}/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
     install -Dm666 /dev/null "${pkgdir}/usr/lib/${pkgname%-bin}/profiles.config"
-}
\ No newline at end of file
+}
diff --git a/windterm.sh b/kick.sh
similarity index 91%
rename from windterm.sh
rename to kick.sh
index e06017e..6f682b6 100644
--- a/windterm.sh
+++ b/kick.sh
@@ -8,4 +8,4 @@ export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}"
 export QT_PLUGIN_PATH="${_APPDIR}/lib:${QT_PLUGIN_PATH}"
 export RUNLEVEL=3
 cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; }
-exec "${_RUNNAME}" "$@" || exit $?
\ No newline at end of file
+exec "${_RUNNAME}" "$@" || exit $?
diff --git a/tmpfiles.d b/tmpfiles.d
new file mode 100644
index 0000000..f5e0c32
--- /dev/null
+++ b/tmpfiles.d
@@ -0,0 +1,2 @@
+# Create directory for @runname@ temp files.
+d /run/@appname@ 1777 root root - -

zxp19821005 commented on 2026-01-29 02:00 (UTC)

@pussyhut Thanks for your feedback , but I'd added it to the windterm.sh now.Can you try again?

pussyhut commented on 2026-01-28 05:56 (UTC) (edited on 2026-01-28 06:10 (UTC) by pussyhut)

@zxp19821005 windterm does not automatically create missing directories. So

ln -nsf “/tmp/${pkgname%-bin}” “${pkgdir}/usr/lib/${pkgname%-bin}/temp”

will cause error.

If prefer not to point directly to /tmp, a more elegant solution is to add /usr/lib/tmpfiles.d/windterm.conf:

# Create directory for WindTerm temp files.
d /run/windterm 1777 root root - -

then symbolic link /usr/lib/windterm/temp to /run/windterm.

Need to add systemd to depends.

ref: 1. https://man.archlinux.org/man/tmpfiles.d.5 2. https://wiki.archlinux.org/title/Systemd#systemd-tmpfiles_-_temporary_files

zxp19821005 commented on 2026-01-28 03:35 (UTC)

@pussyhut Thanks for your feedback, fixed it.

pussyhut commented on 2026-01-27 23:00 (UTC) (edited on 2026-01-27 23:23 (UTC) by pussyhut)

  1. openssl-1.1 are deprecated & moved to aur now, plase use openssl instead, or consider including libssl.so.1.1 asset from the zip file.

  2. /usr/lib/windterm/temp is not writable for normal users. Please install as symbolic link pointing to /tmp to fix the permission issue, it can also discards temp files automatically

zxp19821005 commented on 2025-08-04 03:28 (UTC)

@wyf9661 感谢反馈,已修复。

wyf9661 commented on 2025-08-02 06:41 (UTC)

vscode图标冲突的原因我找到了 windterm.desktop里有这样依据描述

StartupWMClass=Code

会和vscode冲突,建议屏蔽此行或者删除

cat /usr/share/applications/windterm.desktop  
[Desktop Entry]
Name=WindTerm
Comment=A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal
GenericName=Connect Client
Exec=windterm %U
Type=Application
Icon=windterm
StartupNotify=false
#StartupWMClass=Code
Categories=Application;Development
Actions=new-empty-window
Keywords=windterm

[Desktop Action new-empty-window]
Name=New Empty Window
Icon=windterm
Exec=windterm %U

zxp19821005 commented on 2025-04-09 02:30 (UTC)

@yifwon When I change the openssl-1.1 to openssl, then build and use namcap to check it, I've got this:

windterm-bin E: Dependency openssl-1.1 detected and not included (libraries ['usr/lib/libcrypto.so.1.1'] needed in files ['usr/lib/windterm/lib/libssh.so.4', 'usr/lib/windterm/lib/libssl.so.1.1'])
windterm-bin W: Dependency included, but may not be needed ('openssl')

The second problem, sorry, I don't know how to solve it.

wyf9661 commented on 2025-04-08 05:38 (UTC) (edited on 2025-04-08 05:43 (UTC) by wyf9661)

Is there any problem using openssl ? I 'm wondering the reason why the dependency changes to openssl-1.1 again.


And another strange question, I use visual-studio-code-bin at the same time, Each time I install this package, the icon of the vscode window (at the left top) becomes the logo of windterm.