git(revert): "Updated Support Helper to support M1+ Chips. (#141)"
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

the main function DiscordNative seems to be nuked in specific clients.
This commit is contained in:
Cortex 2025-02-24 16:04:30 -06:00
parent 2445a24cc3
commit 98342f3ab3

View file

@ -86,11 +86,7 @@ async function generateDebugInfoMessage() {
`v${VERSION} • [${gitHash}](<https://github.com/Equicord/Equicord/commit/${gitHash}>)` + `v${VERSION} • [${gitHash}](<https://github.com/Equicord/Equicord/commit/${gitHash}>)` +
`${SettingsPlugin.additionalInfo} - ${Intl.DateTimeFormat("en-GB", { dateStyle: "medium" }).format(BUILD_TIMESTAMP)}`, `${SettingsPlugin.additionalInfo} - ${Intl.DateTimeFormat("en-GB", { dateStyle: "medium" }).format(BUILD_TIMESTAMP)}`,
Client: `${RELEASE_CHANNEL} ~ ${client}`, Client: `${RELEASE_CHANNEL} ~ ${client}`,
Platform: `${DiscordNative.process.platform === "darwin" ? Platform: window.navigator.platform
(DiscordNative.process.arch === "arm64" ? "MacSilicon" : "MacIntel") :
DiscordNative.process.platform === "win32" && DiscordNative.process.arch === "x64" ?
"Windows" :
`${DiscordNative.process.platform} ${DiscordNative.process.arch}`}`
}; };
if (IS_DISCORD_DESKTOP) { if (IS_DISCORD_DESKTOP) {
@ -101,7 +97,7 @@ async function generateDebugInfoMessage() {
"NoRPC enabled": Vencord.Plugins.isPluginEnabled("NoRPC"), "NoRPC enabled": Vencord.Plugins.isPluginEnabled("NoRPC"),
"Activity Sharing disabled": tryOrElse(() => !ShowCurrentGame.getSetting(), false), "Activity Sharing disabled": tryOrElse(() => !ShowCurrentGame.getSetting(), false),
"Equicord DevBuild": !IS_STANDALONE, "Equicord DevBuild": !IS_STANDALONE,
"Has Userplugins": Object.values(PluginMeta).some(m => m.userPlugin), "Has UserPlugins": Object.values(PluginMeta).some(m => m.userPlugin),
"More than two weeks out of date": BUILD_TIMESTAMP < Date.now() - 12096e5, "More than two weeks out of date": BUILD_TIMESTAMP < Date.now() - 12096e5,
}; };