1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

edit HTML title and loading picture URL

This commit is contained in:
Dick Choi
2015-12-19 13:59:24 +09:00
parent 03e8de2f62
commit 7f4ccdcac8
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<title>Boost Finder</title> <title>Boostnote Finder</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>

View File

@@ -8,6 +8,7 @@
<link rel="stylesheet" href="../../node_modules/devicon/devicon.min.css"> <link rel="stylesheet" href="../../node_modules/devicon/devicon.min.css">
<link rel="stylesheet" href="../../node_modules/highlight.js/styles/xcode.css"> <link rel="stylesheet" href="../../node_modules/highlight.js/styles/xcode.css">
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
<title>Boostnote</title>
<style> <style>
@font-face { @font-face {
@@ -46,7 +47,7 @@
</head> </head>
<body> <body>
<div id="loadingCover"> <div id="loadingCover">
<img src="../../resources/favicon-230x230.png"> <img src="../../resources/app.png">
<div class='message'>Loading...</div> <div class='message'>Loading...</div>
</div> </div>
@@ -57,7 +58,6 @@
const electron = require('electron') const electron = require('electron')
electron.webFrame.setZoomLevelLimits(1, 1) electron.webFrame.setZoomLevelLimits(1, 1)
var version = electron.remote.app.getVersion() var version = electron.remote.app.getVersion()
document.title = 'Boost' + ((version == null || version.length === 0) ? ' DEV' : '')
const _ = require('lodash') const _ = require('lodash')
var scriptUrl = _.find(electron.remote.process.argv, a => a === '--hot') var scriptUrl = _.find(electron.remote.process.argv, a => a === '--hot')
? 'http://localhost:8080/assets/main.js' ? 'http://localhost:8080/assets/main.js'