Skip to content

Commit

Permalink
fix: FINALLY 🎉 IT WORKS (disable zn's console logger, kivy already logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Mar 10, 2019
1 parent 4f591dc commit 839ac1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ case "$1" in
V=$(echo $(cat src/zero/src/Config.py | grep self.version | sed -r "s|self\.version = ['\"](.*)['\"]|\1|g" | head -n 1))
if [ "$V" != "$CUR_VERSION" ]; then echo ".version.sh \$VER_SUFFIX needs to be reset, major version change: $CUR_VERSION != $V" && exit 2; fi
cd src/zero && cp src/Config.py src/Config.py_ && sed -r "s|self\.version = ['\"](.*)['\"]|self.version = \"\1.$VER_SUFFIX\"|g" -i src/Config.py
echo ZGlmZiAtLWdpdCBhL3NyYy9Db25maWcucHkgYi9zcmMvQ29uZmlnLnB5CmluZGV4IGZkN2IwNmJjLi45NTkwNTdmNSAxMDA2NDQKLS0tIGEvc3JjL0NvbmZpZy5weQorKysgYi9zcmMvQ29uZmlnLnB5CkBAIC01NzgsNyArNTc4LDcgQEAgY2xhc3MgQ29uZmlnKG9iamVjdCk6CiAKICAgICAgICAgbG9nZ2luZy5nZXRMb2dnZXIoJycpLm5hbWUgPSAiLSIgICMgUmVtb3ZlIHJvb3QgcHJlZml4CiAKLSAgICAgICAgc2VsZi5pbml0Q29uc29sZUxvZ2dlcigpCisgICAgICAgICMgc2VsZi5pbml0Q29uc29sZUxvZ2dlcigpCiAgICAgICAgIHNlbGYuaW5pdEZpbGVMb2dnZXIoKQogCiBjb25maWcgPSBDb25maWcoc3lzLmFyZ3YpCg== | base64 -d | git apply -
cd ../../
touch .pre
;;
Expand Down

0 comments on commit 839ac1a

Please sign in to comment.