mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
16 lines
633 B
TypeScript
16 lines
633 B
TypeScript
import {ipcRenderer} from "electron";
|
|
import {addStyle} from "../utils";
|
|
import * as fs from "fs";
|
|
import * as path from "path";
|
|
export function injectMobileStuff() {
|
|
document.addEventListener("DOMContentLoaded", function (event) {
|
|
const mobileCSS = path.join(__dirname, "../", "/content/css/mobile.css");
|
|
addStyle(fs.readFileSync(mobileCSS, "utf8"));
|
|
// TO-DO: clicking on the logo, or additional button triggers ESC button to move around the UI quicker
|
|
// var logo = document.getElementById("window-title");
|
|
// logo!.addEventListener("click", () => {
|
|
//
|
|
// });
|
|
});
|
|
}
|