gnome shell extension will only try to copy over if it doesn't

already exist
This commit is contained in:
nathan 2016-10-12 20:42:53 +02:00
parent 2f96eb21d9
commit 17fad2acfd

View File

@ -159,6 +159,10 @@ class GnomeShellExtension {
IO.close(outputWriter, logger);
}
if (!hasSystemTray) {
// copies our provided extension.js file to the correct location on disk
InputStream reader = null;
FileOutputStream fileOutputStream = null;
@ -176,8 +180,6 @@ class GnomeShellExtension {
IO.close(fileOutputStream, logger);
}
if (!hasSystemTray) {
logger.debug("Enabling extension in gnome-shell");
// now we have to enable us if we aren't already enabled