Skip to content

Commit 37dc003

Browse files
committed
Changes in preparation for alfred gallery
Add to changelog Fix bundle id from come to com Remove auto-updating Update version
1 parent 2f73465 commit 37dc003

File tree

4 files changed

+11
-19
lines changed

4 files changed

+11
-19
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
# Changelog
2+
## 1.0.1
3+
* Remove auto-updating for preparation of alfred gallery
4+
* Increase time delay so Notable can load before executing commands
5+
* Fix typos in comments

info.plist

+4-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>bundleid</key>
6-
<string>come.alfredapp.notable</string>
6+
<string>com.alfredapp.notable</string>
77
<key>category</key>
88
<string>Tools</string>
99
<key>connections</key>
@@ -524,7 +524,7 @@ end tell</string>
524524
<key>config</key>
525525
<dict>
526526
<key>seconds</key>
527-
<string>1</string>
527+
<string>1.5</string>
528528
</dict>
529529
<key>type</key>
530530
<string>alfred.workflow.utility.delay</string>
@@ -765,7 +765,7 @@ end tell</string>
765765
<key>config</key>
766766
<dict>
767767
<key>seconds</key>
768-
<string>1</string>
768+
<string>1.5</string>
769769
</dict>
770770
<key>type</key>
771771
<string>alfred.workflow.utility.delay</string>
@@ -956,10 +956,8 @@ Please drop the folder which contains your notes into the User Configuration tab
956956
<string>notes_location</string>
957957
</dict>
958958
</array>
959-
<key>variablesdontexport</key>
960-
<array/>
961959
<key>version</key>
962-
<string>1.0.0</string>
960+
<string>1.0.1</string>
963961
<key>webaddress</key>
964962
<string>https://github.com/kostyafarber/alfred-notable-workflow</string>
965963
</dict>

notable.py

+2-12
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
NOTABLE_URI = "notable://"
1717
NOTABLE_NOTE = "note/"
1818

19-
UPDATE_SETTINGS = {'github_slug': 'kostyafarber/alfred-notable-workflow'}
20-
2119
log = None
2220

2321
def get_notes() -> list:
@@ -73,13 +71,6 @@ def search_key_notes(note: dict) -> str:
7371

7472

7573
def main(wf):
76-
# is update available?
77-
if wf.update_available:
78-
wf.add_item('A newer version is available',
79-
'↩ to install update',
80-
autocomplete='workflow:update',
81-
icon=ICON_UPDATE)
82-
8374
# Get query from Alfred
8475
if len(wf.args):
8576
query = wf.args[0]
@@ -111,14 +102,13 @@ def main(wf):
111102
valid=True,
112103
)
113104

114-
# let user open note in deafult editor instead
105+
# let user open note in default editor instead
115106
item.add_modifier(key="cmd", arg=note["path"], valid=True)
116107

117108
wf.send_feedback()
118109

119110

120111
if __name__ == "__main__":
121-
wf = Workflow3(libraries=["./lib"],
122-
update_settings=UPDATE_SETTINGS)
112+
wf = Workflow3(libraries=["./lib"])
123113
log = wf.logger
124114
sys.exit(wf.run(main))

workflow/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.1

0 commit comments

Comments
 (0)