1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 15:06:59 -05:00

Merge pull request #51 from deathbybandaid/dev

Drop Support For Windows
This commit is contained in:
Deathbybandaid 2020-11-13 15:17:58 -05:00 committed by GitHub
commit 261bf042f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -28,3 +28,5 @@ Please Check the repository wiki for Installation information.
Officially marking this Fork as Beta. Officially marking this Fork as Beta.
Join us in `#fHDHR <irc://irc.freenode.net/#fHDHR>`_ on Freenode. Join us in `#fHDHR <irc://irc.freenode.net/#fHDHR>`_ on Freenode.
Due to multiple issues, I'm dropping support for Windows. Sorry. I'll accept PRs to alleviate this.

View File

@ -3,6 +3,7 @@ import sys
import argparse import argparse
import time import time
import multiprocessing import multiprocessing
import platform
from fHDHR import fHDHR_VERSION, fHDHR_OBJ from fHDHR import fHDHR_VERSION, fHDHR_OBJ
import fHDHR.exceptions import fHDHR.exceptions
@ -18,6 +19,10 @@ if sys.version_info.major == 2 or sys.version_info < (3, 3):
print('Error: fHDHR requires python 3.3+.') print('Error: fHDHR requires python 3.3+.')
sys.exit(1) sys.exit(1)
opersystem = platform.system()
if opersystem in ["Windows"]:
print("WARNING: This script may fail on Windows.")
def build_args_parser(): def build_args_parser():
"""Build argument parser for fHDHR""" """Build argument parser for fHDHR"""