-
RSS Reader v0.1.0
+
+
+ Fluent Reader
+ 版本 0.1.0
+ Copyright © 2020 Haoyuan Liu. All rights reserved.
+
+ openExternal("https://github.com/yang991178/fluent-reader")}>开源项目
+ openExternal("https://github.com/yang991178/fluent-reader/issues")}>反馈
+
+
)
}
diff --git a/src/electron.ts b/src/electron.ts
index dd6acd6..28ee58f 100644
--- a/src/electron.ts
+++ b/src/electron.ts
@@ -10,6 +10,7 @@ function createWindow() {
})
// Create the browser window.
mainWindow = new BrowserWindow({
+ title: "Fluent Reader",
backgroundColor: "#faf9f8",
x: mainWindowState.x,
y: mainWindowState.y,
@@ -26,7 +27,7 @@ function createWindow() {
})
mainWindowState.manage(mainWindow)
// and load the index.html of the app.
- mainWindow.loadFile('index.html')
+ mainWindow.loadFile((app.isPackaged ? "dist/" : "") + 'index.html')
mainWindow.webContents.openDevTools()
}
diff --git a/src/index.html b/src/index.html
index 0b72c16..63237d4 100644
--- a/src/index.html
+++ b/src/index.html
@@ -3,7 +3,7 @@