runUpdate repo tag assetName path = getAsset >>= \case
Right bin -> bracket topen hClose $ \ h -> do
B.hPut h bin
hClose h
rename tmpPath path
return $ Right tag
Left err -> return $ Left err
Maybe we should call chmod +x path thing after rename tmpPath path
How to reproduce this error
How to fix it
https://github.com/xtendo-org/chips/blob/master/src/SelfUpdate.hs#L67
Maybe we should call
chmod +x path
thing afterrename tmpPath path