Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9484f5

Browse files
committed
visual improvements
1 parent 408d6e7 commit a9484f5

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/main/kotlin/SampleRemoteProvider.kt

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class SampleRemoteProvider(
5151
override fun close() {}
5252

5353
override fun getName(): String = "Sample Provider"
54+
override fun getSvgIcon(): ByteArray {
55+
return this::class.java.getResourceAsStream("/icon.svg")?.readAllBytes() ?: byteArrayOf()
56+
}
5457

5558
override fun canCreateNewEnvironments(): Boolean = true
5659
override fun isSingleEnvironment(): Boolean = false

src/main/resources/extension.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55
"readableName": "Sample plugin",
66
"description": "This plugin is a sample of Remote Development integration into JetBrains Toolbox App",
77
"vendor": "Toolbox + Gateway",
8-
"url": "https://github.com/kropp/toolbox-gateway-sample"
8+
"url": "https://github.com/kropp/toolbox-gateway-sample",
9+
"backgroundColors": {
10+
"start": "#fdb60d",
11+
"top": "#ff318c",
12+
"end": "#6b57ff"
13+
}
914
},
1015
"compatibleVersionRange": {
11-
"from": "2.0",
12-
"to": "2.1.0.0"
16+
"from": "2.1",
17+
"to": "2.999"
1318
}
1419
}

0 commit comments

Comments
 (0)