Closed AntoineTurmel closed 6 years ago
yep. I'll add a note to the repo and the AMO page.
On Tue, Apr 12, 2016 at 5:57 AM Antoine Turmel notifications@github.com wrote:
I assume this won't work in future version of Firefox since apps installation will be deprecated ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/autonome/standalone/issues/13
Is there anything that will replace app installation in Firefox by any chance ? This was a cool feature :disappointed:
No, there's no planned official alternative except Progressive Web Apps. But there's no install-to-desktop plan for that on desktop browsers as far as I know.
I'd love to be able to use the application.ini functionality in the installed Firefox to replicate the lost functionality.
For example, here's some super old add-on code I wrote in the pre-Jetpack days:
function loadXULRunnerApp(aIniFile) { var binFile = null; var args = [];
var os = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS;
if (os == "Linux") { binFile = Cc["@mozilla.org/file/local;1"]. createInstance(Ci.nsILocalFile); binFile.initWithPath("/bin/sh"); args.push("xulrunner"); } else { var ds = Cc["@mozilla.org/file/directory_service;1 "].getService(Ci.nsIProperties); var binDir = ds.get("XCurProcD", Ci.nsIFile); var binFile = binDir.clone(); if (os == "WINNT") binFile.append("firefox.exe"); else binFile.append("firefox-bin"); if (!binFile.exists()) Components.utils.reportError("Unable to find the executable!"); }
args.push("-app"); args.push(aIniFile.path);
var process = Cc["@mozilla.org/process/util;1"]. createInstance(Ci.nsIProcess); process.init(binFile); process.run(false, args, args.length); }
On Wed, Apr 13, 2016 at 5:14 AM Antoine Turmel notifications@github.com wrote:
Is there anything that will replace app installation in Firefox by any chance ? This was a cool feature [image: :disappointed:]
— You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/autonome/standalone/issues/13#issuecomment-209401088
I assume this won't work in future version of Firefox since apps installation will be deprecated ?