Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ We're a browser extension for the Scratch website that makes Scratch look, work,
There are multiple ways of installing.
- Chrome: You can download from Chrome [here](https://scratchtools.app/chrome/). Then just press the Add to Chrome button, and you've downloaded ScratchTools!
- Firefox/Mozilla: You can download for Firefox [here](https://scratchtools.app/firefox/). You can then just add it to Firefox, and then you have ScratchTools!
- Safari (macOS, iPadOS and iOS): You can build the extension by typing `make` for macOS, and `make ios` for the iOS app (you will have to sign it on Xcode), make sure you have enabled Developer mode and allowed unsigned extensions.
- GitHub: Download from GitHub [here](https://github.com/STForScratch/ScratchTools/zipball/master). If it downloads a `.zip` file, unpack it. Then, with the folder, go to `chrome://extensions`, make sure you have developer mode enabled (switch in the top right corner), and drag the downloaded folder onto the page. Make sure you've disabled other versions of ScratchTools.

### Building a Feature
Expand Down
15 changes: 15 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
all: macos

clean:
rm -rf safari-extension
rm -rf safari-extension-build

ios: clean
xcrun safari-web-extension-converter "$(PWD)" --project-location safari-extension --force

create-without-open: clean
xcrun safari-web-extension-converter "$(PWD)" --project-location safari-extension --force --no-open

macos: create-without-open
xcodebuild -workspace safari-extension/ScratchTools/ScratchTools.xcodeproj/project.xcworkspace -scheme "ScratchTools (macOS)" -configuration Debug clean build CONFIGURATION_BUILD_DIR="$(PWD)/safari-extension-build"
echo "App available at $(PWD)/safari-extension-build"