Rewrite #30

Merged
S4NKALP merged 506 commits from dev into macos 2026-07-18 16:11:08 +00:00
Showing only changes of commit f6505d9a01 - Show all commits
+9 -2
View File
@@ -1,10 +1,17 @@
import ctypes
import html
import json
import os
import threading
from typing import Dict, List, Optional
from loguru import logger
from fabric.utils import logger, os
# Function to set the process name
def set_process_name(name: str):
libc = ctypes.CDLL("libc.so.6")
libc.prctl(15, name.encode("utf-8"), 0, 0, 0)
# Threading helper functions