Merge branch 'main' of https://github.com/C0C0B01/Pupu
This commit is contained in:
commit
16ad04cf6e
7 changed files with 20 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Pupu
|
||||
# Pupu [](https://discord.gg/6cN7wKa8gp)
|
||||
A mod for Discord on Android
|
||||
|
||||
## Installing
|
||||
|
|
|
|||
15
dist/pupu.js
vendored
15
dist/pupu.js
vendored
|
|
@ -4649,7 +4649,7 @@
|
|||
init_logger();
|
||||
init_toasts();
|
||||
import_react_native5 = __toESM(require_react_native());
|
||||
versionHash = "v0.0.3";
|
||||
versionHash = "v0.1.0";
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -6036,8 +6036,7 @@
|
|||
},
|
||||
{
|
||||
label: import_react_native15.Platform.select({
|
||||
android: Strings.CODENAME,
|
||||
ios: Strings.MACHINE_ID
|
||||
android: Strings.CODENAME
|
||||
}),
|
||||
version: debugInfo.device.codename,
|
||||
icon: "TagIcon"
|
||||
|
|
@ -13353,7 +13352,7 @@
|
|||
var repo = pluginRepositories[props.url];
|
||||
var isOfficial = props.url === OFFICIAL_PLUGINS_REPO_URL;
|
||||
return /* @__PURE__ */ jsx(TableRow, {
|
||||
label: isOfficial ? "Pupu's Repository" : repo.$meta?.name ?? "Unknown",
|
||||
label: isOfficial ? "Bunny's Repository" : repo.$meta?.name ?? "Unknown",
|
||||
subLabel: props.url,
|
||||
trailing: /* @__PURE__ */ jsxs(Stack, {
|
||||
direction: "horizontal",
|
||||
|
|
@ -15223,7 +15222,7 @@
|
|||
uri: pupu_default
|
||||
},
|
||||
render: () => Promise.resolve().then(() => (init_General(), General_exports)),
|
||||
useTrailing: () => `(${"v0.0.3"})`
|
||||
useTrailing: () => `(${"v0.1.0"})`
|
||||
},
|
||||
{
|
||||
key: "BUNNY_PLUGINS",
|
||||
|
|
@ -15262,6 +15261,10 @@
|
|||
name: "Bunny",
|
||||
items: []
|
||||
});
|
||||
registerSection({
|
||||
name: "Revenge",
|
||||
items: []
|
||||
});
|
||||
}
|
||||
var init_settings3 = __esm({
|
||||
"src/core/ui/settings/index.ts"() {
|
||||
|
|
@ -15724,7 +15727,7 @@
|
|||
alert([
|
||||
"Failed to load Pupu!\n",
|
||||
`Build Number: ${ClientInfoManager.Build}`,
|
||||
`Pupu: ${"v0.0.3"}`,
|
||||
`Pupu: ${"v0.1.0"}`,
|
||||
stack || e?.toString?.()
|
||||
].join("\n"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ const config = {
|
|||
constModules: {
|
||||
globals: {
|
||||
"bunny-build-info": {
|
||||
version: `"v0.0.3"`
|
||||
version: `"v0.1.0"`
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -62,4 +62,10 @@ export default function initSettings() {
|
|||
name: "Bunny",
|
||||
items: []
|
||||
});
|
||||
|
||||
// Compat with Revenge Plugins that use configs in settings
|
||||
registerSection({
|
||||
name: "Revenge",
|
||||
items: []
|
||||
});
|
||||
}
|
||||
|
|
@ -71,7 +71,7 @@ export default function About() {
|
|||
icon: "MobilePhoneIcon"
|
||||
},
|
||||
{
|
||||
label: Platform.select({ android: Strings.CODENAME, ios: Strings.MACHINE_ID })!,
|
||||
label: Platform.select({ android: Strings.CODENAME })!,
|
||||
version: debugInfo.device.codename,
|
||||
icon: "TagIcon"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ function RepositoryRow(props: { url: string; }) {
|
|||
|
||||
return (
|
||||
<TableRow
|
||||
label={isOfficial ? "Pupu's Repository" : (repo.$meta?.name ?? "Unknown")}
|
||||
label={isOfficial ? "Bunny's Repository" : (repo.$meta?.name ?? "Unknown")}
|
||||
subLabel={props.url}
|
||||
trailing={(
|
||||
<Stack direction="horizontal">
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export const HelpMessage = findByNameLazy("HelpMessage");
|
|||
|
||||
// React Native's included SafeAreaView only adds padding on iOS.
|
||||
// The project doesnt build without it so it kinda has to sit here
|
||||
export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets"));
|
||||
//export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets"));
|
||||
|
||||
// ActionSheet
|
||||
export const ActionSheetRow = findProp("ActionSheetRow");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue