Skip to content

Commit 2db6332

Browse files
author
HACKESOFICE
committed
live server icon on new tab
1 parent efe6723 commit 2db6332

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"id": "liveserver",
1414
"name": "Live Server",
1515
"main": "main.js",
16-
"version": "2.0.2",
16+
"version": "2.0.3",
1717
"readme": "readme.md",
1818
"icon": "icon.png",
1919
"files": [],
@@ -41,6 +41,7 @@
4141

4242
async init() {
4343
console.log("LiveServerPlugin initialized!");
44+
acode.addIcon('liveserver', '${this.baseUrl}icon.png');
4445
// settings.update({
4546
// "Live-Server":{
4647
// "status": true,
@@ -601,7 +602,7 @@
601602
type: 'page',
602603
render: true,
603604
content: BigScreenContent,
604-
tabIcon: "icon googlechrome",
605+
tabIcon: "icon liveserver",
605606
});
606607
this.isBigScreenEnabled = true;
607608
editorManager.on("save-file", this.reloadBigScreen);

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id":"liveserver",
33
"name":"Live Server",
44
"main":"main.js",
5-
"version":"2.0.2",
5+
"version":"2.0.3",
66
"readme":"readme.md",
77
"icon":"icon.png",
88
"files":[],

0 commit comments

Comments
 (0)