comfy-desktop
MEDIUM
maintainer mhdi
6 votes
scanned 2026-09-27 13:18:29.354985
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Lck0427 <lck0427 at hotmail dot com>
2
# Contributor: Lck0427 <lck0427 at hotmail dot com>
3
pkgname=comfy-desktop
4
pkgver=1.0.47
5
pkgrel=1
6
pkgdesc="Comfy Desktop is the official desktop application for ComfyUI"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/Comfy-Org/Comfy-Desktop"
9
license=('MIT')
10
options=('!strip')
11
depends=(
12
'glibc'
13
'libstdc++'
14
'libgcc'
15
'gtk3'
16
'glib2'
17
'libx11'
18
'libxext'
19
'libxcb'
20
'libxcomposite'
21
'libxdamage'
22
'libxfixes'
23
'libxrandr'
24
'libxkbcommon'
25
'systemd-libs'
26
'python'
27
'nss'
28
'alsa-lib'
29
'mesa'
30
'cairo'
31
'dbus'
32
'expat'
33
'pango'
34
'hicolor-icon-theme'
35
'nspr'
36
'bash'
37
'python-pygit2'
38
'libxcrypt-compat'
39
)
40
makedepends=(
41
'nodejs>=22'
42
'pnpm>=10'
43
'git'
44
'python'
45
'gcc'
46
)
47
conflicts=('comfyui-desktop-2-beta')
48
replaces=('comfyui-desktop-2-beta')
49
source=(
50
"${pkgname}::git+${url}#tag=v${pkgver}"
51
"comfy-desktop.desktop"
52
)
53
sha256sums=('f30d35750c0de0638ac6d1b345954a25f4c2eaf75d063dd7748921a6f4453b17'
54
'6b7dcfbe0897075d288e844e01f42039158806c50c6ba9f7bf87f315d7cc9c4b')
55
build() {
56
cd "${srcdir}/${pkgname}"
57
# Install dependencies
58
pnpm install --frozen-lockfile
59
# Build the app for Linux
60
pnpm run build:linux
61
}
62
package() {
63
cd "${srcdir}/${pkgname}"
64
local _builddir="dist/linux-unpacked"
65
if [[ ! -d "$_builddir" ]]; then
66
echo "Error: Could not find expected build output directory: ${_builddir}" >&2
67
return 1
68
fi
69
#Install built binaries
70
install -d "${pkgdir}/opt"
71
cp -a "${_builddir}" "${pkgdir}/opt/${pkgname}"
72
# Cleanup unused 7zip binaries
73
local _7zip_dir="${pkgdir}/opt/${pkgname}/resources/app.asar.unpacked/node_modules/7zip-bin"
74
rm -rf ${_7zip_dir}/mac
75
local _keep_folder=""
76
case "$CARCH" in
77
x86_64) _keep_folder="x64" ;;
78
aarch64) _keep_folder="arm64" ;;
79
*)
80
echo "Warning: Unsupported architecture '$CARCH'. You may need to handle 7zip modules yourself."
81
return 1
82
;;
83
esac
84
if [[ -d "${_7zip_dir}/linux" ]]; then
85
plain "Cleaning up 7zip binaries for $CARCH (keeping ${_keep_folder})..."
86
find "${_7zip_dir}/linux" -mindepth 1 -maxdepth 1 -type d ! -name "$_keep_folder" -exec rm -rf {} +
87
fi
88
# Make binary link
89
install -d "${pkgdir}/usr/bin"
90
ln -s "/opt/${pkgname}/comfyui-desktop-2" "${pkgdir}/usr/bin/${pkgname}"
91
# Install icons
92
local _icon
93
for _icon in "${srcdir}/${pkgname}/assets"/Comfy_Logo_x*.png; do
94
local _size
95
_size=$(basename "${_icon}" .png)
96
_size="${_size#Comfy_Logo_x}"
97
install -Dm644 "${_icon}" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/comfyui-desktop-2.png"
98
done
99
# Install .desktop file
100
install -Dm644 "${srcdir}/comfy-desktop.desktop" "${pkgdir}/usr/share/applications/comfy-desktop.desktop"
101
# Install LICENSE file
102
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
103
}
104
Changes since previous scan
--- PKGBUILD @ 2026-09-09 01:18+++ PKGBUILD @ 2026-09-27 13:18@@ -1,7 +1,7 @@ # Maintainer: Lck0427 <lck0427 at hotmail dot com> # Contributor: Lck0427 <lck0427 at hotmail dot com> pkgname=comfy-desktop-pkgver=1.0.46+pkgver=1.0.47 pkgrel=1 pkgdesc="Comfy Desktop is the official desktop application for ComfyUI" arch=('x86_64' 'aarch64')@@ -50,7 +50,7 @@ "${pkgname}::git+${url}#tag=v${pkgver}" "comfy-desktop.desktop" )-sha256sums=('71fe781f254ec641005b7d6188fa8faa5ec003b7f8f8cace679f2a5062267b70'+sha256sums=('f30d35750c0de0638ac6d1b345954a25f4c2eaf75d063dd7748921a6f4453b17' '6b7dcfbe0897075d288e844e01f42039158806c50c6ba9f7bf87f315d7cc9c4b') build() { cd "${srcdir}/${pkgname}"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 13:18:29 | Medium | 1 |
| 2026-09-09 01:18:32 | Clean | 0 |
| 2026-08-28 05:34:42 | Clean | 0 |
| 2026-08-26 21:30:41 | Clean | 0 |
| 2026-08-26 09:30:02 | Clean | 0 |
| 2026-08-25 09:25:51 | Clean | 0 |
| 2026-08-22 07:16:51 | Clean | 0 |
| 2026-08-15 09:30:19 | Clean | 0 |
| 2026-08-11 13:21:13 | Clean | 0 |
| 2026-07-31 07:17:22 | Clean | 0 |
| 2026-07-31 05:17:13 | Clean | 0 |
| 2026-07-31 01:17:03 | Clean | 0 |
| 2026-07-29 03:10:20 | Clean | 0 |
| 2026-07-15 07:48:03 | Clean | 0 |
| 2026-06-29 12:35:04 | Clean | 0 |
| 2026-06-25 14:22:17 | Clean | 0 |
| 2026-06-25 02:21:35 | Clean | 0 |
| 2026-06-22 12:13:16 | Clean | 0 |
| 2026-06-20 16:37:17 | Clean | 0 |
| 2026-06-18 16:11:54 | Clean | 0 |