mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
updated windows release files to support translations split into multiple files (#146)
This commit is contained in:
parent
7686c11a19
commit
a75c561452
@ -9,6 +9,17 @@ a.datas += [
|
||||
('images/server_stopped.png', 'images/server_stopped.png', 'DATA'),
|
||||
('images/server_started.png', 'images/server_started.png', 'DATA'),
|
||||
('images/server_working.png', 'images/server_working.png', 'DATA'),
|
||||
('locale/de.json', 'locale/de.json', 'DATA'),
|
||||
('locale/en.json', 'locale/en.json', 'DATA'),
|
||||
('locale/es.json', 'locale/es.json', 'DATA'),
|
||||
('locale/fi.json', 'locale/fi.json', 'DATA'),
|
||||
('locale/fr.json', 'locale/fr.json', 'DATA'),
|
||||
('locale/it.json', 'locale/it.json', 'DATA'),
|
||||
('locale/nl.json', 'locale/nl.json', 'DATA'),
|
||||
('locale/no.json', 'locale/no.json', 'DATA'),
|
||||
('locale/pt.json', 'locale/pt.json', 'DATA'),
|
||||
('locale/ru.json', 'locale/ru.json', 'DATA'),
|
||||
('locale/tr.json', 'locale/tr.json', 'DATA'),
|
||||
]
|
||||
pyz = PYZ(a.pure)
|
||||
exe = EXE(pyz,
|
||||
|
@ -56,7 +56,6 @@ Section "install"
|
||||
File "${BINPATH}\onionshare\onionshare.pyc"
|
||||
File "${BINPATH}\onionshare\socks.py"
|
||||
File "${BINPATH}\onionshare\socks.pyc"
|
||||
File "${BINPATH}\onionshare\strings.json"
|
||||
File "${BINPATH}\onionshare\strings.py"
|
||||
File "${BINPATH}\onionshare\strings.pyc"
|
||||
File "${BINPATH}\onionshare\web.py"
|
||||
@ -82,6 +81,18 @@ Section "install"
|
||||
File "${BINPATH}\images\server_stopped.png"
|
||||
File "${BINPATH}\images\server_started.png"
|
||||
File "${BINPATH}\images\server_working.png"
|
||||
SetOutPath "$INSTDIR\locale"
|
||||
File "${BINPATH}\locale\de.json"
|
||||
File "${BINPATH}\locale\en.json"
|
||||
File "${BINPATH}\locale\es.json"
|
||||
File "${BINPATH}\locale\fi.json"
|
||||
File "${BINPATH}\locale\fr.json"
|
||||
File "${BINPATH}\locale\it.json"
|
||||
File "${BINPATH}\locale\nl.json"
|
||||
File "${BINPATH}\locale\no.json"
|
||||
File "${BINPATH}\locale\pt.json"
|
||||
File "${BINPATH}\locale\ru.json"
|
||||
File "${BINPATH}\locale\tr.json"
|
||||
|
||||
# dependencies
|
||||
SetOutPath $INSTDIR
|
||||
@ -185,7 +196,6 @@ Section "uninstall"
|
||||
Delete "$INSTDIR\onionshare\onionshare.pyc"
|
||||
Delete "$INSTDIR\onionshare\socks.py"
|
||||
Delete "$INSTDIR\onionshare\socks.pyc"
|
||||
Delete "$INSTDIR\onionshare\strings.json"
|
||||
Delete "$INSTDIR\onionshare\strings.py"
|
||||
Delete "$INSTDIR\onionshare\strings.pyc"
|
||||
Delete "$INSTDIR\onionshare\web.py"
|
||||
@ -209,6 +219,17 @@ Section "uninstall"
|
||||
Delete "$INSTDIR\images\server_stopped.png"
|
||||
Delete "$INSTDIR\images\server_started.png"
|
||||
Delete "$INSTDIR\images\server_working.png"
|
||||
Delete "$INSTDIR\locale\de.json"
|
||||
Delete "$INSTDIR\locale\en.json"
|
||||
Delete "$INSTDIR\locale\es.json"
|
||||
Delete "$INSTDIR\locale\fi.json"
|
||||
Delete "$INSTDIR\locale\fr.json"
|
||||
Delete "$INSTDIR\locale\it.json"
|
||||
Delete "$INSTDIR\locale\nl.json"
|
||||
Delete "$INSTDIR\locale\no.json"
|
||||
Delete "$INSTDIR\locale\pt.json"
|
||||
Delete "$INSTDIR\locale\ru.json"
|
||||
Delete "$INSTDIR\locale\tr.json"
|
||||
Delete "$INSTDIR\qt4_plugins\accessible\qtaccessiblewidgets4.dll"
|
||||
Delete "$INSTDIR\qt4_plugins\graphicssystems\qglgraphicssystem4.dll"
|
||||
Delete "$INSTDIR\qt4_plugins\iconengines\qsvgicon4.dll"
|
||||
@ -254,6 +275,7 @@ Section "uninstall"
|
||||
rmDir "$INSTDIR\onionshare"
|
||||
rmDir "$INSTDIR\onionshare_gui"
|
||||
rmDir "$INSTDIR\images"
|
||||
rmDir "$INSTDIR\locale"
|
||||
rmDir "$INSTDIR\Include"
|
||||
rmDir "$INSTDIR\qt4_plugins\accessible"
|
||||
rmDir "$INSTDIR\qt4_plugins\bearer"
|
||||
|
Loading…
Reference in New Issue
Block a user