mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Merge pull request #25 from smartfrigde/dependabot/npm_and_yarn/electron-12.0.9
Bump electron from 12.0.6 to 12.0.9
This commit is contained in:
		
						commit
						ae44bad4b1
					
				
					 3 changed files with 12 additions and 20 deletions
				
			
		|  | @ -1,6 +1,6 @@ | ||||||
| 
 | 
 | ||||||
| # ArmCord 🦾🔌 | #  | ||||||
| Armcord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [GooseMod](https://goosemod.com) for custom themes and plugins! | ArmCord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience. It uses [GooseMod](https://goosemod.com) for custom themes and plugins! | ||||||
| 
 | 
 | ||||||
| # How to run/install it? | # How to run/install it? | ||||||
| Check releases tab for precompiled deb(ARM64), rpm(ARM64), tar.gz(ARM64), Windows builds. | Check releases tab for precompiled deb(ARM64), rpm(ARM64), tar.gz(ARM64), Windows builds. | ||||||
|  | @ -13,7 +13,7 @@ Alternative (npm, nodejs required): | ||||||
| # FAQ | # FAQ | ||||||
| ## 1.Will I get banned from using it?    | ## 1.Will I get banned from using it?    | ||||||
| 
 | 
 | ||||||
|  -You are breaking Discord ToS since we are using GooseMod for themes and plugins. But no one ever got banned from using ArmCord or GooseMod   |  -You are breaking Discord ToS since we are using GooseMod for themes and plugins. But no one ever got banned from using ArmCord or GooseMod as of now   | ||||||
| ## 2.How does this work?    | ## 2.How does this work?    | ||||||
| 
 | 
 | ||||||
|  -We are using official web app and adding GooseMod to it with some other tweaks.    |  -We are using official web app and adding GooseMod to it with some other tweaks.    | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										12
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -2229,9 +2229,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/electron": { |     "node_modules/electron": { | ||||||
|       "version": "12.0.6", |       "version": "12.0.9", | ||||||
|       "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.6.tgz", |       "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.9.tgz", | ||||||
|       "integrity": "sha512-+fqhpdG6Fd6LzsizMdaSPC1I8tfsMT8/7fsYBgABED3hEWdus/rt6CQ54P3/EWZyQebtyHR6HXtlofUqKMV3KQ==", |       "integrity": "sha512-p5aEt1tIh/PYjwN+6MHTc5HtW529XR9r4Qlj9PPcSb5ubkotSsS0BtWJoRPhDenSAN8sgHk3sbZLxXPJtdnRYA==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "hasInstallScript": true, |       "hasInstallScript": true, | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|  | @ -8866,9 +8866,9 @@ | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "electron": { |     "electron": { | ||||||
|       "version": "12.0.6", |       "version": "12.0.9", | ||||||
|       "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.6.tgz", |       "resolved": "https://registry.npmjs.org/electron/-/electron-12.0.9.tgz", | ||||||
|       "integrity": "sha512-+fqhpdG6Fd6LzsizMdaSPC1I8tfsMT8/7fsYBgABED3hEWdus/rt6CQ54P3/EWZyQebtyHR6HXtlofUqKMV3KQ==", |       "integrity": "sha512-p5aEt1tIh/PYjwN+6MHTc5HtW529XR9r4Qlj9PPcSb5ubkotSsS0BtWJoRPhDenSAN8sgHk3sbZLxXPJtdnRYA==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|       "requires": { |       "requires": { | ||||||
|         "@electron/get": "^1.0.1", |         "@electron/get": "^1.0.1", | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								preload.js
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								preload.js
									
										
									
									
									
								
							|  | @ -2,12 +2,13 @@ const customTitlebar = require("custom-electron-titlebar"); | ||||||
| const electronLocalshortcut = require("electron-localshortcut"); | const electronLocalshortcut = require("electron-localshortcut"); | ||||||
| const { remote } = require("electron"); | const { remote } = require("electron"); | ||||||
| const ArmCord = require("./utils/ArmCord.js"); | const ArmCord = require("./utils/ArmCord.js"); | ||||||
| require('./utils/theme.js') | 
 | ||||||
| window.addEventListener("DOMContentLoaded", () => { | window.addEventListener("DOMContentLoaded", () => { | ||||||
|   new customTitlebar.Titlebar({ |   new customTitlebar.Titlebar({ | ||||||
|     backgroundColor: customTitlebar.Color.fromHex("#202225"), |     backgroundColor: customTitlebar.Color.fromHex("#202225"), | ||||||
|     menu: false, |     menu: false, | ||||||
|   }); |   }); | ||||||
|  |    | ||||||
|   const currentWindow = remote.getCurrentWindow(); |   const currentWindow = remote.getCurrentWindow(); | ||||||
|   electronLocalshortcut.register(currentWindow, "F5", () => { |   electronLocalshortcut.register(currentWindow, "F5", () => { | ||||||
|     location.reload(); |     location.reload(); | ||||||
|  | @ -21,14 +22,8 @@ window.addEventListener("DOMContentLoaded", () => { | ||||||
|   electronLocalshortcut.register(currentWindow, "F2", () => { |   electronLocalshortcut.register(currentWindow, "F2", () => { | ||||||
|     window.location.href = "https://discord.com/invite/F25bc4RYDt"; |     window.location.href = "https://discord.com/invite/F25bc4RYDt"; | ||||||
|   }); |   }); | ||||||
|   electronLocalshortcut.register(currentWindow, "F3", () => { |  | ||||||
|     currentWindow.loadFile('theme.html') |  | ||||||
|   }); |  | ||||||
|   require("./utils/capturer.js"); |   require("./utils/capturer.js"); | ||||||
|   console.log( | 
 | ||||||
|     "%c ArmCord", |  | ||||||
|     "font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)" |  | ||||||
|   ); |  | ||||||
|   ArmCord.addStyle(` |   ArmCord.addStyle(` | ||||||
| @import url("https://kckarnige.github.io/femboi_owo/discord-font.css"); | @import url("https://kckarnige.github.io/femboi_owo/discord-font.css"); | ||||||
| :root { | :root { | ||||||
|  | @ -75,9 +70,6 @@ div.menubar[role="menubar"] { | ||||||
| .titlebar .window-controls-container .window-icon { | .titlebar .window-controls-container .window-icon { | ||||||
|   background: var(--window-buttons) !important; |   background: var(--window-buttons) !important; | ||||||
| } | } | ||||||
| .notice-3bPHh-.colorDefault-22HBa0 { |  | ||||||
|   display: none; |  | ||||||
| } |  | ||||||
| `);
 | `);
 | ||||||
| 
 | 
 | ||||||
|   ArmCord.addStyle( |   ArmCord.addStyle( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue