Skip to content

Commit

Permalink
🦄 refactor: 规范名称
Browse files Browse the repository at this point in the history
  • Loading branch information
2439905184 committed Aug 28, 2022
1 parent 0ff1378 commit 7048b65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
File renamed without changes.
6 changes: 6 additions & 0 deletions GameManager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ proc install_game*(version: string) =
if exitCode == 0: echo "游戏安装完成: " & version
else: echo "安装错误!代码: " & $exitCode

# todo
proc install_game_to_offical_launcher*(version: string, path: string) =
echo "将游戏安装到官方启动器目录 用于解决疑难杂症"
#copyDir(,)
echo "安装完成"

proc uninstall_game*(version: string) =
echo "开始卸载游戏:" & version
var dir = "games/" & version
Expand Down
3 changes: 2 additions & 1 deletion Main.nim
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import std/os
#import wNim
import std/asyncdispatch
import download
import DownloadManager
import GameManager

var params = commandLineParams()
if len(params) == 0:
echo "错误,未输入参数!请输入help获取帮助!"
Expand Down

0 comments on commit 7048b65

Please sign in to comment.