mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
build: allow overriding git details & disabling updating (#1677)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
f628aa7a70
commit
714d87241c
8 changed files with 24 additions and 14 deletions
|
@ -63,7 +63,7 @@ export async function update() {
|
|||
export const getRepo = () => Unwrap(VencordNative.updater.getRepo());
|
||||
|
||||
export async function maybePromptToUpdate(confirmMessage: string, checkForDev = false) {
|
||||
if (IS_WEB) return;
|
||||
if (IS_WEB || IS_UPDATER_DISABLED) return;
|
||||
if (checkForDev && IS_DEV) return;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue