first commit
This commit is contained in:
1
vesktop/sessionData/vencordFiles/package.json
Normal file
1
vesktop/sessionData/vencordFiles/package.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
31
vesktop/sessionData/vencordFiles/vencordDesktopMain.js
Normal file
31
vesktop/sessionData/vencordFiles/vencordDesktopMain.js
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
|
||||
/*!
|
||||
* BetterDiscord addon meta parser
|
||||
* Copyright 2023 BetterDiscord contributors
|
||||
* Copyright 2023 Vendicated and Vencord contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/*!
|
||||
* crxToZip
|
||||
* Copyright (c) 2013 Rob Wu <rob@robwu.nl>
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
// Vencord cba0eb9
|
||||
// Standalone: true
|
||||
// Platform: Universal
|
||||
// Updater Disabled: false
|
||||
"use strict";function a(e,o=300){let n;return function(...E){clearTimeout(n),n=setTimeout(()=>{e(...E)},o)}}var i=require("electron/renderer");var t=require("electron/renderer");function r(e,...o){return t.ipcRenderer.invoke(e,...o)}function _(e,...o){return t.ipcRenderer.sendSync(e,...o)}var S={},g=_("VencordGetPluginIpcMethodMap");for(let[e,o]of Object.entries(g)){let n=S[e]={};for(let[E,m]of Object.entries(o))n[E]=(...c)=>r(m,...c)}var s={themes:{uploadTheme:async(e,o)=>{throw new Error("uploadTheme is WEB only")},deleteTheme:async e=>{throw new Error("deleteTheme is WEB only")},getThemesList:()=>r("VencordGetThemesList"),getThemeData:e=>r("VencordGetThemeData",e),getSystemValues:()=>r("VencordGetThemeSystemValues"),openFolder:()=>r("VencordOpenThemesFolder")},updater:{getUpdates:()=>r("VencordGetUpdates"),update:()=>r("VencordUpdate"),rebuild:()=>r("VencordBuild"),getRepo:()=>r("VencordGetRepo")},settings:{get:()=>_("VencordGetSettings"),set:(e,o)=>r("VencordSetSettings",e,o),openFolder:()=>r("VencordOpenSettingsFolder")},quickCss:{get:()=>r("VencordGetQuickCss"),set:e=>r("VencordSetQuickCss",e),addChangeListener(e){t.ipcRenderer.on("VencordQuickCssUpdate",(o,n)=>e(n))},addThemeChangeListener(e){t.ipcRenderer.on("VencordThemeUpdate",()=>e())},openFile:()=>r("VencordOpenQuickCss"),openEditor:()=>r("VencordOpenMonacoEditor"),getEditorTheme:()=>_("VencordGetMonacoTheme")},native:{getVersions:()=>process.versions,openExternal:e=>r("VencordOpenExternal",e),getRendererCss:()=>r("VencordGetRendererCss"),onRendererCssUpdate:e=>{}},csp:{isDomainAllowed:(e,o)=>r("VencordCspIsDomainAllowed",e,o),removeOverride:e=>r("VencordCspRemoveOverride",e),requestAddOverride:(e,o,n)=>r("VencordCspRequestAddOverride",e,o,n)},pluginHelpers:S};i.contextBridge.exposeInMainWorld("VencordNative",s);location.protocol!=="data:"?r("VencordInitFileWatchers"):(i.contextBridge.exposeInMainWorld("setCss",a(s.quickCss.set)),i.contextBridge.exposeInMainWorld("getCurrentCss",s.quickCss.get),i.contextBridge.exposeInMainWorld("getTheme",s.quickCss.getEditorTheme));
|
||||
//# sourceURL=file:///VencordPreload
|
||||
//# sourceMappingURL=vencord://vencordDesktopPreload.js.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
278
vesktop/sessionData/vencordFiles/vencordDesktopRenderer.js
Normal file
278
vesktop/sessionData/vencordFiles/vencordDesktopRenderer.js
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* discord-intl
|
||||
*
|
||||
* @copyright 2024 Discord, Inc.
|
||||
* @link https://github.com/discord/discord-intl
|
||||
* @license MIT
|
||||
*/
|
||||
/*!
|
||||
* idb-keyval v6.2.0
|
||||
* Copyright 2016, Jake Archibald
|
||||
* Copyright 2022, Vendicated
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* apng-canvas v2.1.2 - heavily modified and converted to Typescript
|
||||
*
|
||||
* @copyright 2011-2019 David Mzareulyan
|
||||
* @link https://github.com/davidmz/apng-canvas
|
||||
* @license MIT
|
||||
*/
|
||||
/*!
|
||||
* Vencord, a modification for Discord's desktop app
|
||||
* Copyright (c) 2022 Vendicated and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
Bundled license information:
|
||||
|
||||
virtual-merge/dist/index.mjs:
|
||||
/*!
|
||||
* virtual-merge
|
||||
* Copyright (c) 2023 Vendicated
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user