glucord: update for new gluon
This commit is contained in:
parent
bae50ca864
commit
b5c8bebc2c
@ -1,6 +1,7 @@
|
|||||||
import * as Gluon from '../gluon/index.js';
|
import * as Gluon from '../gluon/index.js';
|
||||||
|
|
||||||
Gluon.open('https://discord.com/app', () => {
|
Gluon.open('https://discord.com/app', {
|
||||||
|
onLoad: () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.title = 'Glucord';
|
document.title = 'Glucord';
|
||||||
Object.defineProperty(document, 'title', {
|
Object.defineProperty(document, 'title', {
|
||||||
@ -32,7 +33,7 @@ Gluon.open('https://discord.com/app', () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.socialLinks-3ywLUf + .info-3pQQBb::after {
|
.socialLinks-3ywLUf + .info-3pQQBb::after {
|
||||||
content: 'Glucord 0.1.0 \\a Gluon GLUON_VERSION (Glugun GLUGUN_VERSION) \\a Chromium CHROMIUM_VERSION (${'SYSTEM_CHROMIUM' !== 'false' ? 'system' : 'bundled'}) \\a Node NODE_VERSION (${'SYSTEM_NODE' !== 'false' ? 'system' : 'bundled'})';
|
content: 'Glucord 0.1.1 \\a Gluon ${Gluon.versions.gluon} ${Gluon.versions.builder !== 'nothing' ? `(${Gluon.versions.builder})` : ''} \\a ${Gluon.versions.browserType[0].toUpperCase() + Gluon.versions.browserType.slice(1)} ${Gluon.versions.browser} (${Gluon.versions.product}) \\a Node ${Gluon.versions.node}';
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
@ -47,4 +48,5 @@ Gluon.open('https://discord.com/app', () => {
|
|||||||
border-top: 1px solid var(--background-modifier-accent);
|
border-top: 1px solid var(--background-modifier-accent);
|
||||||
}`;
|
}`;
|
||||||
}, 200);
|
}, 200);
|
||||||
|
}
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user