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 à :
2
.gitignore
externe
2
.gitignore
externe
@@ -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
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur