From e5aec34450dbbae90279ec365ee5c80637871a67 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 21 May 2019 12:01:35 -0400 Subject: [PATCH] Restructure directory --- README.md | 7 +++ .../images/actions}/ssh.png | Bin .../images/actions}/website.png | Bin .../images}/background.png | Bin .../images}/icon-small.png | Bin .../images}/pluginIcon.png | Bin plugin/manifest.json | 52 ++++++++++++++++++ {propertyinspector => plugin/pi}/css/sdpi.css | 0 .../pi}/index_pi.html | 0 {propertyinspector => plugin/pi}/index_pi.js | 0 .../pi}/index_pi_server.html | 0 plugin_manifest/manifest.json | 49 ----------------- 12 files changed, 59 insertions(+), 49 deletions(-) create mode 100644 README.md rename {plugin_manifest => plugin/images/actions}/ssh.png (100%) rename {plugin_manifest => plugin/images/actions}/website.png (100%) rename {plugin_manifest => plugin/images}/background.png (100%) rename {plugin_manifest => plugin/images}/icon-small.png (100%) rename {plugin_manifest => plugin/images}/pluginIcon.png (100%) create mode 100644 plugin/manifest.json rename {propertyinspector => plugin/pi}/css/sdpi.css (100%) rename {propertyinspector => plugin/pi}/index_pi.html (100%) rename {propertyinspector => plugin/pi}/index_pi.js (100%) rename {propertyinspector => plugin/pi}/index_pi_server.html (100%) delete mode 100644 plugin_manifest/manifest.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..54192b0 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +Building +-------- + +```$bash +go build -o plugin/remote.exe +zip tf.meow.remote.streamDeckPlugin plugin/* +``` \ No newline at end of file diff --git a/plugin_manifest/ssh.png b/plugin/images/actions/ssh.png similarity index 100% rename from plugin_manifest/ssh.png rename to plugin/images/actions/ssh.png diff --git a/plugin_manifest/website.png b/plugin/images/actions/website.png similarity index 100% rename from plugin_manifest/website.png rename to plugin/images/actions/website.png diff --git a/plugin_manifest/background.png b/plugin/images/background.png similarity index 100% rename from plugin_manifest/background.png rename to plugin/images/background.png diff --git a/plugin_manifest/icon-small.png b/plugin/images/icon-small.png similarity index 100% rename from plugin_manifest/icon-small.png rename to plugin/images/icon-small.png diff --git a/plugin_manifest/pluginIcon.png b/plugin/images/pluginIcon.png similarity index 100% rename from plugin_manifest/pluginIcon.png rename to plugin/images/pluginIcon.png diff --git a/plugin/manifest.json b/plugin/manifest.json new file mode 100644 index 0000000..3dc90ef --- /dev/null +++ b/plugin/manifest.json @@ -0,0 +1,52 @@ +{ + "Actions": [ + { + "Icon": "images/actions/ssh", + "Name": "SSH", + "States": [ + { + "Image": "ssh", + "TitleAlignment": "bottom", + "FontSize": "16" + } + ], + "SupportedInMultiActions": false, + "Tooltip": "Execute a command over SSH", + "UUID": "tf.meow.remote.ssh", + "PropertyInspectorPath": "pi/index_pi.html" + }, + { + "Icon": "images/actions/website", + "Name": "Website", + "States": [ + { + "Image": "website", + "TitleAlignment": "bottom", + "FontSize": "16" + } + ], + "SupportedInMultiActions": false, + "Tooltip": "Open a website on a remote computer", + "UUID": "tf.meow.remote.website", + "PropertyInspectorPath": "pi/index_pi_server.html" + } + ], + "Author": "Meow.tf", + "Category": "Remote", + "CodePathWin": "remote.exe", + "Description": "Control remote systems over SSH or Daemon, executing commands, opening URLs, etc.", + "Name": "Remote", + "Icon": "images/pluginIcon", + "URL": "https://www.elgato.com/gaming/stream-deck", + "Version": "1.2", + "SDKVersion": 2, + "OS": [ + { + "Platform": "windows", + "MinimumVersion": "10" + } + ], + "Software": { + "MinimumVersion": "4.2" + } +} diff --git a/propertyinspector/css/sdpi.css b/plugin/pi/css/sdpi.css similarity index 100% rename from propertyinspector/css/sdpi.css rename to plugin/pi/css/sdpi.css diff --git a/propertyinspector/index_pi.html b/plugin/pi/index_pi.html similarity index 100% rename from propertyinspector/index_pi.html rename to plugin/pi/index_pi.html diff --git a/propertyinspector/index_pi.js b/plugin/pi/index_pi.js similarity index 100% rename from propertyinspector/index_pi.js rename to plugin/pi/index_pi.js diff --git a/propertyinspector/index_pi_server.html b/plugin/pi/index_pi_server.html similarity index 100% rename from propertyinspector/index_pi_server.html rename to plugin/pi/index_pi_server.html diff --git a/plugin_manifest/manifest.json b/plugin_manifest/manifest.json deleted file mode 100644 index 8ab8980..0000000 --- a/plugin_manifest/manifest.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "Actions": [ - { - "Icon": "ssh", - "Name": "SSH", - "States": [ - { - "Image": "ssh", - "TitleAlignment": "bottom", - "FontSize": "16" - } - ], - "SupportedInMultiActions": false, - "Tooltip": "Execute a command over SSH", - "UUID": "tf.meow.remote.ssh", - "PropertyInspectorPath": "index_pi.html" - }, - { - "Icon": "website", - "Name": "Website", - "States": [ - { - "Image": "website", - "TitleAlignment": "bottom", - "FontSize": "16" - } - ], - "SupportedInMultiActions": false, - "Tooltip": "Open a website on a remote computer", - "UUID": "tf.meow.remote.website", - "PropertyInspectorPath": "index_pi_server.html" - } - ], - "Author": "Meow.tf", - "Category": "Remote", - "CodePathWin": "remote.exe", - "Description": "Control remote systems over SSH or Daemon, executing commands, opening URLs, etc.", - "PropertyInspectorPath": "index_pi.html", - "Name": "Remote", - "Icon": "pluginIcon", - "URL": "https://www.elgato.com/gaming/stream-deck", - "Version": "1.2", - "OS": [ - { - "Platform": "windows", - "MinimumVersion" : "10" - } - ] -}