This commit is contained in:
thororen1234 2024-07-18 23:57:56 -04:00
commit a269a71982
3 changed files with 4 additions and 3 deletions

View file

@ -85,7 +85,7 @@ jobs:
- name: Upload Equicord
if: github.repository == 'Equicord/Equicord'
run: |
gh release upload latest --clobber dist/*
gh release upload latest --clobber dist/release/*
- name: Upload Plugins JSON to Ignore repo
if: github.repository == 'Equicord/Equicord'

View file

@ -124,6 +124,7 @@ try {
env: {
...process.env,
EQUICORD_USER_DATA_DIR: BASE_DIR,
EQUICORD_ASAR_FILE: join(BASE_DIR, "dist/desktop.asar"),
EQUICORD_DEV_INSTALL: "1"
}
});

View file

@ -19,7 +19,7 @@
import { debounce } from "@shared/debounce";
import { contextBridge, webFrame } from "electron";
import { readFileSync, watch } from "fs";
import { join } from "path";
import { dirname, join } from "path";
import VencordNative from "./VencordNative";
@ -45,7 +45,7 @@ if (location.protocol !== "data:") {
if (IS_DEV) {
// persistent means keep process running if watcher is the only thing still running
// which we obviously don't want
watch(rendererCss, { persistent: false }, () => {
watch(dirname(rendererCss), { persistent: false }, () => {
document.getElementById("vencord-css-core")!.textContent = readFileSync(rendererCss, "utf-8");
});
}