UserpluginInstaller: About Warning
This commit is contained in:
parent
c89b605822
commit
1d4fcf2bb5
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import "./misc/style.css";
|
||||||
import { showNotification } from "@api/Notifications";
|
import { showNotification } from "@api/Notifications";
|
||||||
import { definePluginSettings } from "@api/Settings";
|
import { definePluginSettings } from "@api/Settings";
|
||||||
import { Button } from "@components/Button";
|
import { Button } from "@components/Button";
|
||||||
|
import { Notice } from "@components/Notice";
|
||||||
import plSettings from "@plugins/_core/settings";
|
import plSettings from "@plugins/_core/settings";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import { relaunch } from "@utils/native";
|
import { relaunch } from "@utils/native";
|
||||||
|
|
@ -53,6 +54,12 @@ export const settings = definePluginSettings({
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "UserpluginInstaller",
|
name: "UserpluginInstaller",
|
||||||
description: "Install userplugins with a simple button click",
|
description: "Install userplugins with a simple button click",
|
||||||
|
settingsAboutComponent: () => (
|
||||||
|
<Notice.Warning>
|
||||||
|
Equicord does not moderate userplugins and takes no responsibility for anything that may result from installing them.
|
||||||
|
Only install userplugins from developers you trust. Doing so is entirely at your own risk.
|
||||||
|
</Notice.Warning>
|
||||||
|
),
|
||||||
async checkPluginUpdates() {
|
async checkPluginUpdates() {
|
||||||
for (const p of this.plugins.value()) {
|
for (const p of this.plugins.value()) {
|
||||||
if (await Native.isUpdateAvailableForPlugin(p.directory!)) {
|
if (await Native.isUpdateAvailableForPlugin(p.directory!)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue