Commit graph

12 commits

Author SHA1 Message Date
6d17ed725f Use winglob.fnmatch instead of python fnmatch. 2020-01-28 17:43:47 -08:00
7e8e20d038 Also search .lnk arguments. 2020-01-25 18:27:55 -08:00
66c26fa31a Improve lnk searching by separating field names from content.
Previously, if you searched for the word target then every lnk
matched because "Target: xxx" was literally the text being searched.
Now we can use the existing separation between search_text and
result_text to show those headers separately.
2020-01-25 01:18:03 -08:00
d108670693 Allow passing a pre-formed list as text. 2020-01-25 01:11:11 -08:00
ea415b953c Rename these key, value variables to give better context. 2020-01-25 01:08:50 -08:00
2dc7e75414 Dedent even more. Thanks continue! 2020-01-25 00:58:06 -08:00
77481c169c Comment this whole if and not just the inner part. 2020-01-25 00:52:39 -08:00
1727be598a Switch this formatter to fstring. 2020-01-25 00:49:08 -08:00
91bf90862b Dedent this code by reversing condition and continue. 2020-01-25 00:46:52 -08:00
9d8c9fdf51 Support searching of windows .lnk file fields.
I'm currently migrating my shortcuts that point to Py 3.7 to 3.8
so this saves a lot of time!
2020-01-25 00:39:18 -08:00
08782fdaf9 Extract code to function search_contents_generic. 2020-01-25 00:36:50 -08:00
f44e46aab5 Initial commit. 2019-06-11 22:41:31 -07:00