Japanese manual: modified template string
modified based on the comments from Flatta [ci skip]
This commit is contained in:
parent
77eb0e8e3f
commit
9d02292dec
2 changed files with 2 additions and 4 deletions
|
@ -13,7 +13,7 @@ let onlineStatusWindow;
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
onlineStatusWindow = new BrowserWindow({ width: 0, height: 0, show: false });
|
onlineStatusWindow = new BrowserWindow({ width: 0, height: 0, show: false });
|
||||||
onlineStatusWindow.loadURL('file://${__dirname}/online-status.html');
|
onlineStatusWindow.loadURL(`file://${__dirname}/online-status.html`);
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ let onlineStatusWindow;
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
onlineStatusWindow = new BrowserWindow({ width: 0, height: 0, show: false });
|
onlineStatusWindow = new BrowserWindow({ width: 0, height: 0, show: false });
|
||||||
onlineStatusWindow.loadURL('file://${__dirname}/online-status.html');
|
onlineStatusWindow.loadURL(`file://${__dirname}/online-status.html`);
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.on('online-status-changed', (event, status) => {
|
ipcMain.on('online-status-changed', (event, status) => {
|
||||||
|
|
|
@ -99,8 +99,6 @@ app.on('activate', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// In this file you can include the rest of your app's specific main process
|
|
||||||
// code. You can also put them in separate files and require them here.
|
|
||||||
// このファイルでアプリケーション固有のメインプロセスのコードを読み込むことができる。
|
// このファイルでアプリケーション固有のメインプロセスのコードを読み込むことができる。
|
||||||
// ファイルを別に分けておいてここでrequireすることもできる。
|
// ファイルを別に分けておいてここでrequireすることもできる。
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue