webui: include files on first clean build

update website-title to 6
This commit is contained in:
zeners 2016-05-03 19:02:07 +02:00
parent 01605e5a59
commit 962dd91e0a
2 changed files with 6 additions and 9 deletions

View File

@ -22,11 +22,8 @@ unix {
webui_img_files.files = ../../retroshare-gui/src/gui/images/logo/logo_splash.png
INSTALLS += webui_img_files
#create_webfiles.commands = sh $$_PRO_FILE_PWD_/webui-src/make-src/build.sh $$_PRO_FILE_PWD_
#QMAKE_EXTRA_TARGETS += create_webfiles
#POST_TARGETDEPS += create_webfiles
#QMAKE_POST_LINK=sh $$_PRO_FILE_PWD_/webui-src/make-src/build.sh $$_PRO_FILE_PWD_
# create dummy files, we need it to include files on first try
system(webui-src/make-src/init.sh .)
WEBUI_SRC_SCRIPT = webui-src/make-src/build.sh

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title>rswebui5</title>
<title>rswebui6</title>
<link rel="stylesheet" href="app.css">
<script src="app.js"></script>
</head>
@ -14,9 +14,9 @@
var ui = require("main");
var main = document.getElementById("main");
ui.init(main);
if (m.initControl != undefined) {
m.initControl.focus();
}
if (m.initControl != undefined) {
m.initControl.focus();
}
}
</script>
</body>