From e9b960f71f8a8e4214cde6993bc760d6fe43c76e Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Fri, 4 Feb 2022 03:27:25 +0000 Subject: [PATCH] Moved unused / example plugins to outside src. --- .../Extras => docs/plugins/example}/examplePlugin.ts | 4 +++- .../plugins/Extras => docs/plugins}/sendSongToTitlebar.ts | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename {src/main/plugins/Extras => docs/plugins/example}/examplePlugin.ts (96%) rename {src/main/plugins/Extras => docs/plugins}/sendSongToTitlebar.ts (94%) diff --git a/src/main/plugins/Extras/examplePlugin.ts b/docs/plugins/example/examplePlugin.ts similarity index 96% rename from src/main/plugins/Extras/examplePlugin.ts rename to docs/plugins/example/examplePlugin.ts index b0ee206c..d2758453 100644 --- a/src/main/plugins/Extras/examplePlugin.ts +++ b/docs/plugins/example/examplePlugin.ts @@ -1,5 +1,5 @@ let i = 1, k = 1; -export default class ExamplePlugin { +class ExamplePlugin { /** * Private variables for interaction in plugins */ @@ -58,3 +58,5 @@ export default class ExamplePlugin { } } + +module.exports = ExamplePlugin; \ No newline at end of file diff --git a/src/main/plugins/Extras/sendSongToTitlebar.ts b/docs/plugins/sendSongToTitlebar.ts similarity index 94% rename from src/main/plugins/Extras/sendSongToTitlebar.ts rename to docs/plugins/sendSongToTitlebar.ts index c8e3a62c..09e224c9 100644 --- a/src/main/plugins/Extras/sendSongToTitlebar.ts +++ b/docs/plugins/sendSongToTitlebar.ts @@ -1,4 +1,4 @@ -export default class sendSongToTitlebar { +class sendSongToTitlebar { /** * Base Plugin Details (Eventually implemented into a GUI in settings) */ @@ -34,4 +34,6 @@ export default class sendSongToTitlebar { * @param attributes Music Attributes */ onNowPlayingItemDidChange(attributes: object): void {} -} \ No newline at end of file +} + +module.exports = sendSongToTitlebar; \ No newline at end of file