You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was about to open a PR but only noticed after cloning the repo that all the code is inside the bundle file. What's the best way to contibute then?
The issue I'm having is the workflow producing the wrong Obsidian URI when the Daily note file has a space on the filename.
Calling od, with the daily note format YYYY-MM-DD dddd, the space needs to be encoded in the URI as well.
The fix is simple:
Line 256:
p = encodeURIComponent(v) + "&file=" + date_format + ".md";
uri = "obsidian://open?vault=" + p;
to
p = encodeURIComponent(v) + "&file=" + encodeURIComponent(date_format) + ".md";
uri = "obsidian://open?vault=" + p;
Regards
The text was updated successfully, but these errors were encountered:
Thanks for catching that! Yea, it's not easy to contribute to Alfred workflows. Here's the easiest way to contribute, I think.
Edit the relevant lines of code in info.plist. I think the lines are 1093, 1103, 1428, and 1438. Then test the new workflow. First convert the new info.plist to a zip file (info.plist.zip). Then rename it to info.alfredworkflow. Double-click it and Alfred should ask whether to install the workflow. If it works, contribute and submit a PR!
Alternatively, you can modify those four lines directly in the Alfred workflow (but the line numbers will be different than in the .plist file). Then, export the workflow to Obsidan.alfredworkflow. Rename it to Obsidian.zip and unzip it and you'll get the updatedinfo.plist. I'd recommend the method above instead of this one though.
Was about to open a PR but only noticed after cloning the repo that all the code is inside the bundle file. What's the best way to contibute then?
The issue I'm having is the workflow producing the wrong Obsidian URI when the Daily note file has a space on the filename.
Calling
od
, with the daily note formatYYYY-MM-DD dddd
, the space needs to be encoded in the URI as well.The fix is simple:

Line 256:
to
Regards
The text was updated successfully, but these errors were encountered: