mirror of
https://github.com/mroi/apple-internals.git
synced 2026-02-12 17:12:44 +00:00
improve interactive SQLite completions
rename index to avoid it having the same prefix as the files table
This commit is contained in:
2
Makefile
2
Makefile
@@ -99,7 +99,7 @@ db_files:: dyld
|
||||
echo 'CREATE TABLE files (id INTEGER PRIMARY KEY, os TEXT, path TEXT, executable BOOLEAN);'
|
||||
$(call find,,sudo) | sed -E "s/'/''/g;s/([^ ]*) (.*)/INSERT INTO files (os, path) VALUES('\1', '\2');/"
|
||||
find $(HOME)/Library | sed "s|^$(HOME)|~|;s/'/''/g;s/.*/INSERT INTO files (os, path) VALUES('macOS', '&');/"
|
||||
echo 'CREATE INDEX files_path ON files (path);'
|
||||
echo 'CREATE INDEX _files_path ON files (path);'
|
||||
|
||||
db_binaries:: dyld
|
||||
printf '\033[1mcollecting executable information...\033[m\n' >&2
|
||||
|
||||
Reference in New Issue
Block a user