From 0de7ca8f503a9cbb86721d3c77cb4ca686a15a72 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 1 Nov 2021 12:00:10 +0100 Subject: [PATCH 1/7] v1.2.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 357eaaa..0eaae04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ArmCord", - "version": "2.6.0", + "version": "2.6.1", "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.", "main": "main.js", "scripts": { From 8c3abc8cf69a9b013d9bcd3c8e823c2dca6dd9ce Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 1 Nov 2021 12:01:04 +0100 Subject: [PATCH 2/7] v2.6.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0eaae04..357eaaa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ArmCord", - "version": "2.6.1", + "version": "2.6.0", "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.", "main": "main.js", "scripts": { From 6e12b1baa2dea0067df409a9211da66213b5d858 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 1 Nov 2021 17:57:03 +0100 Subject: [PATCH 3/7] Fix cumcord bug --- package.json | 6 +++++- utils/bridge.js | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 357eaaa..388ff3a 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,11 @@ "appId": "com.smartfridge.armcord", "productName": "ArmCord", "mac": { - "category": "Network" + "category": "Network", + "extraResources": ["./mods/cumcord/*"] + }, + "win": { + "extraResources": ["./mods/cumcord/*"] }, "linux": { "category": "Network", diff --git a/utils/bridge.js b/utils/bridge.js index e1ac404..45373c8 100644 --- a/utils/bridge.js +++ b/utils/bridge.js @@ -1,13 +1,16 @@ const { contextBridge, remote, desktopCapturer } = require("electron"); const currentWindow = remote.getCurrentWindow(); +const version = require("../package.json").version; contextBridge.exposeInMainWorld("electron", { window: { show: () => currentWindow.show(), hide: () => currentWindow.hide(), minimize: () => currentWindow.minimize(), maximize: () => currentWindow.maximize(), + on : () => currentWindow.on(), }, - version: process.versions.electron, + electron: process.versions.electron, + version: version, desktopCapturer: desktopCapturer, }); From d18504bc2fe110e8bcf63d02c7bcb06d5f650700 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 1 Nov 2021 17:57:38 +0100 Subject: [PATCH 4/7] v2.6.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 388ff3a..695c425 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ArmCord", - "version": "2.6.0", + "version": "2.6.1", "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.", "main": "main.js", "scripts": { From 55a81d95438ae112e7bb6da5412ae63a55e65b36 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Mon, 1 Nov 2021 21:48:21 +0100 Subject: [PATCH 5/7] Update some stuff in readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2a3c0ca..95c059c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ #  -ArmCord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [GooseMod](https://goosemod.com) for custom themes and plugins! +ArmCord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [Cumcord](https://cumcord.com) for custom themes and plugins! # How to run/install it? Check releases tab for precompiled packages for Linux, Windows and Mac OS (experimental). @@ -13,20 +13,20 @@ Alternatively you can run ArmCord from source (npm, nodejs required): # FAQ ## 1.Will I get banned from using it? - -You are breaking Discord ToS since we are using GooseMod for themes and plugins. But no one ever got banned from using ArmCord or GooseMod as of now. If you wish to remove GooseMod, you can find it in your plugins folder. + -You are breaking Discord ToS since we are using Cumcord for themes and plugins. But no one ever got banned from using ArmCord or Cumcord. If you wish to remove Cumcord, you can find it in your mods folder. ## 2.How does this work? - -We are using official web app and adding GooseMod to it with some other tweaks. + -We are using official web app and adding Cumcord it with some other tweaks. ## 3.Can I use this on other architectures or operating systems? -Yes! ArmCord should work normally under Windows, ~~Mac OS~~ (Mac OS is broken see [#48](https://github.com/ArmCord/ArmCord/issues/48)), Linux as long as it has NodeJS, npm and Electron support. ## 4.Code is big spaghetti. - -I'm aware. I'm slowly rewriting everything. This branch is mostly fixes only. + -I'm aware. I'm slowly rewriting everything. # Credits [ArmCord UI Elements and few features](https://github.com/kckarnige) -[GooseMod](https://github.com/GooseMod/GooseMod) +[Cumcord](https://github.com/Cumcord/Cumcord) [GooseMod Extension](https://github.com/GooseMod/extension) [electron-discord-webapp](https://github.com/SpacingBat3/electron-discord-webapp) [custom-electron-titlebar](https://github.com/AlexTorresSk/custom-electron-titlebar) From 08b2b312f6af3b19cf4123302de687e5f8320d52 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Sun, 7 Nov 2021 15:12:42 +0100 Subject: [PATCH 6/7] 2.7.0 - Test --- index.html | 8 +- main.js | 3 +- package-lock.json | 920 ++++++++++------------------------------------ package.json | 23 +- preload.js | 14 +- utils/bridge.js | 7 +- utils/capturer.js | 290 +++++++-------- utils/mod.js | 1 - utils/titlebar.js | 138 +++++++ utils/updater.js | 22 ++ 10 files changed, 516 insertions(+), 910 deletions(-) create mode 100644 utils/titlebar.js create mode 100644 utils/updater.js diff --git a/index.html b/index.html index 1c95244..20af840 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
- +