File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # How to install in Safari
2+
3+ This is a too poor developer to pay $99 per year for distribution of an opensource and free browser extension in Apple App Store.
4+ So please intall it ** manually** , GG Safari.
5+
6+ ## 0. Download this repository
7+
8+ ``` shell
9+ git clone https://github.com/sheepzh/timer.git
10+ cd timer
11+ ```
12+
13+ ## 1. Install tools
14+
15+ Some tools are required to compile this project to an executable software for Safari.
16+
17+ * [ nodejs & npm] ( https://docs.npmjs.com/downloading-and-installing-node-js-and-npm )
18+ * [ Xcode (compitable for your version of macOS)] ( https://developer.apple.com/xcode/ )
19+
20+ ## 2. Compile source code, install & run
21+
22+ There are serveral steps.
23+
24+ 1 . Compile the sourcecode programmed with TypeScript to js bundles.
25+
26+ ``` shell
27+ # Install dependencies
28+ npm install
29+ # Compile
30+ npm run build:safari
31+ ```
32+ Then there will be one folder called ** Timer** .
33+
34+ Also, you can download the archived file from [ the release page] ( https://github.com/sheepzh/timer/releases ) , and unzip it to gain this folder.
35+
36+ 2 . Convert js bundles to Xcode project
37+
38+ ``` shell
39+ [YOUR_PATH]/Xcode.app/Contents/Developer/usr/bin/safari-web-extension-converter ./Timer
40+ ```
41+ 3 . Run Xcode project and one extension app will installed on your macOS
42+ 4 . Enable this extension
43+ 5 . Finnally, open your Safari
You can’t perform that action at this time.
0 commit comments