Syncing rauenzi/BetterDiscordApp 731132c master
This commit is contained in:
parent
02389ed8c7
commit
9d7c59025c
|
@ -68,10 +68,10 @@ export default new class DataStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
getPluginData(pluginName, key) {
|
getPluginData(pluginName, key) {
|
||||||
if (this.pluginData[pluginName] !== undefined) return this.pluginData[pluginName][key] || undefined;
|
if (this.pluginData[pluginName] !== undefined) return this.pluginData[pluginName][key];
|
||||||
if (!fs.existsSync(this.getPluginFile(pluginName))) return undefined;
|
if (!fs.existsSync(this.getPluginFile(pluginName))) return undefined;
|
||||||
this.pluginData[pluginName] = JSON.parse(fs.readFileSync(this.getPluginFile(pluginName)));
|
this.pluginData[pluginName] = JSON.parse(fs.readFileSync(this.getPluginFile(pluginName)));
|
||||||
return this.pluginData[pluginName][key] || undefined;
|
return this.pluginData[pluginName][key];
|
||||||
}
|
}
|
||||||
|
|
||||||
setPluginData(pluginName, key, value) {
|
setPluginData(pluginName, key, value) {
|
||||||
|
|
|
@ -13,6 +13,19 @@
|
||||||
import Utils from "../modules/utils";
|
import Utils from "../modules/utils";
|
||||||
import WebpackModules from "../modules/webpackModules";
|
import WebpackModules from "../modules/webpackModules";
|
||||||
|
|
||||||
|
//<div class="layer-v9HyYc disabledPointerEvents-1ptgTB" style="position: absolute; left: 237px; bottom: 51px;">
|
||||||
|
// <div class="tooltip-2QfLtc tooltipTop-XDDSxx tooltipBlack-PPG47z tooltipDisablePointerEvents-3eaBGN" style="opacity: 1; transform: none;">
|
||||||
|
// <div class="tooltipPointer-3ZfirK"></div>
|
||||||
|
// <div class="tooltipContent-bqVLWK">User Settings</div>
|
||||||
|
// </div>
|
||||||
|
//</div>
|
||||||
|
|
||||||
|
//<div class="layer-v9HyYc" style="top: 860px; left: 632.5px;">
|
||||||
|
// <div class="tooltip-2QfLtc tooltipBlack-PPG47z tooltipTop-XDDSxx">
|
||||||
|
// <div class="tooltipPointer-3ZfirK"></div>
|
||||||
|
// Changelog
|
||||||
|
// </div>
|
||||||
|
//</div>
|
||||||
const TooltipClasses = WebpackModules.findByProps("tooltip", "tooltipBlack");
|
const TooltipClasses = WebpackModules.findByProps("tooltip", "tooltipBlack");
|
||||||
const TooltipLayers = WebpackModules.findByProps("layer", "layerContainer");
|
const TooltipLayers = WebpackModules.findByProps("layer", "layerContainer");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue