Update assets and add new ones
BIN
assets/ac_icon.png
Normal file
After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 18 KiB |
BIN
assets/ac_white_plug.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
assets/dsc-tray.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
|
@ -6,7 +6,7 @@ import { createSettingsWindow } from "./settings/main";
|
||||||
let tray: any = null;
|
let tray: any = null;
|
||||||
app.whenReady().then(async () => {
|
app.whenReady().then(async () => {
|
||||||
if (await getConfig("windowStyle") == "discord") {
|
if (await getConfig("windowStyle") == "discord") {
|
||||||
tray = new Tray(path.join(__dirname, "../", "/assets/ac_plug.png"));
|
tray = new Tray(path.join(__dirname, "../", "/assets/dsc-tray.png"));
|
||||||
const contextMenu = Menu.buildFromTemplate([
|
const contextMenu = Menu.buildFromTemplate([
|
||||||
{
|
{
|
||||||
label: "Open ArmCord",
|
label: "Open ArmCord",
|
||||||
|
|
|
@ -8,6 +8,7 @@ import {checkIfConfigIsBroken, firstRun, getConfig, contentPath} from "./utils";
|
||||||
import {registerIpc} from "./ipc";
|
import {registerIpc} from "./ipc";
|
||||||
import startServer from "./socket"
|
import startServer from "./socket"
|
||||||
import contextMenu from "electron-context-menu";
|
import contextMenu from "electron-context-menu";
|
||||||
|
export var icon: string;
|
||||||
export let mainWindow: BrowserWindow;
|
export let mainWindow: BrowserWindow;
|
||||||
export let inviteWindow: BrowserWindow;
|
export let inviteWindow: BrowserWindow;
|
||||||
let guestWindows: BrowserWindow[] = [];
|
let guestWindows: BrowserWindow[] = [];
|
||||||
|
|