๐
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
| // Import required modules using ESM syntax | |
| import fs from "fs/promises"; // Use the promises-based API | |
| import path from "path"; | |
| import process from "process"; // Required for argv and exit | |
| // --- Configuration --- | |
| // Get the filename from the command line arguments | |
| // process.argv[0] is 'node' | |
| // process.argv[1] is the script file (e.g., 'replace.js') |
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
| #!/bin/bash | |
| set -e | |
| # === CONFIGURATION === | |
| VERSION="1.7.3" | |
| USER_NAME="$(whoami)" | |
| GITHUB_USER="hayd1n" # <--- Your GitHub username here | |
| # === Detect OS === |
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
| {"lastUpload":"2021-07-11T05:06:13.489Z","extensionVersion":"v3.4.3"} |