Skip to content

Commit 04044e8

Browse files
committed
upgrade omoospace to fix reveal in macos
add readme on create omoospace
1 parent d19a3b7 commit 04044e8

5 files changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/upload-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ jobs:
6363
with:
6464
upload_url: ${{ needs.draft_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
6565
asset_path: ./package.zip
66-
asset_name: OmoospaceForBlender.${{ needs.draft_release.outputs.version }}.${{ matrix.platform }}.zip
66+
asset_name: OmoospaceBlender.${{ needs.draft_release.outputs.version }}.${{ matrix.platform }}.zip
6767
asset_content_type: application/zip

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Omoospace Blender Extension
2+
Omoospace Blender Extension is an add-on for Blender that integrates Omoospace way's manage project files into the Blender, enhancing the workflow for 3D artists and developers. [What is Omoospace?](https://omoolab.github.io/Omoospace/latest/)

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Platform:
1313

1414

1515
required_packages = [
16-
"omoospace==0.2.4",
16+
"omoospace==0.2.5",
1717
"nutree==0.5.1",
1818
"pypinyin==0.49.0",
1919
"ruamel.yaml==0.17.40",

src/omoospaceblender/blender_manifest.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ id = "omoospace"
66
version = "0.2.0"
77
name = "Omoospace"
88
tagline = "Manage your project files in omoospace's way"
9-
maintainer = "Ma Nan <icrdr2010@outlook.com>"
9+
maintainer = "MaNan <icrdr2010@outlook.com>"
1010
# Supported types: "add-on", "theme"
1111
type = "add-on"
1212

@@ -25,15 +25,21 @@ blender_version_min = "4.2.0"
2525
# https://docs.blender.org/manual/en/dev/advanced/extensions/licenses.html
2626
license = ["SPDX:MIT"]
2727
# Optional: required by some licenses.
28-
copyright = ["2024 OmooLab"]
28+
copyright = ["2026 OmooLab"]
2929

3030
# Optional list of supported platforms. If omitted, the extension will be available in all operating systems.
3131
platforms = ["windows-x64"]
3232
# Other supported platforms: "windows-arm64", "macos-x64"
3333

3434
# Optional: bundle 3rd party Python modules.
3535
# https://docs.blender.org/manual/en/dev/advanced/extensions/python_wheels.html
36-
wheels = ["./wheels/nutree-0.5.1-py3-none-any.whl", "./wheels/omoospace-0.2.4-py3-none-any.whl", "./wheels/pypinyin-0.49.0-py2.py3-none-any.whl", "./wheels/ruamel.yaml-0.17.40-py3-none-any.whl", "./wheels/ruamel_yaml_clib-0.2.15-cp311-cp311-win_amd64.whl"]
36+
wheels = [
37+
"./wheels/nutree-0.5.1-py3-none-any.whl",
38+
"./wheels/omoospace-0.2.5-py3-none-any.whl",
39+
"./wheels/pypinyin-0.49.0-py2.py3-none-any.whl",
40+
"./wheels/ruamel.yaml-0.17.40-py3-none-any.whl",
41+
"./wheels/ruamel_yaml_clib-0.2.15-cp311-cp311-win_amd64.whl",
42+
]
3743

3844

3945
## Optional: add-ons can list which resources they will require:
@@ -51,7 +57,7 @@ wheels = ["./wheels/nutree-0.5.1-py3-none-any.whl", "./wheels/omoospace-0.2.4-py
5157
## For longer explanations use the documentation or detail page.
5258
#
5359
[permissions]
54-
files = "Manage your project files in omoospace way"
60+
files = "Manage your project files in omoospace's way"
5561

5662
# Optional: build settings.
5763
# https://docs.blender.org/manual/en/dev/advanced/extensions/command_line_arguments.html#command-line-args-extension-build

src/omoospaceblender/operators.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class CreateOmoospace(bpy.types.Operator):
2424
name="Subspaces/", default="Subspaces"
2525
) # type: ignore
2626

27+
readme: bpy.props.BoolProperty(name="Add Readme", default=True) # type: ignore
28+
2729
def invoke(self, context, event):
2830
preferences = context.preferences.addons[__package__].preferences
2931
self.under = preferences.omoospace_home
@@ -50,6 +52,7 @@ def execute(self, context):
5052
under=self.under,
5153
contents_dir=self.contents_dir,
5254
subspaces_dir=self.subspaces_dir,
55+
readme=self.readme,
5356
reveal_in_explorer=True,
5457
)
5558
except FileExistsError:
@@ -100,6 +103,7 @@ def draw(self, context):
100103
layout.prop(self, "subspace_name")
101104
layout.prop(self, "contents_dir")
102105
layout.prop(self, "subspaces_dir")
106+
layout.prop(self, "readme")
103107

104108

105109
class CopyToClipboard(bpy.types.Operator):

0 commit comments

Comments
 (0)