Hello, this tutorial is very confusing as it says:
SquareLine_Studio
└── boards
└── your_board_name
└── version (v1_0_0)
├── your_board.png
├── your_board.zip
└── your_board.slb
The correct way is what you write in the lower part, the OBP documents need an update, thanks for pointing it out. You have to create a ‘group’ name in ‘boards’ folder, in it the your_board_v1_0_0 (if it’s the first version, the version should match the one in the slb file), and the rest (zip containing the board in __ui_project_name__, slb and png with matching name before the extension) is the same in the documentation. There’s a video at Youtube which might help even further: https://www.youtube.com/watch?v=8D03rIzTz38
Can you tell what particularly doesn’t work for you? It’s needed to find the issue. (Maybe the problem is some mismatch or missing field is the .slb file, a lot depends on that file.)
It can be used in the correct place in the documents folder, for example on Linux I have the custom board-templates in ~/Squareline/boards folder (~ stands for user’s home folder, a place similar to Users or Documents folder). (It’s probably better being stored there from safety point of view than in the installation folder.)
That board location does not work on Mac OS 14.4.1 on Squareline Studio 1.4. I could only get custom boards to appear by editing the app package contents to add board.
I had multiple custom boards on Linux machine in ~/Squareline/boards but when copied to Mac that board location did not work.
What about giving directly Users\USERNAME\SquareLine\boards that Open Board Platform (OBP) | SquareLine Studio document mentions? (With USERNAME replaced by your username.)
Is it the same as ~\SquareLine\boards?
Thanks for the feedback.
Any custom boards placed in \Users\USERNAME\SquareLine\boards do NOT appear when using Mac OS. It is almost like the software is not reading that folder. It only seems to pull board data from the app package contents.
Its strange the default location for boards, assets, etc is: \Users\USERNAME\Documents\SquareLine. I can place any asset in the asset folder and it appears but not boards in the boards folder.
OBP boards only work in \Users\USERNAME\SquareLine\boards. Why does the software look for boards in a different default directory than assets, etc.