comparison contrib/packaging/inno/mercurial.iss @ 43609:8aa6aa9b7843

packaging: write out editor.rc in Python Let's dynamically generate the file from Python instead of relying on Inno functionality, as that will give more visibility into what's going on. I spotted this as part of converging the install layout of Inno and WiX: the former doesn't install an editor.rc and instead defines the editor via its mercurial.rc file. We will change the behavior of WiX later once it is consuming the staged install directory for packaging. Differential Revision: https://phab.mercurial-scm.org/D7171
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 23 Oct 2019 18:42:19 -0700
parents 14ce03e13508
children e4344e463c0c
comparison
equal deleted inserted replaced
43608:2574330dd0f6 43609:8aa6aa9b7843
46 {%- if entry.metadata %}; {{ entry.metadata }}{% endif %} 46 {%- if entry.metadata %}; {{ entry.metadata }}{% endif %}
47 {% endfor %} 47 {% endfor %}
48 48
49 [INI] 49 [INI]
50 Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: https://mercurial-scm.org/ 50 Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: https://mercurial-scm.org/
51 Filename: {app}\hgrc.d\editor.rc; Section: ui; Key: editor; String: notepad
52 51
53 [UninstallDelete] 52 [UninstallDelete]
54 Type: files; Name: {app}\Mercurial.url 53 Type: files; Name: {app}\Mercurial.url
55 Type: filesandordirs; Name: {app}\hgrc.d 54 Type: filesandordirs; Name: {app}\hgrc.d
56 55