Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
dad672cd
Commit
dad672cd
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
Fix: version was not shown in releases
parent
5066e60f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/index.html
+9
-1
9 additions, 1 deletion
gui/index.html
with
9 additions
and
1 deletion
gui/index.html
+
9
−
1
View file @
dad672cd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<title>
Duniter 0.2
1
.0
a1
</title>
<title>
Duniter 0.2
0
.0
</title>
<style>
<style>
html
{
html
{
font-family
:
"Courier New"
,
Courier
,
monospace
;
font-family
:
"Courier New"
,
Courier
,
monospace
;
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
const
SERVER_ORIGIN
=
'
127.0.0.1:9220
'
;
const
SERVER_ORIGIN
=
'
127.0.0.1:9220
'
;
let
gui
=
require
(
'
nw.gui
'
);
let
gui
=
require
(
'
nw.gui
'
);
let
packageJSON
=
require
(
'
./package.json
'
);
function
reqListener
()
{
function
reqListener
()
{
document
.
getElementById
(
'
loader
'
).
innerHTML
=
'
Server ready.
'
;
document
.
getElementById
(
'
loader
'
).
innerHTML
=
'
Server ready.
'
;
clearTimeout
(
strangeTimeout
);
clearTimeout
(
strangeTimeout
);
...
@@ -44,11 +46,17 @@
...
@@ -44,11 +46,17 @@
min_height
:
600
,
min_height
:
600
,
min_width
:
600
min_width
:
600
},
function
(
win
)
{
},
function
(
win
)
{
win
.
moveBy
(
300
,
0
);
win
.
window
.
mainWindow
=
win
;
win
.
window
.
gui
=
gui
;
win
.
window
.
gui
=
gui
;
win
.
window
.
duniter
=
{
version
:
packageJSON
.
name
.
substr
(
1
)
};
win
.
on
(
'
closed
'
,
function
()
{
win
.
on
(
'
closed
'
,
function
()
{
// Also close globally the app when main window is closed
// Also close globally the app when main window is closed
gui
.
Window
.
get
().
close
();
gui
.
Window
.
get
().
close
();
});
});
win
.
showDevTools
();
gui
.
Window
.
get
().
hide
();
gui
.
Window
.
get
().
hide
();
});
});
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment