change prompt.js/css to waveterm.js/css

This commit is contained in:
sawka 2023-10-25 18:45:14 -07:00
parent 7e9e76f089
commit 65db030126
4 changed files with 9 additions and 9 deletions

View File

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8" />
<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="dist-dev/prompt.css" />
<link rel="stylesheet" href="dist-dev/waveterm.css" />
</head>
<body>
<div id="measure"></div>

View File

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8" />
<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="dist/prompt.css" />
<link rel="stylesheet" href="dist/waveterm.css" />
</head>
<body>
<div id="measure"></div>

View File

@ -43,7 +43,7 @@ let loggerConfig = {
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
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) {
loggerConfig.transports.push(new winston.transports.Console());
@ -59,7 +59,7 @@ function log(...msg) {
console.log = log;
console.log(
sprintf(
"prompt-app starting, PROMPT_HOME=%s, apppath=%s arch=%s/%s",
"waveterm-app starting, PROMPT_HOME=%s, apppath=%s arch=%s/%s",
scHome,
getAppBasePath(),
unamePlatform,
@ -70,7 +70,7 @@ if (isDev) {
console.log("prompt-app PROMPT_DEV set");
}
let app = electron.app;
app.setName(isDev ? "Prompt (Dev)" : "Prompt");
app.setName(isDev ? "Wave (Dev)" : "Wave");
let waveSrvProc = null;
let waveSrvShouldRestart = false;
@ -606,7 +606,7 @@ function runActiveTimer() {
(async () => {
let instanceLock = app.requestSingleInstanceLock();
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();
return;
}

View File

@ -22,7 +22,7 @@ if (process.env.WEBPACK_ANALYZE) {
var webCommon = {
entry: {
prompt: ["./src/index.ts", "./src/app/app.less"],
waveterm: ["./src/index.ts", "./src/app/app.less"],
},
module: {
rules: [