Updated FlameCord download URL
This has also resulted in the removal of version specification - explanation in pull request.
This commit is contained in:
		
							parent
							
								
									d696661167
								
							
						
					
					
						commit
						77b62d525d
					
				@ -29,21 +29,12 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "scripts": {
 | 
					    "scripts": {
 | 
				
			||||||
        "installation": {
 | 
					        "installation": {
 | 
				
			||||||
            "script": "#!\/bin\/bash\r\n# FlameCord Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl\r\n\r\n# Get download link\r\nif [ -z \"${FLAMECORD_VERSION}\" ] || [ \"${FLAMECORD_VERSION}\" == \"latest\" ]; then\r\n    echo -e \"Downloading latest FlameCord build\"\r\n    DOWNLOAD_URL=https:\/\/ci.2lstudios.dev\/job\/FlameCord\/lastSuccessfulBuild\/artifact\/FlameCord-Proxy\/bootstrap\/target\/FlameCord.jar\r\nelse \r\n    echo -e \"Downloading FlameCord build ${FLAMECORD_VERSION}\"\r\n    DOWNLOAD_URL=https:\/\/ci.2lstudios.dev\/job\/FlameCord\/${FLAMECORD_VERSION}\/artifact\/FlameCord-Proxy\/bootstrap\/target\/FlameCord.jar\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\necho -e \"curl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\"\r\n\r\nif [ -f ${SERVER_JARFILE} ]; then\r\n\tmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\n\r\ncurl -L ${DOWNLOAD_URL} -o ${SERVER_JARFILE}\r\necho \"Install complete\"",
 | 
					            "script": "#!\/bin\/bash\r\n# FlameCord Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl unzip\r\n# Get download link\r\necho -e \"Downloading latest FlameCord build\"\r\nDOWNLOAD_URL=https:\/\/nightly.link\/Permanently\/FlameCord\/workflows\/flamecord-build\/master\/FlameCord-JDK11.zip\r\ncd \/mnt\/server\r\necho -e \"curl -L ${DOWNLOAD_URL} -o flamecord.zip\"\r\ncurl -L ${DOWNLOAD_URL} -o flamecord.zip\r\nif [ -f ${SERVER_JARFILE} ]; then\r\nmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\nfi\r\nunzip flamecord.zip\r\nmv FlameCord.jar ${SERVER_JARFILE}\r\nrm flamecord.zip\r\necho \"Install complete\"",
 | 
				
			||||||
            "container": "debian:buster-slim",
 | 
					            "container": "debian:buster-slim",
 | 
				
			||||||
            "entrypoint": "bash"
 | 
					            "entrypoint": "bash"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "variables": [
 | 
					    "variables": [
 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            "name": "Flamecord Version",
 | 
					 | 
				
			||||||
            "description": "The build to pull and install. (Ex. 97), or set to latest.\r\n\r\nYou can find all builds on https:\/\/ci.2lstudios.dev\/job\/FlameCord\/",
 | 
					 | 
				
			||||||
            "env_variable": "FLAMECORD_VERSION",
 | 
					 | 
				
			||||||
            "default_value": "latest",
 | 
					 | 
				
			||||||
            "user_viewable": true,
 | 
					 | 
				
			||||||
            "user_editable": true,
 | 
					 | 
				
			||||||
            "rules": "required|string"
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "FlameCord Jar File",
 | 
					            "name": "FlameCord Jar File",
 | 
				
			||||||
            "description": "The name of the jar file to use when running FlameCord.",
 | 
					            "description": "The name of the jar file to use when running FlameCord.",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user