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 os | |
def main(): | |
user_home = os.path.expanduser("~") | |
search_folder = os.path.join(user_home, "Library") | |
for root, folders, files in os.walk(search_folder): | |
for f in files: | |
if f == "Local State": | |
path = os.path.join(root, f) | |
print(f"Local State Found - {path}") |
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
""" | |
electron_patcher.py: Enforce 'use-angle@1' in Chrome and Electron applications | |
Version 1.0.1 (2025-02-12) | |
""" | |
import enum | |
import json | |
from pathlib import Path |