mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Updates
This commit is contained in:
commit
a269a71982
3 changed files with 4 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue