diff --git a/appid/README.md b/appid/README.md
index 04055dbb45..437cee58c7 100644
--- a/appid/README.md
+++ b/appid/README.md
@@ -1,3 +1,4 @@
+# AppID
> Getting Bundle ID, Release Version Number, App icon of apps
## Requirement
@@ -17,7 +18,7 @@
-[](https://img.shields.io/badge/version-v1.11-green?style=for-the-badge)
+[](https://img.shields.io/badge/version-v1.12-green?style=for-the-badge)
[](https://github.com/alanhe421/alfred-workflows/raw/master/appid/AppID.alfredworkflow)
[](https://alfred.app/workflows/alanhe/appid/install/)
diff --git a/appid/src/info.plist b/appid/src/info.plist
index 461752f8f2..c482a91d10 100755
--- a/appid/src/info.plist
+++ b/appid/src/info.plist
@@ -245,11 +245,20 @@
require 'open3'
require 'pathname'
-apps = Pathname('/Applications').children
- .concat(Pathname('/Applications/Utilities').children)
- .map(&:to_path)
- .sort_by { |p| File.basename(p).downcase }
- .select { |e| e.end_with?('.app') }
+# Add your custom paths here
+paths = [
+ '/Applications',
+ '/Applications/Utilities',
+ "#{ENV['HOME']}/Applications/JetBrains Toolbox"
+]
+
+apps = paths.flat_map do |path|
+ Pathname(path).children
+end
+
+apps = apps.map(&:to_path)
+ .sort_by { |p| File.basename(p).downcase }
+ .select { |e| e.end_with?('.app') }
script_filter_items = []
@@ -260,7 +269,8 @@ apps.each do |app|
script_filter_items.push(title: name, subtitle: appId, arg: appId, type:'file:skipcheck',icon: { type: 'fileicon', path: app },action:{ file:app})
end
-puts({ items: script_filter_items }.to_json)
+puts({ items: script_filter_items }.to_json)
+
scriptargtype
1
scriptfile
@@ -629,7 +639,8 @@ puts({ items: script_filter_items }.to_json)
readme
- > Getting Bundle ID, Release Version Number, App icon of apps
+ # AppID
+> Getting Bundle ID, Release Version Number, App icon of apps
## Requirement
@@ -782,7 +793,7 @@ puts({ items: script_filter_items }.to_json)
variablesdontexport
version
- 1.11
+ 1.12
webaddress
https://github.com/alanhg/alfred-workflows/tree/master/appid