Skip to content

Commit

Permalink
fix: add icons to build
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Jul 20, 2024
1 parent ca8cf0f commit aa6ee48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
run: |
mv settings.yaml dist/settings.yaml
mv icon.png dist/icon.png
mv icons/ dist/icons/
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
run: |
mv settings.yaml dist/settings.yaml
mv icon.png dist/icon.png
mv icons/ dist/icons/
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ def splanes_update(project_path, cntrl):
del sett().slicing.splanes_file

cntrl.save_settings("vip")
else:
# load splanes from settings
cntrl.load_planes(
[read_plane(figure.description) for figure in sett().figures]
)

def open_project(project_path: str):
load_settings(str(pathlib.Path(project_path, "settings.yaml")))
Expand Down

0 comments on commit aa6ee48

Please sign in to comment.