Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to pyflowlauncher package & Breaking changes #11

Merged
merged 8 commits into from
Nov 3, 2024
Merged
Next Next commit
feat: Update execution file and add run script
z1nc0r3 committed Nov 2, 2024
commit 2325ae1e96372d5eae49ef6d717e30f2fbdac485
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -8,5 +8,5 @@
"Language": "python",
"Website": "https://github.com/z1nc0r3/AnyVideo-Downloader-Flow-Plugin",
"IcoPath": "Images\\app.png",
"ExecuteFileName": "main.py"
"ExecuteFileName": "run.py"
}
12 changes: 12 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import sys
import os

plugindir = os.path.abspath(os.path.dirname(__file__))
sys.path.append(plugindir)
sys.path.append(os.path.join(plugindir, "lib"))
sys.path.append(os.path.join(plugindir, "plugin"))


if __name__ == "__main__":
from plugin.main import plugin
plugin.run()