Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: Makefile, rename to codeedit #21

Merged
merged 4 commits into from
Jan 2, 2023
Merged

[feat]: Makefile, rename to codeedit #21

merged 4 commits into from
Jan 2, 2023

Conversation

lukepistrol
Copy link
Member

  • rename executable to codeedit.
  • fix the version command.
  • add Makefile in preparation for Homebrew formula.

@lukepistrol lukepistrol added the enhancement New feature or request label Jan 2, 2023
@lukepistrol lukepistrol merged commit 86a4354 into main Jan 2, 2023
@lukepistrol lukepistrol deleted the feat/makefile branch January 2, 2023 14:58
@austincondiff
Copy link
Contributor

Nice work @lukepistrol!

print("CodeEditCLI: \t\(CLI_VERSION)")

// File URL of CodeEdit.app
let appURL = URL(fileURLWithPath: "/Applications/CodeEdit.app")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to use the bundle identifier, because not everyone installs in /Applications.

        guard let appURL = NSWorkspace.shared.urlForApplication(
            withBundleIdentifier: "austincondiff.CodeEdit"
        ) else { return }

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants