Pārlūkot izejas kodu

ft: 优化win cmd下可以显示中文

master
SisMaker pirms 3 dienas
vecāks
revīzija
19d3fe0f1a
3 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      bootstrap
  2. Binārs
      eNpc
  3. +1
    -0
      eNpc.cmd

+ 1
- 0
bootstrap Parādīt failu

@ -156,6 +156,7 @@ writeWindowsScripts() ->
"@echo off\r\n"
"setlocal\r\n"
"set rebarscript=%~f0\r\n"
"chcp 65001 > nul\r\n"
"escript.exe \"%rebarscript:.cmd=%\" %*\r\n",
ok = file:write_file("eNpc.cmd", CmdScript).

Binārs
eNpc Parādīt failu


+ 1
- 0
eNpc.cmd Parādīt failu

@ -1,4 +1,5 @@
@echo off
setlocal
set rebarscript=%~f0
chcp 65001 > nul
escript.exe "%rebarscript:.cmd=%" %*

Notiek ielāde…
Atcelt
Saglabāt