diff --git a/app/js/utils.js b/app/js/utils.js index 34aa6af..e45b804 100644 --- a/app/js/utils.js +++ b/app/js/utils.js @@ -180,8 +180,9 @@ module.exports = class utils { ` case "fileWithEyes": return ` - ${config.get(`${obj.id}_visibility`, true) ? "visibility" : "visibility_off"} -
${config.get(obj.id, obj.default)}
+ + ${config.get(`${obj.id}_visibility`, true) ? "visibility" : "visibility_off"} +
${config.get(obj.id, obj.default)}
` default: return ` diff --git a/package-lock.json b/package-lock.json index 17cb8f4..61f2217 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "v8-compile-cache": "^2.2.0" }, "devDependencies": { - "electron": "^12.0.5", + "electron": "9.4.x", "electron-builder": "^22.10.5" } }, @@ -1277,14 +1277,14 @@ } }, "node_modules/electron": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.5.tgz", - "integrity": "sha512-z0xYB3sPr0qZcDrHUUWqooPKe3yUzBDxQcgQe3f2TLstA84JIFXBoaIJCPh/fJW0+JdF/ZFVeK2SNgLhYtRV+Q==", + "version": "9.4.4", + "resolved": "https://registry.npmjs.org/electron/-/electron-9.4.4.tgz", + "integrity": "sha512-dcPlTrMWQu5xuSm6sYV42KK/BRIqh3erM8v/WtZqaDmG7pkCeJpvw26Dgbqhdt78XmqqGiN96giEe6A3S9vpAQ==", "dev": true, "hasInstallScript": true, "dependencies": { "@electron/get": "^1.0.1", - "@types/node": "^14.6.2", + "@types/node": "^12.0.12", "extract-zip": "^1.0.3" }, "bin": { @@ -1414,6 +1414,12 @@ "semver": "^7.3.2" } }, + "node_modules/electron/node_modules/@types/node": { + "version": "12.20.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz", + "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw==", + "dev": true + }, "node_modules/emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -4381,14 +4387,22 @@ } }, "electron": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.5.tgz", - "integrity": "sha512-z0xYB3sPr0qZcDrHUUWqooPKe3yUzBDxQcgQe3f2TLstA84JIFXBoaIJCPh/fJW0+JdF/ZFVeK2SNgLhYtRV+Q==", + "version": "9.4.4", + "resolved": "https://registry.npmjs.org/electron/-/electron-9.4.4.tgz", + "integrity": "sha512-dcPlTrMWQu5xuSm6sYV42KK/BRIqh3erM8v/WtZqaDmG7pkCeJpvw26Dgbqhdt78XmqqGiN96giEe6A3S9vpAQ==", "dev": true, "requires": { "@electron/get": "^1.0.1", - "@types/node": "^14.6.2", + "@types/node": "^12.0.12", "extract-zip": "^1.0.3" + }, + "dependencies": { + "@types/node": { + "version": "12.20.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.10.tgz", + "integrity": "sha512-TxCmnSSppKBBOzYzPR2BR25YlX5Oay8z2XGwFBInuA/Co0V9xJhLlW4kjbxKtgeNo3NOMbQP1A5Rc03y+XecPw==", + "dev": true + } } }, "electron-builder": { diff --git a/package.json b/package.json index e2709c2..99c7ffc 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ "url": "https://github.com/Hiro527/LaF/issues" }, "homepage": "https://github.com/Hiro527/LaF#readme", - "electronVersion": "12.0.5", + "electronVersion": "9.4.4", "devDependencies": { - "electron": "^12.0.5", + "electron": "9.4.4", "electron-builder": "^22.10.5" }, "dependencies": {