mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 834810 - Launching webapp from homescreen icon will revert the icon to the default 'rocket' r=bnicholson
This commit is contained in:
parent
61c2e809aa
commit
c686c6892d
@ -77,19 +77,6 @@ let WebAppRT = {
|
||||
|
||||
// Otherwise, see if the apps launch path is this url
|
||||
if (manifest.fullLaunchPath() == aUrl) {
|
||||
// remove the old shortuct
|
||||
sendMessageToJava({
|
||||
gecko: {
|
||||
type: "Shortcut:Remove",
|
||||
title: manifest.name,
|
||||
url: manifest.fullLaunchPath(),
|
||||
origin: app.origin,
|
||||
shortcutType: "webapp"
|
||||
}
|
||||
});
|
||||
WebappsUI.createShortcut(manifest.name, manifest.fullLaunchPath(),
|
||||
WebappsUI.getBiggestIcon(manifest.icons, app.origin), "webapp");
|
||||
|
||||
BrowserApp.manifestUrl = app.manifestURL;
|
||||
deferred.resolve(aUrl);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user