Fixed system tray UID to match GNOME extension
This commit is contained in:
parent
f7e9660233
commit
d00c99fb4f
|
@ -23,7 +23,7 @@ import java.io.*;
|
||||||
|
|
||||||
public
|
public
|
||||||
class GnomeShellExtension {
|
class GnomeShellExtension {
|
||||||
private static final String UID = "SystemTray@dorkbox";
|
static final String UID = "SystemTray@Dorkbox";
|
||||||
|
|
||||||
@Property
|
@Property
|
||||||
/** Permit the gnome-shell to be restarted when the extension is installed. */
|
/** Permit the gnome-shell to be restarted when the extension is installed. */
|
||||||
|
@ -125,6 +125,15 @@ class GnomeShellExtension {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// need to make the extension location
|
||||||
|
if (!file.isDirectory()) {
|
||||||
|
final boolean mkdirs = file.mkdirs();
|
||||||
|
if (!mkdirs) {
|
||||||
|
final String msg = "Unable to create extension location: " + file;
|
||||||
|
logger.error(msg);
|
||||||
|
throw new RuntimeException(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
BufferedWriter outputWriter = null;
|
BufferedWriter outputWriter = null;
|
||||||
try {
|
try {
|
||||||
|
@ -142,15 +151,6 @@ class GnomeShellExtension {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file.isDirectory()) {
|
|
||||||
final boolean mkdirs = file.mkdirs();
|
|
||||||
if (!mkdirs) {
|
|
||||||
final String msg = "Unable to create extension location: " + file;
|
|
||||||
logger.error(msg);
|
|
||||||
throw new RuntimeException(msg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user