-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wrong external files and clean up build script; Remove non used s…
…tuff
- Loading branch information
Showing
5 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
*/ | ||
|
||
import { makeLazy } from "./lazy"; | ||
import { EXTENSION_BASE_URL } from "./web-metadata"; | ||
|
||
/* | ||
Add dynamically loaded dependencies for plugins here. | ||
|
@@ -67,15 +66,6 @@ export interface ApngFrameData { | |
playTime: number; | ||
} | ||
|
||
// On web (extensions), use extension uri as basepath (load files from extension) | ||
// On desktop (electron), load from cdn | ||
export const rnnoiseDist = IS_EXTENSION | ||
? new URL("/third-party/rnnoise", EXTENSION_BASE_URL).toString() | ||
: "https://unpkg.com/@sapphi-red/[email protected]/dist"; | ||
export const rnnoiseWasmSrc = (simd = false) => `${rnnoiseDist}/rnnoise${simd ? "_simd" : ""}.wasm`; | ||
export const rnnoiseWorkletSrc = `${rnnoiseDist}/rnnoise/workletProcessor.js`; | ||
|
||
|
||
// The below code is only used on the Desktop (electron) build of Vencord. | ||
// Browser (extension) builds do not contain these remote imports. | ||
|
||
|