Update vencord and update script
This commit is contained in:
@@ -3,42 +3,30 @@
|
|||||||
YELLOW="\e[33m"
|
YELLOW="\e[33m"
|
||||||
NC="\e[0m"
|
NC="\e[0m"
|
||||||
|
|
||||||
if command -v paru >/dev/null 2>&1; then
|
printf "%b\n" "${YELLOW}[+]${NC} Updating Arch using paru..."
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Updating Arch using paru..."
|
paru
|
||||||
paru
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Removing orphaned dependencies..."
|
|
||||||
sudo pacman -Rsn $(pacman -Qdtq)
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Checking for config changes..."
|
|
||||||
sudo pacdiff
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Checking for vulnerabilities..."
|
|
||||||
arch-audit -u
|
|
||||||
elif command -v pacman >/dev/null 2>&1; then
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Updating Arch..."
|
|
||||||
sudo pacman -Syu
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Removing orphaned dependencies..."
|
|
||||||
sudo pacman -Rsn $(pacman -Qdtq)
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Checking for config changes..."
|
|
||||||
sudo pacdiff
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Checking for vulnerabilities..."
|
|
||||||
arch-audit -u
|
|
||||||
elif command -v apt >/dev/null 2>&1; then
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Updating repos..."
|
|
||||||
sudo apt-get update
|
|
||||||
printf "%b" "${NC}"
|
|
||||||
|
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Upgrading packages..."
|
printf "%b\n" "${YELLOW}[+]${NC} Updating CPU microcode..."
|
||||||
sudo apt-get full-upgrade
|
vendor=$(grep -m 1 'vendor_id' /proc/cpuinfo | awk '{print $3}')
|
||||||
printf "%b" "${NC}"
|
if [ "$vendor" == "GenuineIntel" ]; then
|
||||||
|
echo "CPU Detected: Intel"
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Removing orphaned dependencies..."
|
paru -S intel-ucode --needed
|
||||||
sudo apt-get autoremove
|
elif [ "$vendor" == "AuthenticAMD" ]; then
|
||||||
printf "%b" "${NC}"
|
echo "CPU Detected: AMD"
|
||||||
|
paru -S amd-ucode --needed
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Cleaning up..."
|
else
|
||||||
sudo apt-get autoclean
|
echo "Unknown CPU Vendor: $vendor"
|
||||||
printf "%b" "${NC}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "%b\n" "${YELLOW}[+]${NC} Removing orphaned dependencies..."
|
||||||
|
sudo pacman -Rsn $(pacman -Qdtq)
|
||||||
|
|
||||||
|
printf "%b\n" "${YELLOW}[+]${NC} Checking for config changes..."
|
||||||
|
sudo pacdiff
|
||||||
|
|
||||||
|
printf "%b\n" "${YELLOW}[+]${NC} Checking for vulnerabilities..."
|
||||||
|
arch-audit -u
|
||||||
|
|
||||||
if command -v flatpak >/dev/null 2>&1; then
|
if command -v flatpak >/dev/null 2>&1; then
|
||||||
printf "%b\n" "${YELLOW}[+]${NC} Updating flatpak packages..."
|
printf "%b\n" "${YELLOW}[+]${NC} Updating flatpak packages..."
|
||||||
flatpak update
|
flatpak update
|
||||||
|
|||||||
@@ -2,17 +2,18 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"autoUpdate": true,
|
"autoUpdate": true,
|
||||||
"autoUpdateNotification": true,
|
"autoUpdateNotification": true,
|
||||||
"useQuickCss": false,
|
"useQuickCss": true,
|
||||||
"themeLinks": [],
|
"themeLinks": [],
|
||||||
"enabledThemes": [
|
"enabledThemes": [
|
||||||
"trude.theme.css"
|
"trude.theme.css"
|
||||||
],
|
],
|
||||||
"enableReactDevtools": false,
|
"enableReactDevtools": true,
|
||||||
"frameless": false,
|
"frameless": false,
|
||||||
"transparent": false,
|
"transparent": false,
|
||||||
"winCtrlQ": false,
|
"winCtrlQ": false,
|
||||||
"disableMinSize": true,
|
"disableMinSize": true,
|
||||||
"winNativeTitleBar": false,
|
"winNativeTitleBar": false,
|
||||||
|
"localPlugins": true,
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"ChatInputButtonAPI": {
|
"ChatInputButtonAPI": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
@@ -93,15 +94,17 @@
|
|||||||
"copyRoleColorInProfilePopout": false
|
"copyRoleColorInProfilePopout": false
|
||||||
},
|
},
|
||||||
"BetterSessions": {
|
"BetterSessions": {
|
||||||
"enabled": false
|
"enabled": true,
|
||||||
|
"backgroundCheck": false
|
||||||
},
|
},
|
||||||
"BetterSettings": {
|
"BetterSettings": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"disableFade": true,
|
"disableFade": true,
|
||||||
"eagerLoad": true
|
"eagerLoad": true,
|
||||||
|
"organizeMenu": true
|
||||||
},
|
},
|
||||||
"BetterUploadButton": {
|
"BetterUploadButton": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"BiggerStreamPreview": {
|
"BiggerStreamPreview": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
@@ -134,7 +137,7 @@
|
|||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"CopyEmojiMarkdown": {
|
"CopyEmojiMarkdown": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"CopyFileContents": {
|
"CopyFileContents": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
@@ -172,9 +175,6 @@
|
|||||||
"DontRoundMyTimestamps": {
|
"DontRoundMyTimestamps": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"EmoteCloner": {
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
"Experiments": {
|
"Experiments": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"toolbarDevMenu": false
|
"toolbarDevMenu": false
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"GameActivityToggle": {
|
"GameActivityToggle": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"oldIcon": false
|
"oldIcon": false
|
||||||
},
|
},
|
||||||
"GifPaste": {
|
"GifPaste": {
|
||||||
@@ -258,7 +258,17 @@
|
|||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"LastFMRichPresence": {
|
"LastFMRichPresence": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"shareUsername": false,
|
||||||
|
"shareSong": true,
|
||||||
|
"hideWithSpotify": true,
|
||||||
|
"hideWithActivity": false,
|
||||||
|
"statusName": "some music",
|
||||||
|
"statusDisplayType": "off",
|
||||||
|
"nameFormat": "status-name",
|
||||||
|
"useListeningStatus": false,
|
||||||
|
"missingArt": "lastfmLogo",
|
||||||
|
"showLastFmLogo": true
|
||||||
},
|
},
|
||||||
"LoadingQuotes": {
|
"LoadingQuotes": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -271,7 +281,8 @@
|
|||||||
"MemberCount": {
|
"MemberCount": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"memberList": true,
|
"memberList": true,
|
||||||
"toolTip": true
|
"toolTip": true,
|
||||||
|
"voiceActivity": true
|
||||||
},
|
},
|
||||||
"MentionAvatars": {
|
"MentionAvatars": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -287,7 +298,8 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"latency": 2,
|
"latency": 2,
|
||||||
"detectDiscordKotlin": true,
|
"detectDiscordKotlin": true,
|
||||||
"showMillis": false
|
"showMillis": false,
|
||||||
|
"ignoreSelf": false
|
||||||
},
|
},
|
||||||
"MessageLinkEmbeds": {
|
"MessageLinkEmbeds": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -380,7 +392,7 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"NoF1": {
|
"NoF1": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"NoMaskedUrlPaste": {
|
"NoMaskedUrlPaste": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
@@ -491,7 +503,7 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"ReadAllNotificationsButton": {
|
"ReadAllNotificationsButton": {
|
||||||
"enabled": true
|
"enabled": false
|
||||||
},
|
},
|
||||||
"RelationshipNotifier": {
|
"RelationshipNotifier": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -568,7 +580,8 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"mode": "nick-user",
|
"mode": "nick-user",
|
||||||
"displayNames": false,
|
"displayNames": false,
|
||||||
"inReplies": true
|
"inReplies": true,
|
||||||
|
"friendNicknames": "dms"
|
||||||
},
|
},
|
||||||
"ShowTimeoutDuration": {
|
"ShowTimeoutDuration": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
@@ -578,10 +591,10 @@
|
|||||||
"persistState": false
|
"persistState": false
|
||||||
},
|
},
|
||||||
"SilentTyping": {
|
"SilentTyping": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"showIcon": false,
|
"showIcon": true,
|
||||||
"contextMenu": true,
|
"contextMenu": true,
|
||||||
"isEnabled": true
|
"isEnabled": false
|
||||||
},
|
},
|
||||||
"SortFriendRequests": {
|
"SortFriendRequests": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -670,8 +683,7 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"VcNarrator": {
|
"VcNarrator": {
|
||||||
"enabled": true,
|
"enabled": false,
|
||||||
"voice": "Google US English",
|
|
||||||
"volume": 1,
|
"volume": 1,
|
||||||
"rate": 1,
|
"rate": 1,
|
||||||
"sayOwnName": false,
|
"sayOwnName": false,
|
||||||
@@ -720,7 +732,21 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"XSOverlay": {
|
"XSOverlay": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"webSocketPort": 42070,
|
||||||
|
"preferUDP": false,
|
||||||
|
"botNotifications": false,
|
||||||
|
"serverNotifications": true,
|
||||||
|
"dmNotifications": true,
|
||||||
|
"groupDmNotifications": true,
|
||||||
|
"callNotifications": true,
|
||||||
|
"pingColor": "#7289da",
|
||||||
|
"channelPingColor": "#8a2be2",
|
||||||
|
"soundPath": "default",
|
||||||
|
"timeout": 3,
|
||||||
|
"lengthBasedTimeout": true,
|
||||||
|
"opacity": 1,
|
||||||
|
"volume": 0.2
|
||||||
},
|
},
|
||||||
"NoTrack": {
|
"NoTrack": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -742,7 +768,7 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"FixImagesQuality": {
|
"FixImagesQuality": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"AppleMusicRichPresence": {
|
"AppleMusicRichPresence": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -776,7 +802,7 @@
|
|||||||
},
|
},
|
||||||
"ShikiCodeblocks": {
|
"ShikiCodeblocks": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"theme": "https://raw.githubusercontent.com/shikijs/textmate-grammars-themes/2d87559c7601a928b9f7e0f0dda243d2fb6d4499/packages/tm-themes/themes/catppuccin-mocha.json",
|
"theme": "https://raw.githubusercontent.com/shikijs/textmate-grammars-themes/2d87559c7601a928b9f7e0f0dda243d2fb6d4499/packages/tm-themes/themes/dark-plus.json",
|
||||||
"tryHljs": "SECONDARY",
|
"tryHljs": "SECONDARY",
|
||||||
"useDevIcon": "GREYSCALE",
|
"useDevIcon": "GREYSCALE",
|
||||||
"bgOpacity": 100
|
"bgOpacity": 100
|
||||||
@@ -794,10 +820,19 @@
|
|||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"HideMedia": {
|
"HideMedia": {
|
||||||
"enabled": false
|
"enabled": true
|
||||||
},
|
},
|
||||||
"DisableDeepLinks": {
|
"DisableDeepLinks": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
},
|
||||||
|
"ExpressionCloner": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"CopyStickerLinks": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"ImageFilename": {
|
||||||
|
"enabled": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
@@ -811,8 +846,8 @@
|
|||||||
"authenticated": false,
|
"authenticated": false,
|
||||||
"url": "https://api.vencord.dev/",
|
"url": "https://api.vencord.dev/",
|
||||||
"settingsSync": false,
|
"settingsSync": false,
|
||||||
"settingsSyncVersion": 1748808073030
|
"settingsSyncVersion": 1764014321902
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"quickCss": "\n"
|
"quickCss": ".buttons__74017 {\n position: fixed !important;\n top: 8px !important;\n right: 100px !important; /* distance from inbox button */\n z-index: 1000 !important;\n display: flex !important;\n flex-direction: row !important;\n align-items: center !important;\n justify-content: flex-end !important; /* align icons to the right */\n gap: 4px !important;\n height: 1rem;\n}\n"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user