This file contains 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 os | |
import platform | |
# Get the operating system | |
system = platform.system() | |
# Set the path to the log file based on the operating system | |
if system == 'Windows': | |
log_path = os.path.join(os.environ['USERPROFILE'], 'AppData', 'LocalLow', 'bitrich', 'Rail Route', 'Player.log') | |
elif system == 'Linux': |
This file contains 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
// Version 1.4.7 | |
// 03.02.2023 | |
// | |
// Original von marco79cgn | |
// | |
// Mit Caching und Fallback | |
// Neue API mit TSV-Parsing | |
// Dark-Mode Unterstützung | |
// Dark-Mode kann nun deaktiviert werden | |
// Bei deaktivierung kann man auch auswählen ob man dauerhaft den Dark- oder Lightmode möchte |