mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-12 11:39:50 +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
|
/qt/*_rc.py
|
||||||
/help/*/conf.py
|
/help/*/conf.py
|
||||||
/help/*/changelog.rst
|
/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 qt.platform import BASE_PATH
|
||||||
from core import __version__, __appname__
|
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
|
global dgapp
|
||||||
dgapp = None
|
dgapp = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user