File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed
Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,19 @@ python -m venv .venv
1414source .venv/bin/activate
1515pip install -r requirements.txt
1616python web_app.py
17+
18+ # One-click launch on macOS (Automator)
19+ # 1) Open Automator → New Document → Application
20+ # 2) Add “Run Shell Script” action (Shell: /bin/zsh)
21+ # 3) Paste this script and replace with your local path:
22+ # #!/bin/zsh
23+ # cd /path/to/lc_tracker
24+ # source .venv/bin/activate
25+ # python web_app.py &
26+ # sleep 1
27+ # open http://127.0.0.1:5123
28+ # 4) Save as “LeetCode tracker.app”
1729```
18- <!-- Optional: Automator app (macOS)
19- 1) Open Automator → New Document → Application
20- 2) Add “Run Shell Script” action (Shell: /bin/zsh)
21- 3) Paste this script:
22- #!/bin/zsh
23- cd /Users/yuyi/Documents/code/lc_tracker
24- source .venv/bin/activate
25- python web_app.py &
26- sleep 1
27- open http://127.0.0.1:5123
28- 4) Save as “LeetCode Notes.app”
29- -->
30- <!-- Optional macOS app wrapper:
31- 1) Install: pip install py2app
32- 2) Create setup.py with a basic py2app config
33- 3) Build: python setup.py py2app
34- 4) Launch the .app from dist/
35- -->
3630Then open ` http://127.0.0.1:5123 ` .
3731
3832## Data location
You can’t perform that action at this time.
0 commit comments