Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions extensions/theme-defaults/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@
"label": "%lightHcColorThemeLabel%",
"uiTheme": "hc-light",
"path": "./themes/hc_light.json"
},
{
"id": "CortexIDE Dark",
"label": "%cortexideDarkColorThemeLabel%",
"uiTheme": "vs-dark",
"path": "./themes/cortexide_dark.json"
}
],
"iconThemes": [
Expand Down
1 change: 1 addition & 0 deletions extensions/theme-defaults/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"lightColorThemeLabel": "Light (Visual Studio)",
"hcColorThemeLabel": "Dark High Contrast",
"lightHcColorThemeLabel": "Light High Contrast",
"cortexideDarkColorThemeLabel": "CortexIDE Dark",
"minimalIconThemeLabel": "Minimal (Visual Studio Code)"
}
38 changes: 38 additions & 0 deletions extensions/theme-defaults/themes/cortexide_dark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "vscode://schemas/color-theme",
"name": "CortexIDE Dark",
"include": "./dark_vs.json",
"colors": {
"editor.background": "#010101",
"editor.foreground": "#e2e3f0",
"sideBar.background": "#040404",
"sideBar.foreground": "#e2e3f0",
"sideBarTitle.foreground": "#a5a7c4",
"input.background": "#080808",
"input.foreground": "#e2e3f0",
"input.placeholderForeground": "#6d708d",
"input.border": "#1f1f1f",
"focusBorder": "#7b5cff",
"checkbox.border": "#1f1f1f",
"editor.inactiveSelectionBackground": "#0d0d0d",
"editorIndentGuide.background1": "#161616",
"editorIndentGuide.activeBackground1": "#1f1f1f",
"editor.selectionHighlightBackground": "#7b5cff26",
"list.dropBackground": "#101010",
"activityBarBadge.background": "#7b5cff",
"menu.background": "#080808",
"menu.foreground": "#e2e3f0",
"menu.separatorBackground": "#1f1f1f",
"menu.border": "#1f1f1f",
"menu.selectionBackground": "#101010",
"sideBarSectionHeader.background": "#0000",
"sideBarSectionHeader.border": "#1f1f1f",
"tab.selectedBackground": "#080808",
"tab.selectedForeground": "#e2e3f0",
"tab.lastPinnedBorder": "#1f1f1f",
"list.activeSelectionIconForeground": "#e2e3f0",
"terminal.inactiveSelectionBackground": "#0d0d0d",
"widget.border": "#1f1f1f",
"actionBar.toggledBackground": "#101010"
}
}
2 changes: 1 addition & 1 deletion product.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"nameShort": "CortexIDE",
"nameLong": "CortexIDE",
"cortexVersion": "0.0.9",
"cortexVersion": "0.0.10",
"cortexRelease": "0001",
"applicationName": "cortexide",
"dataFolderName": ".cortexide",
Expand Down
6 changes: 4 additions & 2 deletions src/vs/platform/update/electron-main/updateService.win32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
this.availableUpdate.updateFilePath = path.join(cachePath, `CodeSetup-${this.productService.quality}-${update.version}.flag`);

await pfs.Promises.writeFile(this.availableUpdate.updateFilePath, 'flag');
const child = spawn(this.availableUpdate.packagePath, ['/verysilent', '/log', `/update="${this.availableUpdate.updateFilePath}"`, '/nocloseapplications', '/mergetasks=runcode,!desktopicon,!quicklaunchicon'], {
// Do not pass /mergetasks so the installer preserves the user's previous task choices (desktop icon, quick launch, etc.) from the registry instead of forcing our own.
const child = spawn(this.availableUpdate.packagePath, ['/verysilent', '/log', `/update="${this.availableUpdate.updateFilePath}"`, '/nocloseapplications'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore'],
windowsVerbatimArguments: true
Expand Down Expand Up @@ -256,7 +257,8 @@ export class Win32UpdateService extends AbstractUpdateService implements IRelaun
if (this.availableUpdate.updateFilePath) {
fs.unlinkSync(this.availableUpdate.updateFilePath);
} else {
spawn(this.availableUpdate.packagePath, ['/silent', '/log', '/mergetasks=runcode,!desktopicon,!quicklaunchicon'], {
// Do not pass /mergetasks so the installer preserves the user's previous task choices (desktop icon, quick launch, etc.).
spawn(this.availableUpdate.packagePath, ['/silent', '/log'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore']
});
Expand Down
Loading
Loading