d0918c92e4
* #87 fix ssl comicvine communication * handle missing libunrar. update macos makefile. remove version check window. bump version. * update release notes * #87 fix ssl context in several places. update comicvine api url. * fix drag and drop issues on macOS * bump version to 1.1.16-beta-rc2 * use PNG conversion for Windows build
21 lines
491 B
Python
Executable File
21 lines
491 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
if getattr(sys, 'frozen', False):
|
|
# we are running in a bundle
|
|
frozen = 'ever so'
|
|
bundle_dir = sys._MEIPASS
|
|
else:
|
|
# we are running in a normal Python environment
|
|
bundle_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
# setup libunrar
|
|
if not os.environ.get("UNRAR_LIB_PATH", None):
|
|
os.environ["UNRAR_LIB_PATH"] = bundle_dir + "/libunrar.so"
|
|
|
|
from comictaggerlib.main import ctmain
|
|
|
|
if __name__ == '__main__':
|
|
ctmain()
|