mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Add a license header for OpenAsar version settings/version info injection
This commit is contained in:
		
							parent
							
								
									1489e213e5
								
							
						
					
					
						commit
						af84a2a625
					
				
					 2 changed files with 24 additions and 2 deletions
				
			
		|  | @ -73,7 +73,7 @@ ArmCord is also available on the Snap store [here](https://snapcraft.io/armcord) | ||||||
| [electron-discord-webapp](https://github.com/SpacingBat3/electron-discord-webapp)     | [electron-discord-webapp](https://github.com/SpacingBat3/electron-discord-webapp)     | ||||||
| [custom-electron-titlebar (css only)](https://github.com/AlexTorresSk/custom-electron-titlebar)     | [custom-electron-titlebar (css only)](https://github.com/AlexTorresSk/custom-electron-titlebar)     | ||||||
| [electron-builder](https://electron.build)   | [electron-builder](https://electron.build)   | ||||||
| [OpenAsar (~~stole~~ borrowed code for adding custom build info seemlessly)](https://github.com/GooseMod/OpenAsar)      | [OpenAsar](https://github.com/GooseMod/OpenAsar)      | ||||||
| # Sponsors | # Sponsors | ||||||
|  [](https://jb.gg/OpenSourceSupport) |  [](https://jb.gg/OpenSourceSupport) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -50,8 +50,30 @@ if (window.location.href.indexOf("splash.html") > -1) { | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  | /* | ||||||
|  | MIT License | ||||||
| 
 | 
 | ||||||
| // Settings info version injection (Stolen and modified from OpenAsar, mwuh ha ha ha ha >:D)
 | Copyright (c) 2022 GooseNest | ||||||
|  | 
 | ||||||
|  | Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
|  | of this software and associated documentation files (the "Software"), to deal | ||||||
|  | in the Software without restriction, including without limitation the rights | ||||||
|  | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||||
|  | copies of the Software, and to permit persons to whom the Software is | ||||||
|  | furnished to do so, subject to the following conditions: | ||||||
|  | 
 | ||||||
|  | The above copyright notice and this permission notice shall be included in all | ||||||
|  | copies or substantial portions of the Software. | ||||||
|  | 
 | ||||||
|  | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||||
|  | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||||
|  | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||||
|  | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||||
|  | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||||
|  | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||||
|  | SOFTWARE. | ||||||
|  | */ | ||||||
|  | // Settings info version injection
 | ||||||
| setInterval(() => { | setInterval(() => { | ||||||
|     const host = document.getElementsByClassName("info-3pQQBb")[0]; |     const host = document.getElementsByClassName("info-3pQQBb")[0]; | ||||||
|     if (!host || document.querySelector("#ac-ver")) return; |     if (!host || document.querySelector("#ac-ver")) return; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue