gnome shell extension will only try to copy over if it doesn't
already exist
This commit is contained in:
parent
2f96eb21d9
commit
17fad2acfd
@ -159,6 +159,10 @@ class GnomeShellExtension {
|
|||||||
IO.close(outputWriter, logger);
|
IO.close(outputWriter, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (!hasSystemTray) {
|
||||||
// copies our provided extension.js file to the correct location on disk
|
// copies our provided extension.js file to the correct location on disk
|
||||||
InputStream reader = null;
|
InputStream reader = null;
|
||||||
FileOutputStream fileOutputStream = null;
|
FileOutputStream fileOutputStream = null;
|
||||||
@ -176,8 +180,6 @@ class GnomeShellExtension {
|
|||||||
IO.close(fileOutputStream, logger);
|
IO.close(fileOutputStream, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!hasSystemTray) {
|
|
||||||
logger.debug("Enabling extension in gnome-shell");
|
logger.debug("Enabling extension in gnome-shell");
|
||||||
// now we have to enable us if we aren't already enabled
|
// now we have to enable us if we aren't already enabled
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user