Skip to content

Commit

Permalink
docs: add a readme for mac setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvukhang committed Feb 2, 2023
1 parent a178510 commit ab34c93
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
- run: |
mkdir dmg
cp -a build/CanvasSync.app 'dmg/Canvas Sync.app'
mv ./deploy/mac-readme.txt dmg/README.txt
ln -s /Applications dmg/Applications
hdiutil create -volname CanvasSync \
-srcfolder dmg \
Expand Down
18 changes: 18 additions & 0 deletions deploy/mac-readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Before running Canvas Sync for the first time, open a terminal window
and run

```
xattr -c 'Canvas Sync.app'
```

first. Otherwise there will be an error saying that this app is
developed by an unidentified developer, but that's just me, the dev.

If you've dragged-and-dropped Canvas Sync into the /Applications
folder already, simply run

```
xattr -c '/Applications/Canvas Sync.app'
```

instead. Enjoy!

0 comments on commit ab34c93

Please sign in to comment.