switchScriptTool --pack
-
- Newbie
- Posts: 12
- Joined: Mon Jan 25, 2021 8:24 pm
switchScriptTool --pack
Does anyone know the importance of packing up a node script using the switchScriptTool --pack vs just using the script folder?
Re: switchScriptTool --pack
It depends on how your environment is setup and what kind of things you do with the scripts, but one key thing is that using script folders is currently a bit slower than using packed scripts. There are some other reasons, too, and Enfocus has listed those on this page: https://www.enfocus.com/manuals/Develop ... cript.html
-
- Newbie
- Posts: 12
- Joined: Mon Jan 25, 2021 8:24 pm
Re: switchScriptTool --pack
thanks, I thought I looked all through that and didn't find a good list. I guess I missed it. That list looks like a good explanation.
Re: switchScriptTool --pack
remember - if you are using a Icon in that Script - the pack would only work, when the icon-name is the same as the script
Re: switchScriptTool --pack
switch is not accepting my packed script folders. anyone else had this problem?
am i doing something wrong?
SwitchScriptTool.exe --pack .
creates a .sscript file in the chosen folder, but switch does not accept it.
using switch 2020 fall
am i doing something wrong?
SwitchScriptTool.exe --pack .
creates a .sscript file in the chosen folder, but switch does not accept it.
using switch 2020 fall
Re: switchScriptTool --pack
I think you should pack it outside the script folder so that it doesn't overwrite the "0 KB .sscript".
For example:
to have it created inside a "build" directory at the same level as your script folder.
For example:
Code: Select all
SwitchScriptTool.exe --pack . ../build/
Re: switchScriptTool --pack
sorry,
that wasn't clear
i pack it to ../../PRD
so it is outside of the original folder
that wasn't clear
i pack it to ../../PRD
so it is outside of the original folder