mirror of https://github.com/Syncplay/syncplay
Move to Unicode version of NSIS
This commit is contained in:
parent
ff0ec52bc1
commit
abd6547c9c
|
@ -16,7 +16,7 @@ import syncplay
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
p = "C:\\Program Files (x86)\\NSIS\\makensis.exe" #TODO: how to move that into proper place, huh
|
p = "C:\\Program Files (x86)\\NSIS\\Unicode\\makensis.exe" #TODO: how to move that into proper place, huh
|
||||||
NSIS_COMPILE = p if os.path.isfile(p) else "makensis.exe"
|
NSIS_COMPILE = p if os.path.isfile(p) else "makensis.exe"
|
||||||
OUT_DIR = "syncplay v{}".format(syncplay.version)
|
OUT_DIR = "syncplay v{}".format(syncplay.version)
|
||||||
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
|
SETUP_SCRIPT_PATH = "syncplay_setup.nsi"
|
||||||
|
@ -181,7 +181,7 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
||||||
Push $${LANG_POLISH}
|
Push $${LANG_POLISH}
|
||||||
Push Polski
|
Push Polski
|
||||||
Push $${LANG_RUSSIAN}
|
Push $${LANG_RUSSIAN}
|
||||||
Push Russian
|
Push Русский
|
||||||
Push A ; A means auto count languages
|
Push A ; A means auto count languages
|
||||||
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
|
LangDLL::LangDialog "Language Selection" "Please select the language of Syncplay and the installer"
|
||||||
Pop $$LANGUAGE
|
Pop $$LANGUAGE
|
||||||
|
@ -234,13 +234,13 @@ NSIS_SCRIPT_TEMPLATE = r"""
|
||||||
$${NSD_CreateLabel} 8u 85u 187u 10u "$$(^Shortcut)"
|
$${NSD_CreateLabel} 8u 85u 187u 10u "$$(^Shortcut)"
|
||||||
Pop $$Label_Shortcut
|
Pop $$Label_Shortcut
|
||||||
|
|
||||||
$${NSD_CreateCheckbox} 8u 98u 50u 10u "$$(^StartMenu)"
|
$${NSD_CreateCheckbox} 8u 98u 60u 10u "$$(^StartMenu)"
|
||||||
Pop $$CheckBox_StartMenuShortcut
|
Pop $$CheckBox_StartMenuShortcut
|
||||||
|
|
||||||
$${NSD_CreateCheckbox} 68u 98u 50u 10u "$$(^Desktop)"
|
$${NSD_CreateCheckbox} 78u 98u 70u 10u "$$(^Desktop)"
|
||||||
Pop $$CheckBox_DesktopShortcut
|
Pop $$CheckBox_DesktopShortcut
|
||||||
|
|
||||||
$${NSD_CreateCheckbox} 128u 98u 150u 10u "$$(^QuickLaunchBar)"
|
$${NSD_CreateCheckbox} 158u 98u 130u 10u "$$(^QuickLaunchBar)"
|
||||||
Pop $$CheckBox_QuickLaunchShortcut
|
Pop $$CheckBox_QuickLaunchShortcut
|
||||||
|
|
||||||
$${If} $$CheckBox_Associate_State == $${BST_CHECKED}
|
$${If} $$CheckBox_Associate_State == $${BST_CHECKED}
|
||||||
|
|
Loading…
Reference in New Issue