Update 0BDFDB.plugin.js
This commit is contained in:
parent
1799e38311
commit
4bb6074c2e
|
@ -448,7 +448,8 @@ module.exports = (_ => {
|
|||
return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, "Library/Preferences/BetterDiscord/plugins/");
|
||||
default:
|
||||
if (LibraryRequires.process.env.XDG_CONFIG_HOME) return LibraryRequires.path.resolve(LibraryRequires.process.env.XDG_CONFIG_HOME, "BetterDiscord/plugins/");
|
||||
else return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, ".config/BetterDiscord/plugins/");
|
||||
else if (LibraryRequires.process.env.HOME) return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, ".config/BetterDiscord/plugins/");
|
||||
else return "";
|
||||
}
|
||||
};
|
||||
BDFDB.BDUtils.getThemesFolder = function () {
|
||||
|
@ -462,7 +463,8 @@ module.exports = (_ => {
|
|||
return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, "Library/Preferences/BetterDiscord/themes/");
|
||||
default:
|
||||
if (LibraryRequires.process.env.XDG_CONFIG_HOME) return LibraryRequires.path.resolve(LibraryRequires.process.env.XDG_CONFIG_HOME, "BetterDiscord/themes/");
|
||||
else return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, ".config/BetterDiscord/themes/");
|
||||
else if (LibraryRequires.process.env.HOME) return LibraryRequires.path.resolve(LibraryRequires.process.env.HOME, ".config/BetterDiscord/themes/");
|
||||
else return "";
|
||||
}
|
||||
};
|
||||
BDFDB.BDUtils.isPluginEnabled = function (pluginName) {
|
||||
|
|
Loading…
Reference in New Issue