Updated telemetry to support game dumps.
This commit is contained in:
@@ -7,10 +7,12 @@ import argparse
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
||||
if str(PROJECT_ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(PROJECT_ROOT))
|
||||
if __package__:
|
||||
from .repository_paths import SOURCE_ROOT, ensure_project_imports
|
||||
else:
|
||||
from repository_paths import SOURCE_ROOT, ensure_project_imports
|
||||
|
||||
ensure_project_imports()
|
||||
from scripts.release_lib import ReleaseToolError, verify_signature # noqa: E402
|
||||
|
||||
|
||||
@@ -21,7 +23,7 @@ def main() -> int:
|
||||
parser.add_argument(
|
||||
"--public-key",
|
||||
type=Path,
|
||||
default=PROJECT_ROOT / "ptlinux/launcher-update-public.pem",
|
||||
default=SOURCE_ROOT / "ptlinux/launcher-update-public.pem",
|
||||
)
|
||||
arguments = parser.parse_args()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user