mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 15:00:38 +08:00
14 lines
296 B
TypeScript
14 lines
296 B
TypeScript
|
/// <reference path="../node_modules/@types/chrome/index.d.ts" />
|
||
|
|
||
|
// tslint:disable-next-line:no-any
|
||
|
const chromeApp = (<any>chrome).app;
|
||
|
|
||
|
chromeApp.runtime.onLaunched.addListener(() => {
|
||
|
chromeApp.window.create("src/index.html", {
|
||
|
outerBounds: {
|
||
|
width: 400,
|
||
|
height: 500,
|
||
|
},
|
||
|
});
|
||
|
});
|