Compare commits

..

No commits in common. "main" and "v1.0" have entirely different histories.
main ... v1.0

1 changed files with 2 additions and 21 deletions

23
drax.sh
View File

@ -18,6 +18,7 @@ if [ "$command" = "inject roblox" ]; then
# Creating folder and file for Roblox (if needed) # Creating folder and file for Roblox (if needed)
mkdir -p /Applications/Roblox.app/Contents/MacOS/ClientSettings mkdir -p /Applications/Roblox.app/Contents/MacOS/ClientSettings
echo ' echo '
{ {
"FFlagDebugGraphicsPreferVulkan": true, "FFlagDebugGraphicsPreferVulkan": true,
"FFlagDebugGraphicsDisableMetal": true, "FFlagDebugGraphicsDisableMetal": true,
@ -744,6 +745,7 @@ if [ "$command" = "inject roblox" ]; then
"FFlagDisableDynamicCollisions":true "FFlagDisableDynamicCollisions":true
} }
' > /Applications/Roblox.app/Contents/MacOS/ClientSettings/ClientAppSettings.json ' > /Applications/Roblox.app/Contents/MacOS/ClientSettings/ClientAppSettings.json
echo "Injected Roblox successfully." echo "Injected Roblox successfully."
@ -768,27 +770,6 @@ elif [ "$command" = "inject brawlhalla" ]; then
else else
echo "Brawlhalla app ID not found. Make sure Brawlhalla is installed via Steam." echo "Brawlhalla app ID not found. Make sure Brawlhalla is installed via Steam."
fi fi
elif [ "$command" = "inject eso" ]; then
echo "Modifying Elder Scrolls Online settings..."
settings_file="$HOME/Documents/Elder Scrolls Online/live/UserSettings.txt"
# Check if the line 'Set MinFrameTime.2' exists and delete it if found
if grep -q 'Set MinFrameTime.2' "$settings_file"; then
echo "Deleting existing settings, and updating..."
sed -i '' '/Set MinFrameTime\.2/d' "$settings_file"
fi
# Add the new setting regardless
echo 'Set MinFrameTime.2 "0.00416667"' >> "$settings_file"
echo "Injected Elder Scrolls Online successfully."
elif [ "$command" = "help" ]; then
echo "inject roblox/brawlhalla/eso | FPS unlocker installs for Roblox/Brawlhalla/Elder Scrolls Online."
else else
echo "Command not recognized." echo "Command not recognized."
fi fi