diff --git a/README.md b/README.md index 68c471b..a13c495 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Stream Deck Plugin for installing images from LoremFlickr to button. * MacOS: 10.14 or later * Windows: 10 or later -**Stream Deck application:** 6.0, 6.1 +**Stream Deck application:** 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6 **Python:** 3.8 or later @@ -93,7 +93,7 @@ After installation, you will have a `LoremFlickr` category and actions: ## Usage -> ⚠️ The button may not start working immediately after installing the plugin, but after about 20 seconds. At this time, +> ⚠️ The button may not start working immediately after installing the plugin, but after about 40 seconds. At this time, > dependencies are installed. If you do not receive an error message on the screen, but an exclamation mark is displayed > when you click on the button, then the plugin is not fully installed yet, and you need to wait. This only happens > after installing the plugin. There is no need to wait for the next use. diff --git a/src/com.ggusev.loremflickr.sdPlugin/assets/category_icon.svg b/com.ggusev.loremflickr.sdPlugin/assets/category_icon.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/assets/category_icon.svg rename to com.ggusev.loremflickr.sdPlugin/assets/category_icon.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/assets/plugin_icon.svg b/com.ggusev.loremflickr.sdPlugin/assets/plugin_icon.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/assets/plugin_icon.svg rename to com.ggusev.loremflickr.sdPlugin/assets/plugin_icon.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/action_icon.svg b/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/action_icon.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/action_icon.svg rename to com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/action_icon.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/key_icon.svg b/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/key_icon.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/key_icon.svg rename to com.ggusev.loremflickr.sdPlugin/assets/setkeyimage/key_icon.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/code/main.py b/com.ggusev.loremflickr.sdPlugin/code/main.py old mode 100755 new mode 100644 similarity index 91% rename from src/com.ggusev.loremflickr.sdPlugin/code/main.py rename to com.ggusev.loremflickr.sdPlugin/code/main.py index e181ee2..a6a31f4 --- a/src/com.ggusev.loremflickr.sdPlugin/code/main.py +++ b/com.ggusev.loremflickr.sdPlugin/code/main.py @@ -3,7 +3,6 @@ StreamDeck, Action, events_received_objs, - events_sent_objs, image_bytes_to_base64, logger, ) @@ -59,11 +58,9 @@ def on_key_down(self, obj: events_received_objs.KeyDown): self.set_image( context=obj.context, - payload=events_sent_objs.SetImagePayload( - image=image_base64, - target=0, - state=obj.payload.state, - ) + image=image_base64, + target=0, + state=obj.payload.state, ) diff --git a/com.ggusev.loremflickr.sdPlugin/code/requirements.txt b/com.ggusev.loremflickr.sdPlugin/code/requirements.txt new file mode 100644 index 0000000..531b582 --- /dev/null +++ b/com.ggusev.loremflickr.sdPlugin/code/requirements.txt @@ -0,0 +1,12 @@ +annotated-types==0.7.0 +certifi==2024.8.30 +charset-normalizer==3.3.2 +decohints==1.0.9 +idna==3.8 +pydantic==2.8.2 +pydantic_core==2.20.1 +requests==2.32.3 +streamdeck-sdk==1.0.0 +typing_extensions==4.12.2 +urllib3==2.2.2 +websockets==13.0.1 diff --git a/src/com.ggusev.loremflickr.sdPlugin/code/settings.py b/com.ggusev.loremflickr.sdPlugin/code/settings.py similarity index 53% rename from src/com.ggusev.loremflickr.sdPlugin/code/settings.py rename to com.ggusev.loremflickr.sdPlugin/code/settings.py index 73fa166..20655d0 100644 --- a/src/com.ggusev.loremflickr.sdPlugin/code/settings.py +++ b/com.ggusev.loremflickr.sdPlugin/code/settings.py @@ -2,9 +2,8 @@ import os from pathlib import Path -PLUGIN_LOGS_DIR_PATH: Path = Path(os.environ["PLUGIN_LOGS_DIR_PATH"]) -PLUGIN_NAME: str = os.environ["PLUGIN_NAME"] - +PLUGIN_LOGS_DIR_PATH: Path = Path(os.environ.get("PLUGIN_LOGS_DIR_PATH", Path(__file__).parents[2] / "logs")) +PLUGIN_NAME: str = os.environ.get("PLUGIN_NAME", Path(__file__).parents[1].name) LOG_FILE_PATH: Path = PLUGIN_LOGS_DIR_PATH / Path(f"{PLUGIN_NAME}.log") LOG_LEVEL: int = logging.DEBUG diff --git a/src/com.ggusev.loremflickr.sdPlugin/init.py b/com.ggusev.loremflickr.sdPlugin/init.py similarity index 97% rename from src/com.ggusev.loremflickr.sdPlugin/init.py rename to com.ggusev.loremflickr.sdPlugin/init.py index d1325f1..59a490e 100644 --- a/src/com.ggusev.loremflickr.sdPlugin/init.py +++ b/com.ggusev.loremflickr.sdPlugin/init.py @@ -1,5 +1,6 @@ import logging import os +import platform import re import shlex import subprocess @@ -115,16 +116,20 @@ def install_requirements_daemon() -> subprocess.Popen: def pip_freeze_daemon() -> subprocess.Popen: - if sys.platform.startswith("win") or sys.platform.startswith("cygwin"): + os_name = platform.system() + logger.info(os_name) + if os_name == "Darwin": command = f''' - "{PLUGIN_CODE_VENV_ACTIVATE}" &&\ + source "{PLUGIN_CODE_VENV_ACTIVATE}" &&\ {PYTHON_COMMAND} -m pip freeze\ ''' - else: + elif os_name == "Windows": command = f''' - source "{PLUGIN_CODE_VENV_ACTIVATE}" &&\ + "{PLUGIN_CODE_VENV_ACTIVATE}" &&\ {PYTHON_COMMAND} -m pip freeze\ ''' + else: + raise InitError("Unsupported Operation System.") process = subprocess.Popen( clean_up_command(command), stdout=subprocess.PIPE, diff --git a/src/com.ggusev.loremflickr.sdPlugin/manifest.json b/com.ggusev.loremflickr.sdPlugin/manifest.json similarity index 98% rename from src/com.ggusev.loremflickr.sdPlugin/manifest.json rename to com.ggusev.loremflickr.sdPlugin/manifest.json index 927d9cc..62092ce 100644 --- a/src/com.ggusev.loremflickr.sdPlugin/manifest.json +++ b/com.ggusev.loremflickr.sdPlugin/manifest.json @@ -23,7 +23,7 @@ "Description": "Get images from LoremFlickr", "Icon": "assets/plugin_icon", "Name": "LoremFlickr", - "Version": "1.1.2", + "Version": "1.2.0", "SDKVersion": 2, "OS": [ { diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret_closed.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret_closed.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret_closed.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/caret_closed.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.png b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.png similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.png rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.png diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/check.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar_inv.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar_inv.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar_inv.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/elg_calendar_inv.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/rcheck.svg b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/rcheck.svg similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/rcheck.svg rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/assets/rcheck.svg diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/css/sdpi.css b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/css/sdpi.css similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/css/sdpi.css rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/css/sdpi.css diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/action.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/action.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/action.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/action.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/api.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/api.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/api.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/api.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/constants.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/constants.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/constants.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/constants.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/dynamic-styles.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/dynamic-styles.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/dynamic-styles.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/dynamic-styles.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/events.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/events.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/events.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/events.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/property-inspector.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/property-inspector.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/property-inspector.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/property-inspector.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/prototypes.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/prototypes.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/prototypes.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/prototypes.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/stream-deck.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/stream-deck.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/stream-deck.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/stream-deck.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/timers.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/timers.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/timers.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/timers.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/utils.js b/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/utils.js similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/utils.js rename to com.ggusev.loremflickr.sdPlugin/property_inspector/sdk/js/utils.js diff --git a/src/com.ggusev.loremflickr.sdPlugin/property_inspector/setkeyimage_pi.html b/com.ggusev.loremflickr.sdPlugin/property_inspector/setkeyimage_pi.html similarity index 100% rename from src/com.ggusev.loremflickr.sdPlugin/property_inspector/setkeyimage_pi.html rename to com.ggusev.loremflickr.sdPlugin/property_inspector/setkeyimage_pi.html diff --git a/src/com.ggusev.loremflickr.sdPlugin/run.bat b/com.ggusev.loremflickr.sdPlugin/run.bat similarity index 97% rename from src/com.ggusev.loremflickr.sdPlugin/run.bat rename to com.ggusev.loremflickr.sdPlugin/run.bat index ea23a7f..456e760 100644 --- a/src/com.ggusev.loremflickr.sdPlugin/run.bat +++ b/com.ggusev.loremflickr.sdPlugin/run.bat @@ -1,66 +1,66 @@ -@echo off - -SET PYTHON_COMMAND=python -SET PYTHON_OK_VERSION=Python 3 -SET PYTHON_MINIMUM_VERSION=3.8 - -SET BASE_PATH=%~dp0 -SET PLUGIN_DIR_PATH=%BASE_PATH:~0,-1% -for %%I in ("%PLUGIN_DIR_PATH%") do set PLUGIN_NAME=%%~nxI -SET PLUGIN_LOGS_DIR_PATH=%PLUGIN_DIR_PATH%\logs -SET PYTHON_INIT_PATH=%PLUGIN_DIR_PATH%\init.py - -SET PLUGIN_CODE_DIR_PATH=%PLUGIN_DIR_PATH%\code -SET PLUGIN_CODE_REQUIREMENTS_PATH=%PLUGIN_CODE_DIR_PATH%\requirements.txt -SET PLUGIN_CODE_PATH=%PLUGIN_CODE_DIR_PATH%\main.py - -SET PLUGIN_CODE_VENV_DIR_PATH=%PLUGIN_CODE_DIR_PATH%\venv -SET PLUGIN_CODE_VENV_ACTIVATE=%PLUGIN_CODE_VENV_DIR_PATH%\Scripts\Activate -SET PLUGIN_CODE_VENV_PYTHON=%PLUGIN_CODE_VENV_DIR_PATH%\Scripts\python.exe - -echo "%PYTHON_COMMAND%" -echo "%PYTHON_OK_VERSION%" -echo "%PYTHON_MINIMUM_VERSION%" - -echo "%BASE_PATH%" -echo "%PLUGIN_DIR_PATH%" -echo "%PLUGIN_NAME%" -echo "%PLUGIN_LOGS_DIR_PATH%" -echo "%PYTHON_INIT_PATH%" - -echo "%PLUGIN_CODE_DIR_PATH%" -echo "%PLUGIN_CODE_REQUIREMENTS_PATH%" -echo "%PLUGIN_CODE_PATH%" - -echo "%PLUGIN_CODE_VENV_DIR_PATH%" -echo "%PLUGIN_CODE_VENV_ACTIVATE%" -echo "%PLUGIN_CODE_VENV_PYTHON%" - -FOR /F "tokens=* USEBACKQ" %%F IN (`%PYTHON_COMMAND% -V`) DO SET PYTHON_VERSION=%%F -echo "%PYTHON_VERSION%" - -IF "%PYTHON_VERSION%" == "" ( -echo "bad python" -powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%PYTHON_OK_VERSION% not installed', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" -exit -) - -IF NOT "%PYTHON_VERSION:~0,8%" == "%PYTHON_OK_VERSION%" ( -echo "bad python" -powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%PYTHON_OK_VERSION% not installed', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" -exit -) - -FOR /F "tokens=* USEBACKQ" %%F IN (`%PYTHON_COMMAND% "%PYTHON_INIT_PATH%"`) DO SET INIT_RESULT=%%F -echo "%INIT_RESULT%" - -IF NOT "%INIT_RESULT%" == "True" ( -echo "bad python" -powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%INIT_RESULT%', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" -exit -) - -SET PYTHONPATH="%PLUGIN_CODE_DIR_PATH%" -echo "%PYTHONPATH%" - -"%PLUGIN_CODE_VENV_PYTHON%" "%PLUGIN_CODE_PATH%" %* +@echo off + +SET PYTHON_COMMAND=python +SET PYTHON_OK_VERSION=Python 3 +SET PYTHON_MINIMUM_VERSION=3.8 + +SET BASE_PATH=%~dp0 +SET PLUGIN_DIR_PATH=%BASE_PATH:~0,-1% +for %%I in ("%PLUGIN_DIR_PATH%") do set PLUGIN_NAME=%%~nxI +SET PLUGIN_LOGS_DIR_PATH=%PLUGIN_DIR_PATH%\logs +SET PYTHON_INIT_PATH=%PLUGIN_DIR_PATH%\init.py + +SET PLUGIN_CODE_DIR_PATH=%PLUGIN_DIR_PATH%\code +SET PLUGIN_CODE_REQUIREMENTS_PATH=%PLUGIN_CODE_DIR_PATH%\requirements.txt +SET PLUGIN_CODE_PATH=%PLUGIN_CODE_DIR_PATH%\main.py + +SET PLUGIN_CODE_VENV_DIR_PATH=%PLUGIN_CODE_DIR_PATH%\venv +SET PLUGIN_CODE_VENV_ACTIVATE=%PLUGIN_CODE_VENV_DIR_PATH%\Scripts\Activate +SET PLUGIN_CODE_VENV_PYTHON=%PLUGIN_CODE_VENV_DIR_PATH%\Scripts\python.exe + +echo "%PYTHON_COMMAND%" +echo "%PYTHON_OK_VERSION%" +echo "%PYTHON_MINIMUM_VERSION%" + +echo "%BASE_PATH%" +echo "%PLUGIN_DIR_PATH%" +echo "%PLUGIN_NAME%" +echo "%PLUGIN_LOGS_DIR_PATH%" +echo "%PYTHON_INIT_PATH%" + +echo "%PLUGIN_CODE_DIR_PATH%" +echo "%PLUGIN_CODE_REQUIREMENTS_PATH%" +echo "%PLUGIN_CODE_PATH%" + +echo "%PLUGIN_CODE_VENV_DIR_PATH%" +echo "%PLUGIN_CODE_VENV_ACTIVATE%" +echo "%PLUGIN_CODE_VENV_PYTHON%" + +FOR /F "tokens=* USEBACKQ" %%F IN (`%PYTHON_COMMAND% -V`) DO SET PYTHON_VERSION=%%F +echo "%PYTHON_VERSION%" + +IF "%PYTHON_VERSION%" == "" ( +echo "bad python" +powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%PYTHON_OK_VERSION% not installed', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" +exit +) + +IF NOT "%PYTHON_VERSION:~0,8%" == "%PYTHON_OK_VERSION%" ( +echo "bad python" +powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%PYTHON_OK_VERSION% not installed', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" +exit +) + +FOR /F "tokens=* USEBACKQ" %%F IN (`%PYTHON_COMMAND% "%PYTHON_INIT_PATH%"`) DO SET INIT_RESULT=%%F +echo "%INIT_RESULT%" + +IF NOT "%INIT_RESULT%" == "True" ( +echo "bad python" +powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('%INIT_RESULT%', 'StreamDeck \"%PLUGIN_NAME%\" plugin ERROR', 'OK', [System.Windows.Forms.MessageBoxIcon]::Information);}" +exit +) + +SET PYTHONPATH="%PLUGIN_CODE_DIR_PATH%" +echo "%PYTHONPATH%" + +"%PLUGIN_CODE_VENV_PYTHON%" "%PLUGIN_CODE_PATH%" %* diff --git a/src/com.ggusev.loremflickr.sdPlugin/run.sh b/com.ggusev.loremflickr.sdPlugin/run.sh old mode 100755 new mode 100644 similarity index 98% rename from src/com.ggusev.loremflickr.sdPlugin/run.sh rename to com.ggusev.loremflickr.sdPlugin/run.sh index 29c53e3..30785b4 --- a/src/com.ggusev.loremflickr.sdPlugin/run.sh +++ b/com.ggusev.loremflickr.sdPlugin/run.sh @@ -58,3 +58,4 @@ export PYTHONPATH="${PLUGIN_CODE_DIR_PATH}" echo $PYTHONPATH "${PLUGIN_CODE_VENV_PYTHON}" "${PLUGIN_CODE_PATH}" "$@" +osascript -e "display dialog \"$@\"" \ No newline at end of file diff --git a/src/com.ggusev.loremflickr.sdPlugin/code/requirements.txt b/src/com.ggusev.loremflickr.sdPlugin/code/requirements.txt deleted file mode 100644 index 62e8b24..0000000 --- a/src/com.ggusev.loremflickr.sdPlugin/code/requirements.txt +++ /dev/null @@ -1,10 +0,0 @@ -certifi==2022.12.7 -charset-normalizer==3.1.0 -decohints==1.0.9 -idna==3.4 -pydantic==1.10.7 -requests==2.28.2 -streamdeck-sdk==0.3.1 -typing_extensions==4.5.0 -urllib3==1.26.15 -websocket-client==1.5.1