mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 00:59:09 -05:00
Updated Support Helper to support M1+ Chips. (#141)
* Updated Support Helper to support M1+ Chips. Updated SupportHelper to support M1+ chips via darwin * Fixed not building * Reverted old support helper file
This commit is contained in:
parent
f4f817eaed
commit
d793f37b39
1 changed files with 7 additions and 3 deletions
|
@ -86,7 +86,11 @@ async function generateDebugInfoMessage() {
|
|||
`v${VERSION} • [${gitHash}](<https://github.com/Equicord/Equicord/commit/${gitHash}>)` +
|
||||
`${SettingsPlugin.additionalInfo} - ${Intl.DateTimeFormat("en-GB", { dateStyle: "medium" }).format(BUILD_TIMESTAMP)}`,
|
||||
Client: `${RELEASE_CHANNEL} ~ ${client}`,
|
||||
Platform: window.navigator.platform
|
||||
Platform: `${DiscordNative.process.platform === "darwin" ?
|
||||
(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) {
|
||||
|
@ -97,7 +101,7 @@ async function generateDebugInfoMessage() {
|
|||
"NoRPC enabled": Vencord.Plugins.isPluginEnabled("NoRPC"),
|
||||
"Activity Sharing disabled": tryOrElse(() => !ShowCurrentGame.getSetting(), false),
|
||||
"Equicord Dev Build": !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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue