Skip to content

Commit 95197e6

Browse files
committed
Merge branch 'dev' of github.com:github0null/eide into dev
2 parents 027ee0c + e94e85b commit 95197e6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Compress.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export type SevenZipUnzipExcludeList = { name: string, recurse?: boolean }[];
4040
export class SevenZipper {
4141

4242
static readonly MaxStep = 18;
43-
static readonly ExcludeCmdSep = platform.osType() == 'win32' ? '!' : '\\!';
4443

4544
private _7za: File;
4645
private _event: events.EventEmitter;
@@ -155,7 +154,7 @@ export class SevenZipper {
155154

156155
if (option.excludeList) {
157156
for (let excludeReg of option.excludeList) {
158-
paramList.push('-xr' + SevenZipper.ExcludeCmdSep + excludeReg.trim());
157+
paramList.push('-xr!' + excludeReg.trim());
159158
}
160159
}
161160

0 commit comments

Comments
 (0)