Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
7940bf4dda
|
3
build-linux.sh
Normal file
3
build-linux.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pyinstaller scrapist.py --clean -F --add-data "$(python -c 'import certifi; print(certifi.where())'):certifi"
|
||||
@@ -1,2 +1,3 @@
|
||||
discord.py-self==2.1.0
|
||||
pyinstaller==6.19.0
|
||||
pyinstaller==6.19.0
|
||||
certifi==2026.1.4
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user