Show More
@@ -45,7 +45,7 b' STAGING_RULES = [' | |||
|
45 | 45 | ('doc/*.html', 'doc/'), |
|
46 | 46 | ('doc/style.css', 'doc/'), |
|
47 | 47 | ('mercurial/helptext/**/*.txt', 'helptext/'), |
|
48 |
('mercurial/defaultrc/*.rc', ' |
|
|
48 | ('mercurial/defaultrc/*.rc', 'defaultrc/'), | |
|
49 | 49 | ('mercurial/locale/**/*', 'locale/'), |
|
50 | 50 | ('mercurial/templates/**/*', 'Templates/'), |
|
51 | 51 | ('COPYING', 'Copying.txt'), |
@@ -232,7 +232,7 b' def stage_install(' | |||
|
232 | 232 | |
|
233 | 233 | # Write out a default editor.rc file to configure notepad as the |
|
234 | 234 | # default editor. |
|
235 |
with (staging_dir / ' |
|
|
235 | with (staging_dir / 'defaultrc' / 'editor.rc').open( | |
|
236 | 236 | 'w', encoding='utf-8' |
|
237 | 237 | ) as fh: |
|
238 | 238 | fh.write('[ui]\neditor = notepad\n') |
@@ -37,7 +37,7 b' EXTRA_PACKAGES = {' | |||
|
37 | 37 | |
|
38 | 38 | EXTRA_INSTALL_RULES = [ |
|
39 | 39 | ('contrib/packaging/wix/COPYING.rtf', 'COPYING.rtf'), |
|
40 |
('contrib/win32/mercurial.ini', ' |
|
|
40 | ('contrib/win32/mercurial.ini', 'defaultrc/mercurial.rc'), | |
|
41 | 41 | ] |
|
42 | 42 | |
|
43 | 43 | STAGING_REMOVE_FILES = [ |
@@ -51,7 +51,7 b' Filename: {app}\\Mercurial.url; Section: ' | |||
|
51 | 51 | |
|
52 | 52 | [UninstallDelete] |
|
53 | 53 | Type: files; Name: {app}\Mercurial.url |
|
54 |
Type: filesandordirs; Name: {app}\ |
|
|
54 | Type: filesandordirs; Name: {app}\defaultrc | |
|
55 | 55 | |
|
56 | 56 | [Icons] |
|
57 | 57 | Name: {group}\Uninstall Mercurial; Filename: {uninstallexe} |
@@ -99,7 +99,7 b'' | |||
|
99 | 99 | <ComponentRef Id='MainExecutable' /> |
|
100 | 100 | <ComponentRef Id='ProgramMenuDir' /> |
|
101 | 101 | <ComponentGroupRef Id="hg.group.ROOT" /> |
|
102 |
<ComponentGroupRef Id="hg.group. |
|
|
102 | <ComponentGroupRef Id="hg.group.defaultrc" /> | |
|
103 | 103 | <ComponentGroupRef Id="hg.group.helptext" /> |
|
104 | 104 | <ComponentGroupRef Id="hg.group.lib" /> |
|
105 | 105 | <ComponentGroupRef Id="hg.group.templates" /> |
General Comments 0
You need to be logged in to leave comments.
Login now