Compare commits

1 Commits
0.1 ... master

Author SHA1 Message Date
7940bf4dda fix build-related issues 2026-02-14 19:43:05 -05:00
3 changed files with 10 additions and 1 deletions

3
build-linux.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
pyinstaller scrapist.py --clean -F --add-data "$(python -c 'import certifi; print(certifi.where())'):certifi"

View File

@@ -1,2 +1,3 @@
discord.py-self==2.1.0
pyinstaller==6.19.0
pyinstaller==6.19.0
certifi==2026.1.4

View File

@@ -2,6 +2,11 @@ import discord
import os
import argparse
from pathlib import Path
import certifi
# When running as PyInstaller bundle, point SSL to bundled certs
if getattr(sys, 'frozen', False):
os.environ['SSL_CERT_FILE'] = certifi.where()
parser = argparse.ArgumentParser(
prog="Scrapist",