Merge branch 'dev' into tray-stuff
This commit is contained in:
commit
0974da2532
2 changed files with 32 additions and 1 deletions
31
.github/workflows/buildDev.yml
vendored
31
.github/workflows/buildDev.yml
vendored
|
|
@ -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 }}"
|
||||
|
|
|
|||
|
|
@ -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),$&"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue