mdznr / Sketch-Xcode

Automatically Exporting Assets from Sketch into Xcode.
MIT License
160 stars 10 forks source link

Terminal commands mention in Readme didn't work #1

Closed ACPK closed 9 years ago

ACPK commented 9 years ago
ACPK-Laptop% curl -O http://sketchtool.bohemiancoding.com/sketchtool-latest.zip;\
> unzip sketchtool-latest.zip;\
> sudo cp sketchtool/sketchtool /usr/bin/sketchtool;\
> sudo cp -R sketchtool/sketchtool\ resources.bundle/ /usr/bin/sketchtool\ resources.bundle/;\
> rm -r sketchtool/;\
> rm sketchtool-latest.zip;
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   369  100   369    0     0   1267      0 --:--:-- --:--:-- --:--:--  1268
Archive:  sketchtool-latest.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of sketchtool-latest.zip or
        sketchtool-latest.zip.zip, and cannot find sketchtool-latest.zip.ZIP, period.
Password:
Sorry, try again.
Password:
cp: sketchtool/sketchtool: No such file or directory
cp: directory /usr/bin/sketchtool resources.bundle does not exist
rm: sketchtool/: No such file or director
mdznr commented 9 years ago

Ahh, thanks for pointing this out. Looks like Bohemian Coding not only changed the location of the .zip file, but also the contents of the zip. c375ea0a8a should fix this.