Server script to download the latest installer

未關閉
#35 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, php
領域
backend, cli

研究方向

該腳本託管在 http://07th-mod.com/installer.php 並與 GitHub 發佈版本互動。首先檢查現有的伺服器端邏輯,用於平台檢測和發佈版本獲取。了解它如何確定 'stable' 與 'pre' 分支,並與專案的發佈頁面整合。使用不同的查詢參數測試端點,以驗證目前行為並識別猜測問題。

由索引模型根據 Issue 內容生成。

描述

enhancement

As promised, I talked with enumag about the script and he sent it to me earlier today.

You can access it at http://07th-mod.com/installer.php

By default, it will guess the user platform and get the latest stable release. You can force it to go through manually using: http://07th-mod.com/installer.php?system=win|mac|linux&branch=pre|stable

Example: http://07th-mod.com/installer.php?system=linux&branch=stable

Beware that using branch=pre will only work if the most recent release is marked as a pre-release. If the most recent is a stable release, it will get the stable instead of the pre-release.

Right now the guessing part doesn't work, but I believe it is because of the current changes ongoing at the releases page. Earlier today it was working fine, so it might fix itself soon enough.

主要語言
JavaScript
星號
216
分支
12
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

07th-mod/python-patcher 的其他 Issue

查看 07th-mod/python-patcher 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。