mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 03:29:02 +00:00
Update run.py & .gitignore for windows
- Update run.py to execute on windows as SIGQUIT is not available. - Update .gitignore to ignore the generate .pyd files Ref #300, #393
This commit is contained in:
parent
84011fb46d
commit
ed9ca45089
2
.gitignore
vendored
2
.gitignore
vendored
@ -19,3 +19,5 @@ cocoa/autogen
|
||||
/qt/*_rc.py
|
||||
/help/*/conf.py
|
||||
/help/*/changelog.rst
|
||||
|
||||
*.pyd
|
||||
|
7
run.py
7
run.py
@ -20,7 +20,12 @@ from qt import dg_rc
|
||||
from qt.platform import BASE_PATH
|
||||
from core import __version__, __appname__
|
||||
|
||||
from signal import signal, SIGINT, SIGTERM, SIGQUIT
|
||||
# SIGQUIT is not defined on Windows
|
||||
if sys.platform == 'win32':
|
||||
from signal import signal, SIGINT, SIGTERM
|
||||
SIGQUIT = SIGTERM
|
||||
else:
|
||||
from signal import signal, SIGINT, SIGTERM, SIGQUIT
|
||||
|
||||
global dgapp
|
||||
dgapp = None
|
||||
|
Loading…
Reference in New Issue
Block a user