Skip to content

Commit

Permalink
hsmodule: remove unnecessary welcome notification
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed May 21, 2023
1 parent ce65715 commit 6a54f1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions extensions/_coresetup/_coresetup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ coroutine.applicationYield = hs.coroutineApplicationYield

if not hasinitfile then
require("hs.osascript")
local notify = require("hs.notify")
local printf = hs.printf
bundlePath = hs.processInfo["bundlePath"]
if bundlePath == "/Applications/Live Enhancement Suite.app" then
Expand All @@ -628,7 +627,6 @@ coroutine.applicationYield = hs.coroutineApplicationYield
]], "Ok", "", "critical")
os.exit()
end
notify.show("Live Enhancement Suite", "Welcome to LES!", "Please wait a moment while we set get things ready...")
bundlePath = bundlePath:gsub(" ", "\\ ") -- Escape character for spaces to make shell happy
copyExecInstruction = "cp " .. bundlePath .. "/Contents/Resources/extensions/hs/les/jumpstart.lua ~/.les/init.lua"
os.execute("zsh -c \"" .. copyExecInstruction .. "\"")
Expand Down

0 comments on commit 6a54f1f

Please sign in to comment.