diff --git a/src/renderer/components/settings/VencordLocationPicker.tsx b/src/renderer/components/settings/VencordLocationPicker.tsx new file mode 100644 index 0000000..366f1d4 --- /dev/null +++ b/src/renderer/components/settings/VencordLocationPicker.tsx @@ -0,0 +1,62 @@ +/* + * SPDX-License-Identifier: GPL-3.0 + * Aerocord, a vesktop fork for older microsoft NT releases such as NT 6.0, 6.1, 6.2 and 6.3. + * Credits to vendicated and the rest of the vesktop contribuitors for making Vesktop! + */ + +import { Button, Forms, Toasts } from "@vencord/types/webpack/common"; + +import { SettingsComponent } from "./Settings"; + +export const VencordLocationPicker: SettingsComponent = ({ settings }) => { + return ( + <> + + Vencord files are loaded from{" "} + {settings.vencordDir ? ( + { + e.preventDefault(); + VesktopNative.fileManager.showItemInFolder(settings.vencordDir!); + }} + > + {settings.vencordDir} + + ) : ( + "the default location" + )} + +
+ + +
+ + ); +}; diff --git a/src/renderer/components/settings/WindowsTransparencyControls.tsx b/src/renderer/components/settings/WindowsTransparencyControls.tsx new file mode 100644 index 0000000..12885e6 --- /dev/null +++ b/src/renderer/components/settings/WindowsTransparencyControls.tsx @@ -0,0 +1,49 @@ +/* + * SPDX-License-Identifier: GPL-3.0 + * Aerocord, a vesktop fork for older microsoft NT releases such as NT 6.0, 6.1, 6.2 and 6.3. + * Credits to vendicated and the rest of the vesktop contribuitors for making Vesktop! + */ + +import { Margins } from "@vencord/types/utils"; +import { Forms, Select } from "@vencord/types/webpack/common"; + +import { SettingsComponent } from "./Settings"; + +export const WindowsTransparencyControls: SettingsComponent = ({ settings }) => { + if (!VesktopNative.app.supportsWindowsTransparency()) return null; + + return ( + <> + Transparency Options + + Requires a full restart. You will need a theme that supports transparency for this to work. + + +