mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
change prompt.js/css to waveterm.js/css
This commit is contained in:
parent
7e9e76f089
commit
65db030126
@ -3,9 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<base href="../" />
|
<base href="../" />
|
||||||
<script charset="UTF-8" src="dist-dev/prompt.js"></script>
|
<script charset="UTF-8" src="dist-dev/waveterm.js"></script>
|
||||||
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
||||||
<link rel="stylesheet" href="dist-dev/prompt.css" />
|
<link rel="stylesheet" href="dist-dev/waveterm.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="measure"></div>
|
<div id="measure"></div>
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<base href="../" />
|
<base href="../" />
|
||||||
<script charset="UTF-8" src="dist/prompt.js"></script>
|
<script charset="UTF-8" src="dist/waveterm.js"></script>
|
||||||
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
<link rel="stylesheet" href="public/bulma-0.9.4.min.css" />
|
||||||
<link rel="stylesheet" href="dist/prompt.css" />
|
<link rel="stylesheet" href="dist/waveterm.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="measure"></div>
|
<div id="measure"></div>
|
||||||
|
@ -43,7 +43,7 @@ let loggerConfig = {
|
|||||||
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
|
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
|
||||||
winston.format.printf((info) => `${info.timestamp} ${info.message}`)
|
winston.format.printf((info) => `${info.timestamp} ${info.message}`)
|
||||||
),
|
),
|
||||||
transports: [new winston.transports.File({ filename: path.join(scHome, "prompt-app.log"), level: "info" })],
|
transports: [new winston.transports.File({ filename: path.join(scHome, "waveterm-app.log"), level: "info" })],
|
||||||
};
|
};
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
loggerConfig.transports.push(new winston.transports.Console());
|
loggerConfig.transports.push(new winston.transports.Console());
|
||||||
@ -59,7 +59,7 @@ function log(...msg) {
|
|||||||
console.log = log;
|
console.log = log;
|
||||||
console.log(
|
console.log(
|
||||||
sprintf(
|
sprintf(
|
||||||
"prompt-app starting, PROMPT_HOME=%s, apppath=%s arch=%s/%s",
|
"waveterm-app starting, PROMPT_HOME=%s, apppath=%s arch=%s/%s",
|
||||||
scHome,
|
scHome,
|
||||||
getAppBasePath(),
|
getAppBasePath(),
|
||||||
unamePlatform,
|
unamePlatform,
|
||||||
@ -70,7 +70,7 @@ if (isDev) {
|
|||||||
console.log("prompt-app PROMPT_DEV set");
|
console.log("prompt-app PROMPT_DEV set");
|
||||||
}
|
}
|
||||||
let app = electron.app;
|
let app = electron.app;
|
||||||
app.setName(isDev ? "Prompt (Dev)" : "Prompt");
|
app.setName(isDev ? "Wave (Dev)" : "Wave");
|
||||||
let waveSrvProc = null;
|
let waveSrvProc = null;
|
||||||
let waveSrvShouldRestart = false;
|
let waveSrvShouldRestart = false;
|
||||||
|
|
||||||
@ -606,7 +606,7 @@ function runActiveTimer() {
|
|||||||
(async () => {
|
(async () => {
|
||||||
let instanceLock = app.requestSingleInstanceLock();
|
let instanceLock = app.requestSingleInstanceLock();
|
||||||
if (!instanceLock) {
|
if (!instanceLock) {
|
||||||
console.log("prompt-app could not get single-instance-lock, shutting down");
|
console.log("waveterm-app could not get single-instance-lock, shutting down");
|
||||||
app.quit();
|
app.quit();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ if (process.env.WEBPACK_ANALYZE) {
|
|||||||
|
|
||||||
var webCommon = {
|
var webCommon = {
|
||||||
entry: {
|
entry: {
|
||||||
prompt: ["./src/index.ts", "./src/app/app.less"],
|
waveterm: ["./src/index.ts", "./src/app/app.less"],
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
Loading…
Reference in New Issue
Block a user