Compare commits

..

2 Commits

Author SHA1 Message Date
Ein Verne 82d6ef17f7 feat: set git http postBuffer 2 years ago
Ein Verne 65a19a545a fix: Bing dir create failed 2 years ago
  1. 2
      git/global.gitconfig
  2. 8
      hammerspoon/Spoons/BingDaily.spoon/init.lua

2
git/global.gitconfig

@ -137,3 +137,5 @@
defaultBranch = master defaultBranch = master
[log] [log]
date = local date = local
[http]
postBuffer = 524288000

8
hammerspoon/Spoons/BingDaily.spoon/init.lua

@ -71,9 +71,13 @@ local function bingRequest()
end end
function create_dir(path) function create_dir(path)
if hs.fs.dir(path) == nil then if hs.fs.displayName(path) == nil then
hs.fs.mkdir(path) local result = hs.fs.mkdir(path)
if result == true then
log.i("path: " .. path .. " create successfully!") log.i("path: " .. path .. " create successfully!")
else
log.i("path: " .. path .. " create failed!")
end
end end
end end

Loading…
Cancel
Save