From c304ca909a692f95127075982be792488f5616fe Mon Sep 17 00:00:00 2001 From: wszqkzqk Date: Mon, 25 Oct 2021 16:05:32 +0800 Subject: [PATCH] Updated by update.sh --- git-pull.sh | 3 +++ main.py | 3 ++- update.sh | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 git-pull.sh mode change 100644 => 100755 main.py create mode 100755 update.sh diff --git a/git-pull.sh b/git-pull.sh new file mode 100755 index 0000000..99171a8 --- /dev/null +++ b/git-pull.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd `dirname $0`; pwd +git pull git@github.com:wszqkzqk/pypvz.git diff --git a/main.py b/main.py old mode 100644 new mode 100755 index 9421809..7adf14d --- a/main.py +++ b/main.py @@ -1,6 +1,7 @@ +#!/usr/bin/python import pygame as pg from source.main import main if __name__=='__main__': main() - pg.quit() \ No newline at end of file + pg.quit() diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c32df87 --- /dev/null +++ b/update.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd `dirname $0`; pwd +git add * +git add .gitignore +git commit -m 'Updated by update.sh' +git push -u git@github.com:wszqkzqk/pypvz.git +