Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Adding support for CMD.exe.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjswensen committed Nov 7, 2017
1 parent 2dfb891 commit 6b25b6e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ exports.bootstrap = () => {
wallpaperOctagon,
wallpaperTriangles,
slack,
cmd,
} = exportOptions;
const templates = [
alfred && 'themer-alfred',
Expand All @@ -84,6 +85,7 @@ exports.bootstrap = () => {
wallpaperOctagon && 'themer-wallpaper-octagon',
wallpaperTriangles && 'themer-wallpaper-triangles',
slack && 'themer-slack',
cmd && 'themer-cmd',
].filter(Boolean);
const colorsFileContents = renderColorSets(colorSets);

Expand Down
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"themer-atom-ui": "^1.0.1",
"themer-bbedit": "^1.0.1",
"themer-chrome": "^1.0.2",
"themer-cmd": "^1.0.1",
"themer-colors-default": "^1.0.5",
"themer-colors-finger-paint": "^1.0.0",
"themer-colors-lucid": "^1.0.0",
Expand Down
7 changes: 7 additions & 0 deletions renderer/components/ExportDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const ExportDialog = ({
wallpaperOctagon,
wallpaperTriangles,
slack,
cmd,
anySelected,
colorSets,
setOption,
Expand Down Expand Up @@ -63,6 +64,11 @@ const ExportDialog = ({
label="ConEmu"
onChange={ val => setOption('conEmu', val) }
/>
<Checkbox
value={ cmd }
label="CMD.exe"
onChange={ val => setOption('cmd', val) }
/>
</fieldset>
<fieldset>
<legend>Editors</legend>
Expand Down Expand Up @@ -177,6 +183,7 @@ const ExportDialog = ({
wallpaperOctagon,
wallpaperTriangles,
slack,
cmd,
})}
disabled={!anySelected}
>Export</Button>
Expand Down
2 changes: 2 additions & 0 deletions renderer/reducers/__snapshots__/exportoptions.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Object {
"atomUi": false,
"bbEdit": false,
"chrome": false,
"cmd": false,
"conEmu": false,
"hyper": false,
"iterm": false,
Expand All @@ -30,6 +31,7 @@ Object {
"atomUi": false,
"bbEdit": false,
"chrome": false,
"cmd": false,
"conEmu": false,
"hyper": true,
"iterm": false,
Expand Down
1 change: 1 addition & 0 deletions renderer/reducers/exportoptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const defaultExportOptions = {
wallpaperOctagon: false,
wallpaperTriangles: false,
slack: false,
cmd: false,
};

export const exportOptionsReducer = (state = defaultExportOptions, action) => {
Expand Down

0 comments on commit 6b25b6e

Please sign in to comment.