mirror of
https://github.com/TommyFang2077/dsh-desktop.git
synced 2026-08-17 09:06:36 +08:00
fix: ship a loadable AgentRQ bundle that stays idle without a workspace URL
The first integration copied sources without lib/, skipped packaging paths, and could fail the default web profile when url was unset. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -4,6 +4,7 @@ PREFIX ?= $(HOME)/.local
|
||||
APP_ID := io.github.tommyfang.DshDesktop
|
||||
DSH_VERSION := 0.1.0-rc.6
|
||||
MODLENS_VERSION := 3.16.6
|
||||
AGENTRQ_VERSION := 0.2.1
|
||||
ANCHORED_COMMIT := ffb845c5480adc953392a6db6f8a98ede621174b
|
||||
ANCHORED_REPO := https://github.com/xiaobright/dsh-anchored-standard.git
|
||||
VENDOR_DIR := vendor/dsh-prefix
|
||||
@@ -84,6 +85,12 @@ install: build
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/dsh-desktop; \
|
||||
cp -R plugins/dsh-desktop-vision $(DESTDIR)$(PREFIX)/share/dsh-desktop/vision; \
|
||||
fi
|
||||
if [ -f plugins/agentrq/lib/index.js ]; then \
|
||||
rm -rf $(DESTDIR)$(PREFIX)/share/dsh-desktop/agentrq; \
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/dsh-desktop/agentrq/lib; \
|
||||
cp plugins/agentrq/package.json plugins/agentrq/cordis.patch.yml plugins/agentrq/LICENSE plugins/agentrq/README.md $(DESTDIR)$(PREFIX)/share/dsh-desktop/agentrq/; \
|
||||
cp -R plugins/agentrq/lib/. $(DESTDIR)$(PREFIX)/share/dsh-desktop/agentrq/lib/; \
|
||||
fi
|
||||
if [ -f $(ANCHORED_DIR)/preset.yml ]; then \
|
||||
rm -rf $(DESTDIR)$(PREFIX)/share/dsh-desktop/anchored-standard; \
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/dsh-desktop; \
|
||||
|
||||
Reference in New Issue
Block a user