This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
eNpc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
ft: 优化win cmd下可以显示中文
master
SisMaker
3 days ago
parent
99c6f3f271
commit
19d3fe0f1a
3 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
bootstrap
BIN
eNpc
+1
-0
eNpc.cmd
+ 1
- 0
bootstrap
View File
@ -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
eNpc
View File
+ 1
- 0
eNpc.cmd
View File
@ -1,4 +1,5 @@
@
echo
off
setlocal
set
rebarscript
=
%~f0
chcp 65001
>
nul
escript.exe
"
%rebarscript:.cmd=%
"
%*
Write
Preview
Loading…
Cancel
Save