Skip to content

Commit e427275

Browse files
committed
fix command for linux to copy boxasm.bat
1 parent 402dd8c commit e427275

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "MASM/TASM",
44
"publisher": "xsro",
55
"description": "DOS汇编语言开发环境和语法支持,win下安装即用,自带DOSBox.exe和TASM/MASM工具",
6-
"version": "0.3.1",
6+
"version": "0.4.0-dev",
77
"keywords": [
88
"dosbox",
99
"16位",

scripts/work/ignore.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
masmtasm 工作文件夹,本文件可以自行删除
1+
This file is used to make sure workspace of xsro.masm-tasm exist

src/DOSBox.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ export class DOSBox {
3838
}
3939
};
4040
if (process.platform === 'win32') {
41-
if (more) { command = "copy/Y ..\boxasm.bat boxasm.bat & " + command; }
41+
if (more) { command = "copy/Y ..\\boxasm.bat boxasm.bat & " + command; }
4242
if (doc) { command = 'del/Q T*.* & copy "' + doc.fileName + '" "T.ASM" & ' + command; }
4343
exec(command + boxcommand, { cwd: conf.workpath, shell: 'cmd.exe' }, callback);
4444
}
4545
else {
46-
if (more) { command = "cp ..\boxasm.bat ./ & " + command; }
46+
if (more) { command = "cp ../boxasm.bat ./; " + command; }
4747
if (doc) { command = 'rm -f [Tt]*.*;cp "' + doc.fileName + '" T.ASM;' + command; }
4848
exec(command + boxcommand, { cwd: conf.workpath }, callback);
4949
}

0 commit comments

Comments
 (0)