Skip to content

Commit

Permalink
Add: Release for extensions.blender.org
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jun 2, 2024
1 parent 8f87011 commit 75a1559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screencast_keys/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from .ops import show_mouse_hold_status
from .ui import SK_PT_ScreencastKeys, SK_PT_ScreencastKeys_Overlay
from .utils import compatibility as compat
from .utils.addon_updater import AddonUpdaterManager # extensions.blender.org: Delete line # noqa
from .utils.addon_updater import AddonUpdaterManager # extensions.blender.org: Delete line # noqa # pylint: disable=C0301
from .utils.bl_class_registry import BlClassRegistry
from . import common

Expand Down
4 changes: 2 additions & 2 deletions tools/remove_code_extensions.blender.org.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ delete_block_start_regex="[^\S]*#[^\S]*extensions.blender.org: Delete block star
delete_block_end_regex="[^\S]*#[^\S]*extensions.blender.org: Delete block end"
delete_line_regex="[^\S]*#[^\S]*extensions.blender.org: Delete line"
# shellcheck disable=SC2044
for file in $(find "${SOURCE_DIR}" -name "*.py"); do
for file in $(find "${SOURCE_DIR}" -name "*.py" -or -name "*.glsl" -or -name "*.toml"); do
in_dir_path=$(dirname "${file}")
tmp_dir_path="${TMP_DIR}/${in_dir_path}"
mkdir -p "${tmp_dir_path}"
Expand Down Expand Up @@ -70,7 +70,7 @@ for file in $(find "${SOURCE_DIR}" -name "*.py"); do
done

# shellcheck disable=SC2044
for file in $(find "${TMP_DIR}" -name "*.py"); do
for file in $(find "${TMP_DIR}" -name "*.py" -name "*.py" -or -name "*.glsl" -or -name "*.toml"); do
out_file_path=${file/${TMP_DIR}/${OUTPUT_DIR}}

out_dir_path=$(dirname "${out_file_path}")
Expand Down

0 comments on commit 75a1559

Please sign in to comment.