ah yes, breaking glasstron

This commit is contained in:
Jean Ouina 2020-10-01 17:39:55 +02:00
parent 16ec5164e5
commit b86df9a17e
4 changed files with 6 additions and 8 deletions

View File

@ -20,7 +20,6 @@ function getSelectors(){
selects.push(`#app-mount .${defaultClassName} .${removeDa(userSettingsAccount.userSettingsAccount)} div:nth-child(2)>div:nth-child(2)>.${removeDa(BDModules.get(e => e.viewBody)[0].viewBody)}`)
selects.push(`.${removeDa(userSettingsAccount.userSettingsSecurity)} .${removeDa(children.children)} > div:nth-child(2)`)
}
console.log(selects)
return selects
}

View File

@ -403,7 +403,6 @@ function launchMainAppWindow(isVisible) {
const mainWindowOptions = {
title: 'Lightcord',
backgroundColor: getBackgroundColor(),
width: DEFAULT_WIDTH,
height: DEFAULT_HEIGHT,
minWidth: MIN_WIDTH,

6
package-lock.json generated
View File

@ -873,9 +873,9 @@
}
},
"electron": {
"version": "10.1.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-10.1.1.tgz",
"integrity": "sha512-ZJtZHMr17AvvBosuA6XUmpehwAlGM4/n46Mw9BcyD8tpgdI6IQd0X5OU9meE3X3M8Y6Ja2Kr2udTMgtjvot2hA==",
"version": "9.3.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-9.3.1.tgz",
"integrity": "sha512-DScrhqBT4a54KfdF0EoipALpHmdQTn3m7SSCtbpTcEcG+UDUiXad2cOfW6DHeVH7N+CVDKDG12q2PhVJjXkFAA==",
"dev": true,
"requires": {
"@electron/get": "^1.0.1",

View File

@ -16,8 +16,8 @@
"build:minify": "node build.js",
"clean": "node scripts/clean.js",
"clean:all": "node scripts/clean.js --all",
"devInstall": "npm i --save-dev --arch=ia32 electron@10.1.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"",
"devInstall:64": "npm i --save-dev --arch=x64 electron@10.1.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"",
"devInstall": "npm i --save-dev --arch=ia32 electron@9.3.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"",
"devInstall:64": "npm i --save-dev --arch=x64 electron@9.3.1 && node installSubModules.js && echo \"Everything is installed. You should be able to do npm run test to compile everything and launch.\"",
"versions": "echo Electron: && electron -v && echo Typescript: && tsc -v",
"ci": "node ci-deploy"
},
@ -46,7 +46,7 @@
"@types/yauzl": "^2.9.1",
"asar": "^3.0.3",
"cross-spawn": "^7.0.3",
"electron": "^10.1.1",
"electron": "9.3.1",
"electron-builder": "^22.8.0",
"fast-glob": "^3.2.4",
"fs-extra": "^9.0.1",