Don't download watchexec on Linux
This commit is contained in:
parent
c70fc5a97b
commit
88718d391d
1 changed files with 5 additions and 3 deletions
|
@ -60,9 +60,11 @@ local function onMessage(_M, handler)
|
|||
end
|
||||
|
||||
return function()
|
||||
util.downloadFile('https://github.com/watchexec/watchexec/releases/download/1.13.1/watchexec-1.13.1-x86_64-pc-windows-gnu.zip', base..'/watchexec.zip')
|
||||
util.unzip(base..'/watchexec.zip', base)
|
||||
os.rename(base..'watchexec-1.13.1-x86_64-pc-windows-gnu', base..'/watchexec')
|
||||
if util.isWin then
|
||||
util.downloadFile('https://github.com/watchexec/watchexec/releases/download/1.13.1/watchexec-1.13.1-x86_64-pc-windows-gnu.zip', base..'/watchexec.zip')
|
||||
util.unzip(base..'/watchexec.zip', base)
|
||||
os.rename(base..'watchexec-1.13.1-x86_64-pc-windows-gnu', base..'/watchexec')
|
||||
end
|
||||
|
||||
local _M = {
|
||||
onMessageHandler = {},
|
||||
|
|
Loading…
Add table
Reference in a new issue