提交 8a7e7c4e 编写于 作者: E Eugene Pankov

fixes

上级 d0c10278
......@@ -146,7 +146,7 @@ start = () => {
let options = {
width: 800,
height: 400,
height: 600,
//icon: `${app.getAppPath()}/assets/img/icon.png`,
title: 'Terminus',
minWidth: 400,
......
......@@ -6,7 +6,7 @@ import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api'
@Injectable()
export class HyperColorSchemes extends TerminalColorSchemeProvider {
async getSchemes (): Promise<ITerminalColorScheme[]> {
let pluginsPath = path.join(process.env.HOME, '.hyper_plugins', 'node_modules')
let pluginsPath = path.join(process.env.HOME || (process.env.HOMEDRIVE + process.env.HOMEPATH), '.hyper_plugins', 'node_modules')
if (!(await fs.exists(pluginsPath))) return []
let plugins = await fs.readdir(pluginsPath)
......
......@@ -9,10 +9,28 @@ export class TerminalConfigProvider extends ConfigProvider {
background: 'theme',
colorScheme: {
__nonStructural: true,
foreground: null,
background: null,
cursor: null,
colors: [],
name: 'Material',
foreground: '#eceff1',
background: 'rgba(38, 50, 56, 1)',
cursor: '#FFCC00',
colors: [
'#000000',
'#D62341',
'#9ECE58',
'#FAED70',
'#396FE2',
'#BB80B3',
'#2DDAFD',
'#d0d0d0',
'rgba(255, 255, 255, 0.2)',
'#FF5370',
'#C3E88D',
'#FFCB6B',
'#82AAFF',
'#C792EA',
'#89DDFF',
'#ffffff',
]
},
customColorSchemes: []
},
......
......@@ -12,4 +12,5 @@ a:hover {
x-screen {
transition: 0.125s ease background;
padding-right: 15px;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册