mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	switch to armcord.app
This commit is contained in:
		
							parent
							
								
									e773d97c9d
								
							
						
					
					
						commit
						04e980f3e3
					
				
					 9 changed files with 16 additions and 16 deletions
				
			
		|  | @ -38,7 +38,7 @@ SOFTWARE.*/ | |||
|     font-family: Whitney; | ||||
|     font-weight: 400; | ||||
|     font-style: normal; | ||||
|     src: url(https://armcord.xyz/whitney_400.woff) format("woff"); | ||||
|     src: url(https://armcord.app/whitney_400.woff) format("woff"); | ||||
| } | ||||
| 
 | ||||
| html, | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ | |||
|     font-family: Whitney; | ||||
|     font-weight: 400; | ||||
|     font-style: normal; | ||||
|     src: url(https://armcord.xyz/whitney_400.woff) format("woff"); | ||||
|     src: url(https://armcord.app/whitney_400.woff) format("woff"); | ||||
| } | ||||
| 
 | ||||
| html, | ||||
|  |  | |||
|  | @ -31,7 +31,7 @@ SOFTWARE.*/ | |||
|     font-family: Whitney; | ||||
|     font-weight: 400; | ||||
|     font-style: normal; | ||||
|     src: url(https://armcord.xyz/whitney_400.woff) format("woff"); | ||||
|     src: url(https://armcord.app/whitney_400.woff) format("woff"); | ||||
| } | ||||
| 
 | ||||
| html, | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ | |||
|                 font-family: Whitney; | ||||
|                 font-weight: 200; | ||||
|                 font-style: normal; | ||||
|                 src: url(https://armcord.xyz/whitney_400.woff) format("woff"); | ||||
|                 src: url(https://armcord.app/whitney_400.woff) format("woff"); | ||||
|             } | ||||
| 
 | ||||
|             * { | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
| import {ipcRenderer} from "electron"; | ||||
| import {injectJS} from "../utils"; | ||||
| 
 | ||||
| const patchEndpoint = "https://patch.armcord.xyz"; | ||||
| const patchEndpoint = "https://patch.armcord.app"; | ||||
| const version = ipcRenderer.sendSync("get-app-version", "app-version"); | ||||
| if (ipcRenderer.sendSync("shouldPatch")) { | ||||
|     document.addEventListener("DOMContentLoaded", function () { | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ | |||
|     <body> | ||||
|         <div class="container"> | ||||
|             <video autoplay loop class="logo" id="splashscreen-armcord"> | ||||
|                 <source src="https://armcord.xyz/discord_loading.webm" type="video/webm" /> | ||||
|                 <source src="https://armcord.app/discord_loading.webm" type="video/webm" /> | ||||
|             </video> | ||||
|             <p id="text-splashscreen"></p> | ||||
|         </div> | ||||
|  | @ -33,12 +33,12 @@ | |||
|                 if (window.internal.version === "3.3.0") { | ||||
|                     console.log("Running a development build of ArmCord. Skipping updater."); | ||||
|                 } else { | ||||
|                     const response = await fetch("https://armcord.xyz/latest.json"); | ||||
|                     const response = await fetch("https://armcord.app/latest.json"); | ||||
|                     const data = await response.json(); | ||||
|                     if (data.version !== window.internal.version) { | ||||
|                         var elem = document.createElement("img"); | ||||
|                         elem.classList.add("logo"); | ||||
|                         elem.src = "https://armcord.xyz/update.webp"; | ||||
|                         elem.src = "https://armcord.app/update.webp"; | ||||
|                         document.body.prepend(elem); | ||||
|                         document.getElementById("splashscreen-armcord").remove(); | ||||
|                         text.innerHTML = await internal.getLang("loading_screen_update"); | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ | |||
|                 font-family: Whitney; | ||||
|                 font-weight: 200; | ||||
|                 font-style: normal; | ||||
|                 src: url(https://armcord.xyz/whitney_400.woff) format("woff"); | ||||
|                 src: url(https://armcord.app/whitney_400.woff) format("woff"); | ||||
|             } | ||||
| 
 | ||||
|             * { | ||||
|  |  | |||
|  | @ -338,8 +338,8 @@ async function updateModBundle(): Promise<void> { | |||
|             }; | ||||
|             const clientModsCss = { | ||||
|                 vencord: "https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.css", | ||||
|                 cordwood: "https://armcord.xyz/placeholder.css", | ||||
|                 shelter: "https://armcord.xyz/placeholder.css" | ||||
|                 cordwood: "https://armcord.app/placeholder.css", | ||||
|                 shelter: "https://armcord.app/placeholder.css" | ||||
|             }; | ||||
|             let bundle: string = await (await fetch(clientMods[name as keyof typeof clientMods])).text(); | ||||
|             fs.writeFileSync(`${distFolder}bundle.js`, bundle, "utf-8"); | ||||
|  | @ -376,7 +376,7 @@ export async function installModLoader(): Promise<void> { | |||
|                     fs.mkdirSync(pluginFolder); | ||||
|                     console.log("[Mod loader] Created missing plugin folder"); | ||||
|                 } | ||||
|                 let loaderZip = await fetch("https://armcord.xyz/loader.zip"); | ||||
|                 let loaderZip = await fetch("https://armcord.app/loader.zip"); | ||||
|                 if (!loaderZip.ok) throw new Error(`unexpected response ${loaderZip.statusText}`); | ||||
|                 await streamPipeline(loaderZip.body, fs.createWriteStream(zipPath)); | ||||
|                 await extract(zipPath, {dir: path.join(app.getPath("userData"), "plugins")}); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue