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
# Big thanks to the original creator of this script, IamLukeVice: https://www.reddit.com/user/IamLukeVice | |
# | |
# Copy all this content, paste in notepad and save as a ps1 file, example: Fix-Fornite-Replays.ps1 | |
# Then, open the folder containing the script, right click it and choose: Run With Powershell | |
# If it doesnt run, follow this: https://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts | |
# | |
# Script to delete duplicate replay files: https://gist.github.com/fredimachado/1a3d36f34e786a423328a347ff11215a | |
$LocalAppDataFolder = "$env:LOCALAPPDATA" | |
$FortniteReplaysFolder = $LocalAppDataFolder + "\FortniteGame\Saved\Demos" | |
$count = 0 |
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
# !! USE IT AT YOUR OWN RISK !! | |
# | |
# Run this script after Fixing the replay files and making sure you can watch them in the game | |
# This script will delete duplicate replay files based on the date on the name of the file | |
# | |
# Script to fix replay files: https://gist.github.com/fredimachado/19a489f6dccdb9e2d18b482bed87059d | |
# | |
# Copy all this content, paste in notepad and save as a ps1 file, example: Delete-Duplicate-Fortnite-Replays.ps1 | |
# Then, open the folder containing the script, right click it and choose: Run With Powershell | |
# If it doesnt run, follow this: https://superuser.com/questions/106360/how-to-enable-execution-of-powershell-scripts |
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
# !! USE IT AT YOUR OWN RISK !! | |
# | |
# Run this script after Fixing the replay files and deleting duplicate ones | |
# This script will remove the `fixed-` prefix(es) from the files | |
# NOTE: If you run this before fixing and deleting duplicate files you will get erros due to duplicate files | |
# | |
# Script to fix replay files: https://gist.github.com/fredimachado/19a489f6dccdb9e2d18b482bed87059d | |
# Script to delete duplicate replay files: https://gist.github.com/fredimachado/1a3d36f34e786a423328a347ff11215a | |
# | |
# Copy all this content, paste in notepad and save as a ps1 file, example: Rename-Fornite-Replays.ps1 |
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
$global:DefaultUser = 'Fredi' | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
Import-Module Terminal-Icons | |
Import-Module oh-my-posh | |
Set-PoshPrompt -Theme ~/myparadox.omp.json |
OlderNewer