dataspell: add command-line launcher
This commit is contained in:
parent
51ccd38799
commit
7d067b6aa1
|
@ -23,15 +23,7 @@ cask "dataspell" do
|
|||
depends_on macos: ">= :high_sierra"
|
||||
|
||||
app "DataSpell.app"
|
||||
|
||||
uninstall_postflight do
|
||||
ENV["PATH"].split(File::PATH_SEPARATOR).map { |path| File.join(path, "dataspell") }.each do |path|
|
||||
if File.readable?(path) &&
|
||||
File.readlines(path).grep(/# see com.intellij.idea.SocketLock for the server side of this interface/).any?
|
||||
File.delete(path)
|
||||
end
|
||||
end
|
||||
end
|
||||
binary "#{appdir}/DataSpell.app/Contents/MacOS/dataspell"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/DataSpell*",
|
||||
|
|
Loading…
Reference in New Issue