![]() If anyone needs help with Sketch, here is something I wrote to download the latest copy, serialize it and set preferences. Sudo chmod a+x /path/to/postinstallscript ![]() To make sure the postinstall script will run make sure to do the following in Terminal: usr/sbin/chown -R root:wheel $3/Applications/"$SketchApp" usr/bin/ditto -V -x -k -sequesterRsrc -rsrc $install_dir/"$SketchZip" $3/Applications #Unzip application to /Applications folder SketchZip="sketch 3.4.3.zip" #Name of sketch zip file should go here #Working directory for script to reference resources Then create a postinstall script that contains the following: #!/bin/bash Under the Scripts tab, add the "sketch.zip" file into Additional Resources. ![]() Fill out the Project and Settings tab accordingly. Create a new raw package project in Packages. I use Packages but you can do this with any other packaging tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |