Compare commits

..

No commits in common. "d18504bc2fe110e8bcf63d02c7bcb06d5f650700" and "8c3abc8cf69a9b013d9bcd3c8e823c2dca6dd9ce" have entirely different histories.

2 changed files with 3 additions and 10 deletions

View file

@ -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": {
@ -44,11 +44,7 @@
"appId": "com.smartfridge.armcord",
"productName": "ArmCord",
"mac": {
"category": "Network",
"extraResources": ["./mods/cumcord/*"]
},
"win": {
"extraResources": ["./mods/cumcord/*"]
"category": "Network"
},
"linux": {
"category": "Network",

View file

@ -1,16 +1,13 @@
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(),
},
electron: process.versions.electron,
version: version,
version: process.versions.electron,
desktopCapturer: desktopCapturer,
});