Add Scribd PDF Downloader under Scribd/

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michael-A-SloanandCursor committed 2026-05-15 10:44:57 -04:00
commit 5d2933ea95
28 files changed
+2159

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
"""PyInstaller runtime hook — configure paths when running as a frozen app."""
from __future__ import annotations
import os
import sys
def _app_dir() -> str:
if getattr(sys, "frozen", False):
return os.path.dirname(sys.executable)
return os.getcwd()
if getattr(sys, "frozen", False):
os.chdir(_app_dir())
os.environ.setdefault("PLAYWRIGHT_BROWSERS_PATH", "0")