AUR AI Reviewer

Review Results

Version #2365 of localsend-bin · commit 2b2616ce577d · status Reviewed

Risk 0/5 · Safe PKGBUILD
Result #3080

Comment

The change only edits the packaged desktop entry to add StartupWMClass for taskbar pinning. It does not introduce network access, privilege escalation, persistence, or any build-time execution beyond a simple sed substitution. The added value is a static desktop-file metadata field and is confined to the source tree under ${srcdir}. No security concerns are evident from this hunk alone.

@@ -35,6 +35,9 @@ build() {
 
 	# Adjust .desktop to have it point to the correct icon
 	sed -i -E 's/^Icon=.+/Icon=localsend/' "${srcdir}/usr/share/applications/${_pkgdesktop}"
+
+	# Add StartupWMClass so app can be pinned to taskbar
+	sed -i -E '/^Exec=localsend/a StartupWMClass=org.localsend.localsend_app' "${srcdir}/usr/share/applications/${_pkgdesktop}"
 }
 
 package() {