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", "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.", "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
@ -44,11 +44,7 @@
"appId": "com.smartfridge.armcord", "appId": "com.smartfridge.armcord",
"productName": "ArmCord", "productName": "ArmCord",
"mac": { "mac": {
"category": "Network", "category": "Network"
"extraResources": ["./mods/cumcord/*"]
},
"win": {
"extraResources": ["./mods/cumcord/*"]
}, },
"linux": { "linux": {
"category": "Network", "category": "Network",

View file

@ -1,16 +1,13 @@
const { contextBridge, remote, desktopCapturer } = require("electron"); const { contextBridge, remote, desktopCapturer } = require("electron");
const currentWindow = remote.getCurrentWindow(); const currentWindow = remote.getCurrentWindow();
const version = require("../package.json").version;
contextBridge.exposeInMainWorld("electron", { contextBridge.exposeInMainWorld("electron", {
window: { window: {
show: () => currentWindow.show(), show: () => currentWindow.show(),
hide: () => currentWindow.hide(), hide: () => currentWindow.hide(),
minimize: () => currentWindow.minimize(), minimize: () => currentWindow.minimize(),
maximize: () => currentWindow.maximize(), maximize: () => currentWindow.maximize(),
on : () => currentWindow.on(),
}, },
electron: process.versions.electron, version: process.versions.electron,
version: version,
desktopCapturer: desktopCapturer, desktopCapturer: desktopCapturer,
}); });