Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b60772

Browse files
committed
- Removed the . in the extensions.
- Allow any file to be dropped on the interpreter (for file args).
1 parent be67f8a commit 0b60772

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Mac/OSXResources/app/Info.plist

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<dict>
1010
<key>CFBundleTypeExtensions</key>
1111
<array>
12-
<string>.py</string>
12+
<string>py</string>
1313
</array>
1414
<key>CFBundleTypeIconFile</key>
1515
<string>PythonSource.icns</string>
@@ -25,7 +25,7 @@
2525
<dict>
2626
<key>CFBundleTypeExtensions</key>
2727
<array>
28-
<string>.pyc</string>
28+
<string>pyc</string>
2929
</array>
3030
<key>CFBundleTypeIconFile</key>
3131
<string>PythonCompiled.icns</string>
@@ -36,6 +36,16 @@
3636
<string>PYC</string>
3737
</array>
3838
<key>CFBundleTypeRole</key>
39+
<string>Shell</string>
40+
</dict>
41+
<dict>
42+
<key>CFBundleTypeOSTypes</key>
43+
<array>
44+
<string>****</string>
45+
<string>fold</string>
46+
<string>disk</string>
47+
</array>
48+
<key>CFBundleTypeRole</key>
3949
<string>Viewer</string>
4050
</dict>
4151
</array>

0 commit comments

Comments
 (0)