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
24f7b231
Kaydet (Commit)
24f7b231
authored
Şub 27, 1999
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Set the signature for the IDE "by hand", the bundle is already included in the
PythonEngine applet template.
üst
1e4cc33a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
BuildIDE.py
Mac/Tools/IDE/BuildIDE.py
+13
-0
No files found.
Mac/Tools/IDE/BuildIDE.py
Dosyayı görüntüle @
24f7b231
...
...
@@ -7,6 +7,8 @@ import os
import
buildtools
import
Res
import
py_resource
import
macfs
import
MACFS
buildtools
.
DEBUG
=
1
...
...
@@ -19,6 +21,17 @@ dstfilename = os.path.join(sys.exec_prefix, "Python IDE")
buildtools
.
process
(
template
,
mainfilename
,
dstfilename
,
1
)
# Override the owner: IDE gets its bundle stuff from the applet
# template and only needs to set the file creator.
dest_fss
=
macfs
.
FSSpec
(
dstfilename
)
dest_finfo
=
dest_fss
.
GetFInfo
()
dest_finfo
.
Creator
=
ownertype
dest_finfo
.
Type
=
'APPL'
dest_finfo
.
Flags
=
dest_finfo
.
Flags
|
MACFS
.
kHasBundle
dest_finfo
.
Flags
=
dest_finfo
.
Flags
&
~
MACFS
.
kHasBeenInited
dest_fss
.
SetFInfo
(
dest_finfo
)
targetref
=
Res
.
OpenResFile
(
dstfilename
)
Res
.
UseResFile
(
targetref
)
...
...
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