mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Bump version add changes from https://github.com/kckarnige/armcord thanks
This commit is contained in:
		
							parent
							
								
									1cac042ed5
								
							
						
					
					
						commit
						09a1b388e3
					
				
					 3 changed files with 21 additions and 7 deletions
				
			
		
							
								
								
									
										2
									
								
								main.js
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.js
									
										
									
									
									
								
							|  | @ -8,7 +8,7 @@ require("./utils/updater"); | ||||||
| 
 | 
 | ||||||
| if (os.type() == 'Linux'){ | if (os.type() == 'Linux'){ | ||||||
|   var iconformat = __dirname + "/discord.png"  |   var iconformat = __dirname + "/discord.png"  | ||||||
| } else { | } else { //test this 
 | ||||||
|   console.log("Running Non-Linux") |   console.log("Running Non-Linux") | ||||||
|   var iconformat = __dirname + "/discord.ico"; |   var iconformat = __dirname + "/discord.ico"; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| { | { | ||||||
|   "name": "armcord", |   "name": "armcord", | ||||||
|   "version": "2.3.3", |   "version": "2.4.0", | ||||||
|   "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.", |   "description": "ArmCord is a Discord client made for ARM Linux that allows you to customize your experience.", | ||||||
|   "main": "main.js", |   "main": "main.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  |  | ||||||
							
								
								
									
										24
									
								
								preload.js
									
										
									
									
									
								
							
							
						
						
									
										24
									
								
								preload.js
									
										
									
									
									
								
							|  | @ -26,10 +26,20 @@ electronLocalshortcut.register(currentWindow, "F5", () => { | ||||||
| electronLocalshortcut.register(currentWindow, "F12", () => { | electronLocalshortcut.register(currentWindow, "F12", () => { | ||||||
|   currentWindow.webContents.openDevTools(); |   currentWindow.webContents.openDevTools(); | ||||||
| }); | }); | ||||||
|  | electronLocalshortcut.register(currentWindow, "F1", () => { | ||||||
|  |   require("shell").openExternal("https://support.discord.com/"); | ||||||
|  | }); | ||||||
|  | electronLocalshortcut.register(currentWindow, "F2", () => { | ||||||
|  |   window.location.href = "https://discord.com/invite/F25bc4RYDt"; | ||||||
|  | }); | ||||||
| require("./utils/capturer.js") | require("./utils/capturer.js") | ||||||
| addStyle(` | addStyle(` | ||||||
| @import url("https://kckarnige.github.io/femboi_owo/discord-font.css"); | @import url("https://kckarnige.github.io/femboi_owo/discord-font.css"); | ||||||
| 
 | :root { | ||||||
|  |   --window-buttons: var(--header-secondary); | ||||||
|  |   --cord-color: var(--header-primary); | ||||||
|  |   --armcord-color: #7289da; | ||||||
|  | } | ||||||
| .base-3dtUhz, .sidebar-2K8pFh { | .base-3dtUhz, .sidebar-2K8pFh { | ||||||
|   display: -webkit-box; |   display: -webkit-box; | ||||||
|   display: -ms-flexbox; |   display: -ms-flexbox; | ||||||
|  | @ -47,7 +57,7 @@ div.menubar[role="menubar"] { | ||||||
| 
 | 
 | ||||||
| .window-title:after { | .window-title:after { | ||||||
|   content: "Cord"; |   content: "Cord"; | ||||||
|   color: #fff; |   color: var(--cord-color) !important; | ||||||
|   font-weight: normal; |   font-weight: normal; | ||||||
|   font-size: 14px; |   font-size: 14px; | ||||||
|   font-family: Discordinated; |   font-family: Discordinated; | ||||||
|  | @ -55,7 +65,7 @@ div.menubar[role="menubar"] { | ||||||
| 
 | 
 | ||||||
| .window-title:before { | .window-title:before { | ||||||
|   content: "ARM"; |   content: "ARM"; | ||||||
|   color: #7289da; |   color: var(--armcord-color); | ||||||
|   font-weight: normal; |   font-weight: normal; | ||||||
|   font-size: 14px; |   font-size: 14px; | ||||||
|   font-family: Helvetica, sans-serif; |   font-family: Helvetica, sans-serif; | ||||||
|  | @ -67,8 +77,12 @@ div.menubar[role="menubar"] { | ||||||
|   transform: translate(10px, 2px) !important; |   transform: translate(10px, 2px) !important; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .titlebar { | background: #202225 !important; | ||||||
|   background: #202225 !important; |   background: var(--background-tertiary) !important; | ||||||
|  |   font-family: Verdana, Geneva, Tahoma, sans-serif; | ||||||
|  | } | ||||||
|  | .titlebar .window-controls-container .window-icon { | ||||||
|  |   background: var(--window-buttons) !important; | ||||||
| } | } | ||||||
| `);
 | `);
 | ||||||
| }) | }) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue