Skip to content

Commit e4541e5

Browse files
committed
Update screenshot and animation, exclude images from bundle, update readme
1 parent 1d9bdfb commit e4541e5

File tree

5 files changed

+5
-12
lines changed

5 files changed

+5
-12
lines changed

.readme/embedded-readme.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ Keyword settings are persisted across workflow upgrades.
1717
Open Alfred and type the keyword for your IDE. The workflow will display a list of recent
1818
projects (sorted by time last opened descending).
1919

20-
You can further filter a project list by typing additional words. Fuzzy first-letter search is supported (i.e.,
21-
typing `map` will find `my-awesome-project`):
22-
23-
![animation](images/animation.gif)
24-
20+
You can further filter a project list by typing additional characters. Fuzzy first-letter search is supported (i.e.,
21+
typing `map` will find `my-awesome-project`).
2522

2623
## Legal
2724

.readme/images/animation.gif

-236 KB
Loading

.readme/images/screenshot.png

117 KB
Loading

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Open Alfred and type the keyword for your IDE (see Supported IDEs below).
3232
The workflow will display a list of recent
3333
projects (sorted by time last opened descending).
3434

35-
You can further filter a project list by typing additional words.
35+
You can further filter a project list by typing additional characters.
3636
Fuzzy first-letter search is supported (i.e.,
3737
typing `map` will find `my-awesome-project`):
3838

build.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ def build():
112112
plist["version"] = version
113113

114114
with open(".readme/embedded-readme.md", 'r', encoding='utf-8') as file:
115-
content = file.read()
116-
# Replace nested image paths with flattened paths
117-
content = re.sub(r'\((?:[^/\s]+/)*([^/\s]+)\)', r'(\1)', content)
118-
119-
plist["readme"] = content
115+
plist["readme"] = file.read()
120116

121117
# Output
122118
print(f"Building {[product.name() for product in products]}")
@@ -129,7 +125,7 @@ def build():
129125
os.system(f'cp icons/{product.keyword}.png ./out/{product.uid}.png')
130126

131127
os.system(
132-
f'zip -j -r alfred-jetbrains-projects.alfredworkflow out/* recent_projects.py products.json icon.png .readme/*')
128+
f'zip -j -r alfred-jetbrains-projects.alfredworkflow out/* recent_projects.py products.json icon.png')
133129

134130

135131
def get_products() -> list[Product]:

0 commit comments

Comments
 (0)