浏览代码

docs: Github Codespaces (#1127)

Kroese 3 月之前
父节点
当前提交
c31c530f2b
共有 2 个文件被更改,包括 12 次插入6 次删除
  1. 10 5
      readme.md
  2. 2 1
      src/entry.sh

+ 10 - 5
readme.md

@@ -62,15 +62,20 @@ Via Kubernetes:
 kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml
 ```
 
+Via Github Codespaces:
+
+[`Click here to launch this container in the cloud!`](https://github.com/codespaces/new?skip_quickstart=true&machine=basicLinux32gb&repo=743140652&ref=master&devcontainer_path=.devcontainer.json)
+
 ## Compatibility ⚙️
 
 | **Product**  | **Platform**   | |
 |---|---|---|
-| Docker Engine | Linux| ✅ |
-| Docker Desktop | Linux | ❌ |
-| Docker Desktop | macOS | ❌ |
-| Docker Desktop | Windows 11 | ✅ |
-| Docker Desktop | Windows 10 | ❌ |
+| Docker Engine     | Linux| ✅ |
+| Docker Desktop    | Linux | ❌ |
+| Docker Desktop    | macOS | ❌ |
+| Docker Desktop    | Windows 11 | ✅ |
+| Docker Desktop    | Windows 10 | ❌ |
+| Github Codespaces | Cloud      | ✅ |
 
 ## FAQ 💬
 

+ 2 - 1
src/entry.sh

@@ -7,9 +7,10 @@ set -Eeuo pipefail
 
 cd /run
 
+. utils.sh      # Load functions
 . reset.sh      # Initialize system
 . define.sh     # Define versions
-. mido.sh       # Download code
+. mido.sh       # Download Windows
 . install.sh    # Run installation
 . disk.sh       # Initialize disks
 . display.sh    # Initialize graphics