The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-09-2009, 09:55 PM
Mes's Avatar
Mes Mes is offline
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: 3G-16G 3.0; 2G-8G 2.2.1 T-Mobile
Operating System: XPSP3, VistaHPSP1, OSX10.4.10
Location: Sunny California :)
Posts: 824
Thanks: 29
Thanked 91 Times in 81 Posts
Add 'deb' to Safari Download Plug-In

I want to add 'deb' (and other) file-types to the Safari Download Plug-In and assumed it would be easy .... just duplicate something and change the file type. IE:

I copied/duplicated the following section from 'zip' area and changed zip to deb. Of course, it doesn't work !! What am I missing?
HTML Code:
<key>application/deb</key>
<dict>
	<key>WebPluginExtensions</key>
	<array>
		<string>deb</string>
	</array>
	<key>WebPluginTypeDescription</key>
	<string>debFile</string>
	<key>WebPluginTypeEnabled</key>
	<true/>
</dict>
Thanks all
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 02-10-2009, 03:20 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 363
Thanks: 14
Thanked 63 Times in 52 Posts

In WebPluginMIMETypes/application/octet-stream, just add 'deb' to the array of WebPlugExtensions. I just tried it, works fine.

The result should look like this:
Add 'deb' to Safari Download Plug-In-deb-addition.png

Last edited by DaveiPhone; 02-10-2009 at 03:39 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DaveiPhone For This Useful Post:
Mes (02-10-2009)
  #3  
Old 02-10-2009, 06:27 PM
Mes's Avatar
Mes Mes is offline
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: 3G-16G 3.0; 2G-8G 2.2.1 T-Mobile
Operating System: XPSP3, VistaHPSP1, OSX10.4.10
Location: Sunny California :)
Posts: 824
Thanks: 29
Thanked 91 Times in 81 Posts

Thanks DaveiPhone.... but no cigar ... yet

Your simple edit was the first thing I tried ... without success. Hense the reason I started exploring other possibilities.

My Safari Download Plug-In is version 2.0. I assume you're using the same. Either mine is corrupted, or something else is getting in the way.

But ... I have a idea. Could you send me your edited Info.plist which includes the working deb addition? Would like to give it a try. If it works, I'll diff our versions and post the solution.

Thanks in advance.

Update: Never mind. It's working. Sorta .....
----- Solution . Download from a different site . Hahaha
Have no idea why it works on one site, but not another. But at least the mod does work !!! More (keep reading)

Update 2: Now I really am confused..............
Without any edits to Info.plist (deb not in Info.plist)
-- All debs from MMI download correctly:
------ example: http://apt.modmyi.com/2debs/49ers2.1.deb
-- And of course the one I really want still does not...
------ http://www.volatile-dev.com/LockCale...endar_0.3b.deb

Any suggestions?

Last edited by Mes; 02-10-2009 at 07:06 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 02-10-2009, 07:21 PM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 363
Thanks: 14
Thanked 63 Times in 52 Posts

If you use the command from Terminal:

curl -I http://www.volatile-dev.com/LockCale...endar_0.3b.deb

it returns:

HTTP/1.1 200 OK
Date: Wed, 11 Feb 2009 01:13:08 GMT
Server: Apache
Last-Modified: Mon, 09 Feb 2009 00:28:54 GMT
ETag: "5000000036390-1796e-46271749b3d80"
Accept-Ranges: bytes
Content-Length: 96622
Content-Type: text/plain

Where curl -I http://apt.modmyi.com/2debs/49ers2.1.deb returns:

HTTP/1.0 200 OK
Set-Cookie: ServerId=1218; path=/
Date: Wed, 11 Feb 2009 01:15:44 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5
X-Powered-By: PHP/5.2.5
Content-Description: File Transfer
Content-Disposition: attachment; filename=49ers2.1.deb
Content-Transfer-Encoding: binary
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: public
Content-Length: 3361982
Connection: close
Content-Type: application/octet-stream

So, as far as I understand it (which isn't very far!), the volatile-dev server doesn't have the mime type set up correctly.
I'm not sure what the solution is, but if your end goal is to install the lockcalendar manually, you could download it to your desktop computer and SSH it over to the phone.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DaveiPhone For This Useful Post:
Mes (02-10-2009)
  #5  
Old 02-10-2009, 07:59 PM
Mes's Avatar
Mes Mes is offline
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: 3G-16G 3.0; 2G-8G 2.2.1 T-Mobile
Operating System: XPSP3, VistaHPSP1, OSX10.4.10
Location: Sunny California :)
Posts: 824
Thanks: 29
Thanked 91 Times in 81 Posts

Wonderful....... that explains it. Thanks. Learn something new every day. Kinda figured it had something to do with the site. Never used curl. But I won't forget.

BTW: NP. LockCalendar already installed. My long-time routine is to download to the computer, SSH it over, then dpkg -i. I was exploring alternatives and ran across this weird issue. Thanks again

Quote:
Originally Posted by DaveiPhone View Post
....So, as far as I understand it (which isn't very far!), the volatile-dev server doesn't have the mime type set up correctly.
I'm not sure what the solution is, but if your end goal is to install the lockcalendar manually, you could download it to your desktop computer and SSH it over to the phone.
One last question. Any idea why it works with IE on a PC, or Safari on the Mac? These browsers more forgiving?

Last edited by Mes; 02-10-2009 at 07:59 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 02-11-2009, 12:09 AM
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS, 3G & 2G
Operating System: OSX 10.5.x & Windows XP
Posts: 363
Thanks: 14
Thanked 63 Times in 52 Posts

For me, it actually DOESN'T work on Safari on the Mac either. I just clicked the link and got a page full of garbage text displayed, whereas clicking on the modmyi link downloads the file as expected.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 09:51 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top