Enable download of .app or .jar file depending upon browser

My site has a page that calls an action to download a file when a button is clicked. Right now, the user's browser downloads a .jar file to the user's computer. This is fine for PC users, but most Mac users won't be able to open the .jar file without changing security settings. I have created a signed .app file using a Mac that bundles the .jar in a .app wrapper. This should allow Mac most users to open the application by double clicking. I need my sitecontroller (which includes the actions to download files) edited to serve a .app file (that can be opened with a double-click) if the user has a safari browser, and a .jar file otherwise. My sitecontroller file is attached (the relevant action is downloadSR).

Beceriler: Java, PHP

Daha fazlasını görün: jar, enable, java jar application, app java download, php download files, app download java, depending, java app download, safari open app, page app java, php open page button clicked, app jar, open app safari, page java app, wrapper open, upon, app open safari, mac safari java, jar app mac, file security using, browser need java, browser clicking, jar mac app, java jar application site, java safari

İşveren Hakkında:
( 100 değerlendirme ) PRINCETON, United States

Proje NO: #6541970



A proposal has not yet been provided

1 gün içinde 35$ USD
(1 Değerlendirme)

3 freelancers are bidding on average $35 for this job


A proposal has not yet been provided

in 0 gün içinde15$ USD
(43 Değerlendirme)

Hello, I checked your Controller, your function actionDownloadSR() is prompting to download for the user. I can make it to download as you want. So in your controller need to add a function that will detect Safar Daha fazlası

1 gün içinde 55$ USD
(33 Değerlendirme)