diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-14 01:11:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-14 23:47:53 +0100 |
| commit | 13cfc02d972b96e1ea101acd7fbfc45344e8b414 (patch) | |
| tree | 7a6bfe618a896606dc38e71329ebed95e875276d | |
| parent | 078a44f91b7d10bb676f7fc25123034e8e7172ef (diff) | |
Tidy up some triple-quoted prints.
| -rw-r--r-- | platform/windows/wscript | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/platform/windows/wscript b/platform/windows/wscript index a7ef24589..c1d37a414 100644 --- a/platform/windows/wscript +++ b/platform/windows/wscript @@ -501,26 +501,20 @@ RMDir "$INSTDIR" for s, l in tools: print('Delete "$DESKTOP\\DCP-o-matic 2 %s debug.lnk"' % l, file=f) - print(""" -Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*" -RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2 debug" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug" - SectionEnd - """, file=f) + print('Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*"', file=f) + print('RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug"', file=f) + print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug"', file=f) + print('SectionEnd', file=f) else: print('Delete "$DESKTOP\\DCP-o-matic 2.lnk"', file=f) for s, l in tools: print('Delete "$DESKTOP\\DCP-o-matic 2 %s.lnk"' % l, file=f) print('Delete "$DESKTOP\\DCP-o-matic 2 Encode Server.lnk"', file=f) - print(""" -Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*" -RmDir "$SMPROGRAMS\\DCP-o-matic 2" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2" - SectionEnd - """, file=f) + print('Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*"', file=f) + print('RmDir "$SMPROGRAMS\\DCP-o-matic 2"', file=f) + print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2"', file=f) + print('SectionEnd', file=f) def build(bld): |
