diff --git a/assets/ac_icon_transparent.png b/assets/ac_icon_transparent.png new file mode 100644 index 0000000..bb87d3b Binary files /dev/null and b/assets/ac_icon_transparent.png differ diff --git a/assets/ac_plug.ico b/assets/ac_plug.ico new file mode 100644 index 0000000..d4831e6 Binary files /dev/null and b/assets/ac_plug.ico differ diff --git a/assets/ac_plug.png b/assets/ac_plug.png new file mode 100644 index 0000000..cc60f6d Binary files /dev/null and b/assets/ac_plug.png differ diff --git a/package-lock.json b/package-lock.json index 55898af..28fd69e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,9 @@ "@types/node": "^14.18.2", "copyfiles": "^2.4.1", "electron-json-storage": "^4.5.0", - "typescript": "^4.5.4" + "typescript": "^4.5.4", + "v8-compile-cache": "^2.3.0", + "ws": "^8.4.0" }, "devDependencies": { "electron": "^16.0.5" @@ -1181,6 +1183,11 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -1212,6 +1219,26 @@ "signal-exit": "^3.0.2" } }, + "node_modules/ws": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.4.0.tgz", + "integrity": "sha512-IHVsKe2pjajSUIl4KYMQOdlyliovpEPquKkqbwswulszzI7r0SfQrxnXdWAEqOlDCLrVSJzo+O1hAwdog2sKSQ==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -2216,6 +2243,11 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, + "v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -2241,6 +2273,12 @@ "signal-exit": "^3.0.2" } }, + "ws": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.4.0.tgz", + "integrity": "sha512-IHVsKe2pjajSUIl4KYMQOdlyliovpEPquKkqbwswulszzI7r0SfQrxnXdWAEqOlDCLrVSJzo+O1hAwdog2sKSQ==", + "requires": {} + }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index 4f1b11c..3ed8809 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "armcord", "version": "3.0.0", "description": "ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.", - "main": "src/index.ts", + "main": "dist/main.js", "scripts": { "build": "tsc", "watch": "tsc -w", "start": "npm run build && npm run copy-files && electron ./dist/main.js", - "copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css dist/ && copyfiles package.json dist/" + "copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css dist/ && copyfiles package.json dist/ && copyfiles assets/** dist/" }, "repository": { "type": "git", @@ -27,6 +27,8 @@ "@types/node": "^14.18.2", "copyfiles": "^2.4.1", "electron-json-storage": "^4.5.0", - "typescript": "^4.5.4" + "typescript": "^4.5.4", + "v8-compile-cache": "^2.3.0", + "ws": "^8.4.0" } } diff --git a/src/content/css/splash.css b/src/content/css/splash.css index 50677aa..710813e 100644 --- a/src/content/css/splash.css +++ b/src/content/css/splash.css @@ -66,7 +66,7 @@ video { object-fit: cover; } -#text { +#text-splashscreen { font-size: 7vw; text-align: center; diff --git a/src/content/css/titlebar.css b/src/content/css/titlebar.css index 67a5493..c8aca19 100644 --- a/src/content/css/titlebar.css +++ b/src/content/css/titlebar.css @@ -120,4 +120,7 @@ font-size: 0px !important; margin-left: initial !important; transform: translate(10px, 0px); + } + .withFrame-haYltI { + height: 23px !important; } \ No newline at end of file diff --git a/src/content/index.html b/src/content/index.html index a31c40e..48df24b 100644 --- a/src/content/index.html +++ b/src/content/index.html @@ -10,17 +10,17 @@
-