Skip to content

Commit fdc92a2

Browse files
Update README and add stuff for desktop app
1 parent 1c2886c commit fdc92a2

File tree

6 files changed

+27
-1
lines changed

6 files changed

+27
-1
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ npx dockhunt
2424
- You'll be invited to authenticate with Twitter to add your dock to the site
2525
- You can share your dock and see who else has the same apps in their dock
2626

27+
# Incorrect app icons
28+
29+
If you notice that the app icon that for an app is incorrect, it means the CLI tool picked the wrong icon file. We can resolve this if you open a GitHub issue with the name(s) of the app(s) that have incorrect icons and their corresponding `.icns` file(s). You can find the `.icns` file by right-clicking on the app from the Finder and selecting `Show Package Contents`. Then, navigate to `Contents/Resources/` and find the `.icns` file. If it's not in `Contents/Resources/`, then it may be somewhere else in the package contents.
30+
31+
Here's how that looks like for Figma:
32+
33+
![Show package contents](./images/figma-1.png)
34+
![Finding the icns file in the package contents](./images/figma-2.png)
35+
2736
# Development
2837

2938
- It is only necessary to build the app if you want to package it into an executable. The building of the app will package all the dependencies into a single file, which can then be packaged into an executable using `pkg`. Currently, the dockhunt executable isn't being used as it was intended for non-technical users, but prooved to complicated to user. The `npx` command is used instead.

dockhunt.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./dockhunt

entitlements.plist

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-jit</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
12+
<true/>
13+
<key>com.apple.security.cs.debugger</key>
14+
<true/>
15+
</dict>
16+
</plist>

images/figma-1.png

76.8 KB
Loading

images/figma-2.png

159 KB
Loading

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"scripts": {
1414
"build": "rm -rf dist && rollup --config",
15-
"package": "npm run build && pkg --targets macos --output dockhunt ./dist/index.cjs"
15+
"package": "npm run build && pkg --targets node16-macos-x64 --output dockhunt ./dist/index.cjs"
1616
},
1717
"repository": {
1818
"type": "git",

0 commit comments

Comments
 (0)