Fix Windows issues with menu, packaging, and test script (#4144)

This commit is contained in:
Matt Irvine
2019-02-25 11:06:31 -08:00
committed by GitHub
parent 2ae369fbdb
commit c831596e02
3 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,6 @@ Name: "runcode"; Description: "{cm:RunAfter,{#NameShort}}"; GroupDescription: "{
[Files]
Source: "*"; Excludes: "\CodeSignSummary*.md,\tools,\tools\*,\resources\app\product.json"; DestDir: "{code:GetDestDir}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "tools\*"; DestDir: "{app}\tools"; Flags: ignoreversion
Source: "{#ProductJsonPath}"; DestDir: "{code:GetDestDir}\resources\app"; Flags: ignoreversion
[Icons]

View File

@@ -29,7 +29,7 @@ if not "%BUILD_BUILDID%" == "" (
rem Otherwise
if "%BUILD_BUILDID%" == "" (
%CODE% .\test\electron\index.js --reporter mocha-junit-reporter %*
%CODE% .\test\electron\index.js %*
)
popd

View File

@@ -275,7 +275,9 @@ export function getTitleBarStyle(configurationService: IConfigurationService, en
}
}
return 'custom'; // default to custom on all OS
// {{SQL CARBON EDIT}} - Always use native toolbar
return 'native';
// return 'custom'; // default to custom on all OS
}
export const enum OpenContext {