1
0
miroir de https://github.com/arsenetar/dupeguru.git synchronisé 2026-07-04 12:07:52 +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
Cette révision appartient à :
2017-07-21 21:41:49 -05:00
Parent 84011fb46d
révision ed9ca45089
2 fichiers modifiés avec 8 ajouts et 1 suppressions

2
.gitignore externe
Voir le fichier

@@ -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

5
run.py
Voir le fichier

@@ -20,6 +20,11 @@ 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__
# 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 from signal import signal, SIGINT, SIGTERM, SIGQUIT
global dgapp global dgapp