Merge branch 'dev' into tray-stuff

This commit is contained in:
thororen1234 2026-04-10 07:46:03 -04:00
commit 0974da2532
No known key found for this signature in database
2 changed files with 32 additions and 1 deletions

View file

@ -35,29 +35,60 @@ jobs:
ref: ${{ github.event.inputs.branch || github.ref }}
- uses: pnpm/action-setup@v3
if: github.ref_name != 'bun'
- name: Use Node.js 20
if: github.ref_name != 'bun'
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
if: github.ref_name != 'bun'
run: pnpm install --frozen-lockfile
- name: Build web
if: github.ref_name != 'bun'
run: pnpm buildWebStandalone
- name: Build
if: github.ref_name != 'bun'
run: pnpm buildStandalone
- name: Generate plugin lists
if: github.ref_name != 'bun'
run: |
pnpm generatePluginJson dist/plugins.json
pnpm generateEquicordPluginJson dist/equicordplugins.json
pnpm generateVencordPluginJson dist/vencordplugins.json
pnpm generateDevsList dist/devs.json
- uses: actions/checkout@v4
if: github.ref_name == 'bun'
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
if: github.ref_name == 'bun'
run: bun install
- name: Build web
if: github.ref_name == 'bun'
run: bun run buildWebStandalone
- name: Build
if: github.ref_name == 'bun'
run: bun run buildStandalone
- name: Generate plugin lists
if: github.ref_name == 'bun'
run: |
bun run generatePluginJson dist/plugins.json
bun run generateEquicordPluginJson dist/equicordplugins.json
bun run generateVencordPluginJson dist/vencordplugins.json
bun run generateDevsList dist/devs.json
- name: Upload to Equibuilds repo
run: |
BRANCH="${{ github.event.inputs.branch || github.ref_name }}"

View file

@ -158,7 +158,7 @@ export default definePlugin({
find: '"system:click_outside","user:escape"',
replacement: {
match: /(?<=GuildChannelUserContextMenu.{0,150})"data-dnd-name":\i/,
replace: "$&\"data-dragify-user\":!0,\"data-user-id\":arguments[0].user?.id,draggable:!0,onDragStart:e=>$self.onUserDragStart(e,arguments[0].user),"
replace: "\"data-dragify-user\":!0,\"data-user-id\":arguments[0].user?.id,draggable:!0,onDragStart:e=>$self.onUserDragStart(e,arguments[0].user),$&"
}
},
{