Skip to content

Commit 9caa224

Browse files
committed
fix plugin not interacting with flow 1.20 properly
1 parent a5fe01c commit 9caa224

File tree

8 files changed

+4
-20
lines changed

8 files changed

+4
-20
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
v0.0.8
1+
v0.0.9
22

3-
- Fix bug with `flogin._types` being missing causing a fatal error on startup
3+
- fix plugin not interacting with flow 1.20 properly

main.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
import sys
2-
from pathlib import Path
3-
4-
root = Path(__file__).parent
5-
sys.path.extend(
6-
[
7-
path.as_posix()
8-
for path in (
9-
root,
10-
root / "lib",
11-
root / "lib" / "win32",
12-
root / "lib" / "win32" / "lib",
13-
)
14-
]
15-
)
16-
171
from flogin.utils import setup_logging
182
from flogin import Pip
193

@@ -22,7 +6,7 @@
226
with Pip() as pip:
237
pip.ensure_installed("pywin32", module="pywintypes")
248

25-
from plugin.plugin import ScreenBrightnessPlugin
9+
from screen_brightness.plugin import ScreenBrightnessPlugin
2610

2711
if __name__ == "__main__":
2812
ScreenBrightnessPlugin().run()

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Name": "ScreenBrightness",
55
"Description": "Control the brightness of your monitors within flow",
66
"Author": "cibere",
7-
"Version": "0.0.8",
7+
"Version": "0.0.9",
88
"Language": "python_v2",
99
"Website": "https://github.com/cibere/Flow.Launcher.Plugin.ScreenBrightness",
1010
"IcoPath": "assets/app.png",

screen_brightness/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)