Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cd95e18b
Kaydet (Commit)
cd95e18b
authored
Haz 22, 2014
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #10747: Use versioned labels in the Windows start menu.
Patch by Olive Kilburn.
üst
6dec4eae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
10 deletions
+24
-10
NEWS
Misc/NEWS
+3
-0
msi.py
Tools/msi/msi.py
+21
-10
No files found.
Misc/NEWS
Dosyayı görüntüle @
cd95e18b
...
...
@@ -157,6 +157,9 @@ Windows
- Issue #21671, CVE-2014-0224: The bundled version of OpenSSL has been
updated to 1.0.1h.
- Issue #10747: Use versioned labels in the Windows start menu.
Patch by Olive Kilburn.
Tools/Demos
-----------
...
...
Tools/msi/msi.py
Dosyayı görüntüle @
cd95e18b
...
...
@@ -1320,27 +1320,38 @@ def add_registry(db):
add_data
(
db
,
"RemoveFile"
,
[(
"MenuDir"
,
"TARGETDIR"
,
None
,
"MenuDir"
,
2
)])
tcltkshortcuts
=
[]
if
msilib
.
Win64
:
bitted
=
"64 bit"
else
:
bitted
=
"32 bit"
if
have_tcl
:
tcltkshortcuts
=
[
(
"IDLE"
,
"MenuDir"
,
"IDLE|IDLE (Python GUI)"
,
"pythonw.exe"
,
tcltk
.
id
,
r'"[TARGETDIR]Lib\idlelib\idle.pyw"'
,
None
,
None
,
"python_icon.exe"
,
0
,
None
,
"TARGETDIR"
),
(
"IDLE"
,
"MenuDir"
,
"IDLE|IDLE (Python "
+
short_version
+
" GUI - "
+
bitted
+
")"
,
"pythonw.exe"
,
tcltk
.
id
,
r'"[TARGETDIR]Lib\idlelib\idle.pyw"'
,
None
,
None
,
"python_icon.exe"
,
0
,
None
,
"TARGETDIR"
),
]
add_data
(
db
,
"Shortcut"
,
tcltkshortcuts
+
[
# Advertised shortcuts: targets are features, not files
(
"Python"
,
"MenuDir"
,
"PYTHON|Python (command line)"
,
"python.exe"
,
default_feature
.
id
,
None
,
None
,
None
,
"python_icon.exe"
,
2
,
None
,
"TARGETDIR"
),
(
"Python"
,
"MenuDir"
,
"PYTHON|Python "
+
short_version
+
" (command line - "
+
bitted
+
")"
,
"python.exe"
,
default_feature
.
id
,
None
,
None
,
None
,
"python_icon.exe"
,
2
,
None
,
"TARGETDIR"
),
# Advertising the Manual breaks on (some?) Win98, and the shortcut lacks an
# icon first.
#("Manual", "MenuDir", "MANUAL|Python Manuals", "documentation",
# htmlfiles.id, None, None, None, None, None, None, None),
## Non-advertised shortcuts: must be associated with a registry component
(
"Manual"
,
"MenuDir"
,
"MANUAL|Python Manuals"
,
"REGISTRY.doc"
,
"[#
%
s]"
%
docfile
,
None
,
None
,
None
,
None
,
None
,
None
,
None
),
(
"PyDoc"
,
"MenuDir"
,
"MODDOCS|Module Docs"
,
"python.exe"
,
default_feature
.
id
,
r'-m pydoc -b'
,
None
,
None
,
"python_icon.exe"
,
0
,
None
,
"TARGETDIR"
),
(
"Uninstall"
,
"MenuDir"
,
"UNINST|Uninstall Python"
,
"REGISTRY"
,
(
"Manual"
,
"MenuDir"
,
"MANUAL|Python "
+
short_version
+
" Manuals"
,
"REGISTRY.doc"
,
"[#
%
s]"
%
docfile
,
None
,
None
,
None
,
None
,
None
,
None
,
None
),
(
"PyDoc"
,
"MenuDir"
,
"MODDOCS|Python "
+
short_version
+
" Docs Server (pydoc - "
+
bitted
+
")"
,
"python.exe"
,
default_feature
.
id
,
r'-m pydoc -b'
,
None
,
None
,
"python_icon.exe"
,
0
,
None
,
"TARGETDIR"
),
(
"Uninstall"
,
"MenuDir"
,
"UNINST|Uninstall Python "
+
short_version
+
" ("
+
bitted
+
")"
,
"REGISTRY"
,
SystemFolderName
+
"msiexec"
,
"/x
%
s"
%
product_code
,
None
,
None
,
None
,
None
,
None
,
None
),
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment