diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index 4432aa5..c27f249 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -55,19 +55,19 @@ jobs: # Check if .packignore exists and create an exclude list if [ -f ".packignore" ]; then # Read the .packignore file and format for zip exclusion - EXCLUDE_LIST=$(cat .packignore | sed 's|^|**/|' | sed 's|$|/*|' | tr '\n' ' ') + EXCLUDE_LIST=$(cat .packignore | sed 's|^|"|' | sed 's|$|"|' | tr '\n' ' ') echo "Exclude list: $EXCLUDE_LIST" - echo "exclude_list=$EXCLUDE_LIST" >> $GITHUB_ENV + echo "exclude_list=-x $EXCLUDE_LIST" >> $GITHUB_OUTPUT else echo ".packignore not found, no files will be excluded." - echo "exclude_list=" >> $GITHUB_ENV + echo "exclude_list=" >> $GITHUB_OUTPUT fi - name: "Build and Package the Plugin" run: | # Create the zip file excluding files listed in .packignore zip -r SaltyQQChat-${{ steps.check_version.outputs.version }}.zip * \ - -x ${{ steps.exclude_list.outputs.exclude_list }} + ${{ steps.exclude_list.outputs.exclude_list }} mv SaltyQQChat-${{ steps.check_version.outputs.version }}.zip SaltyQQChat-${{ steps.check_version.outputs.version }}.mcdr - name: "Upload Artifact" diff --git a/mcdreforged.plugin.json b/mcdreforged.plugin.json index d99b7ce..209a4aa 100755 --- a/mcdreforged.plugin.json +++ b/mcdreforged.plugin.json @@ -1,6 +1,6 @@ { "id": "salty_qq_chat", - "version": "1.1.3", + "version": "1.1.4", "name": "SaltyQQChat", "description": { "en_us": "Scalable QQ-Bot Built on QQAPI", diff --git a/salty_qq_chat/__init__.py b/salty_qq_chat/__init__.py index 697e657..8edd5ba 100755 --- a/salty_qq_chat/__init__.py +++ b/salty_qq_chat/__init__.py @@ -31,7 +31,7 @@ class Config(Serializable): admins: List[str] = [] whitelist: Dict[str, Any] = { - "add_when_bind": False, + "add_when_bind": True, "remove_when_leave_group": True, "commands": { "add": "whitelist add {}", @@ -40,8 +40,6 @@ class Config(Serializable): "verify_player": True, } - debug: bool = False - commands: Dict[str, bool] = { "bind": True, "command": True, diff --git a/salty_qq_chat/version.py b/salty_qq_chat/version.py index 4043d84..5a9fcc3 100644 --- a/salty_qq_chat/version.py +++ b/salty_qq_chat/version.py @@ -1,2 +1,2 @@ -VERSION = (1, 1, 3) +VERSION = (1, 1, 4) VERSION_STR = '.'.join(map(str, VERSION)) \ No newline at end of file