Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timer for Mac

就是一個計時器

---To Users---------------------------

如何使用

直接下載Timer_v1.zip,解壓縮後它就是一個可以直接在Mac中跑起來的應用程式了!

p.s.

  1. 因為是網路上下載下來的東西,蘋果的安全意識很強,會擋,所以第一次打開始不能直接雙擊,而是要右鍵單擊後,在彈出窗口中,選擇 打開 來確認你信任這個應用程式。
  2. 點下APP的時候它會先閃退個兩秒才再次出現是正常現象

按鈕簡介

程式介面

  • S=Start
  • P=Pause
  • SCD=Swich to CountDown 倒計時 直接輸入要的時間
  • SC=Swich to Count 正計時
  • x=pin on top
  • o=unpin

---To Developers----------------------

目前概述

基本功能能實現,不過還有一些可優化和改進的,以及可加一些feature。

BTW 我現在Timer跟stopwatch這兩個名詞是混用的

早安你好我的朋

  1. 確認已安裝 Python3
  2. 克隆這個倉庫:
    git clone https://github.com/slimuCS/timer_public.git
  3. 進入專案目錄:
    cd timer_public/Timer_develop
  4. 創建並啟動虛擬環境:
    python3 -m venv myenv
    source myenv/bin/activate
  5. 安裝必要套件:
    pip install -r requirements.txt
  6. 改程式碼吧!
    python stopwatch.py #執行測試
  7. 重建app
    # 先把舊的清掉
    rm -rf dist/ build/ *.spec 
    # build一個新app出來 (生成的 .app 文件會在 dist/ 資料夾中)
    pyinstaller --onefile --windowed --icon=icon.icns stopwatch.py
    # 如果想改icon也行,生一張png出來再丟到網路上convert程.icns

貢獻

如果你想貢獻,可以遵循以下步驟:

  1. Fork 這個 Repository
  2. 創建一個新分支:git checkout -b feature-branch
  3. 提交更改:git commit -m 'Add some feature'
  4. 推送到分支:git push origin feature-branch
  5. 創建一個 Pull Request

授權

MIT © 2024 slimu

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages