Skip to content

fix potential double slash in $appDir - #92

Open
nicexe wants to merge 1 commit into
Lord-Kamina:masterfrom
nicexe:patch-1
Open

fix potential double slash in $appDir#92
nicexe wants to merge 1 commit into
Lord-Kamina:masterfrom
nicexe:patch-1

Conversation

@nicexe

@nicexe nicexe commented Apr 30, 2026

Copy link
Copy Markdown

$appDir in the script for ThisAppDoesNothing.app results to either:
/Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/Resources/ThisAppDoesNothing.app
or
/Users/username//Library/PreferencePanes/SwiftDefaultApps.prefPane/Contents/Resources/ThisAppDoesNothing.app
In the second case, you can see // right after the home directory which is what this PR eliminates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant