This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"branches": { | |
"release": { | |
"type": "release" | |
}, | |
"dev": { | |
"type": "dev" | |
}, | |
"april-fools/2024": { | |
"type": "all", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Just video player */ | |
.ytp-cairo-refresh-signature-moments .ytp-play-progress { | |
background: #f03 !important; | |
} | |
/* Include thumbnail player */ | |
.ytp-cairo-refresh .ytp-swatch-background-color, .YtProgressBarLineProgressBarPlayedRefresh, ytd-thumbnail-overlay-resume-playback-renderer[enable-refresh-signature-moments-web] #progress.ytd-thumbnail-overlay-resume-playback-renderer { | |
background: var(--yt-spec-static-brand-red, #f03); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################### | |
# Author: mja00 | |
# Version: 1.0 | |
# Date: 2023-02-20 | |
# Description: TikTok Tikfinity Server Installer | |
#################################################### | |
# Check if winget is installed | |
$winget = Get-Command winget -ErrorAction SilentlyContinue | |
if ($winget -eq $null) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a list of java versions to pick from | |
$root_java = "C:\Program Files\Eclipse Adoptium" # This makes it easier to change the location of the java folder | |
$global:java_version_hashtable = [ordered]@{ | |
"8" = "jdk-8.0.312.7-hotspot" | |
"11" = "jdk-11.0.13.8-hotspot" | |
"16" = "jdk-16.0.2+7" | |
"17" = "jdk-17.0.1.12-hotspot" | |
"18" = "jdk-18.0.0.36-hotspot" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Downloads latest version and zips it into a nice little package :) | |
latestVersion=$(curl -X GET "https://papermc.io/api/v2/projects/paper" -H "accept: application/json" --silent | jq '.versions[-1]' | sed 's/"//g'); versionURL=$(echo "" | awk -v latestVersion="$latestVersion" '{print $1"https://papermc.io/api/v2/projects/paper/versions/"latestVersion}'); buildnumber=$(curl -X GET $versionURL -H "accept: application/json" --silent | jq '.builds[-1]'); buildurl=$(curl -X GET "https://papermc.io/api/v2/projects/paper/versions/${latestVersion}/builds/${buildnumber}" -H "accept: application/json" --silent | jq '.downloads.application.name' | sed 's/"//g' | awk -v latestversion="$latestVersion" -v buildnumber="$buildnumber" '{print "https://papermc.io/api/v2/projects/paper/versions/"latestversion"/builds/"buildnumber"/downloads/"$1}'); curl -JO $buildurl; jarname=$(find . -name *.jar -exec basename {} .jar \;); zip -m $jarname.zip `find . -name *.jar -print`; sha256sum $jarname.zip | |
# Downloads latest and doesn' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
latestVersion=$(curl -X GET "https://papermc.io/api/v2/projects/paper" -H "accept: application/json" --silent | jq '.versions[-1]' | sed 's/"//g'); versionURL=$(echo "" | awk -v latestVersion="$latestVersion" '{print $1"https://papermc.io/api/v2/projects/paper/versions/"latestVersion}'); buildnumber=$(curl -X GET $versionURL -H "accept: application/json" --silent | jq '.builds[-1]'); buildurl=$(curl -X GET "https://papermc.io/api/v2/projects/paper/versions/${latestVersion}/builds/${buildnumber}" -H "accept: application/json" --silent | jq '.downloads.application.name' | sed 's/"//g' | awk -v buildnumber="$buildnumber" -v latestVersion="$latestVersion" '{print "https://papermc.io/api/v2/projects/paper/versions/"latestVersion"/builds/"buildnumber"/downloads/"$1}'); curl -JO $buildurl |