Updated footer info
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1756478ef7
commit
da7ca2029c
@ -18,14 +18,14 @@
|
|||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
<div class="container fluid">
|
<div class="container fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="columns three"><p></p></div>
|
<div class="columns three">
|
||||||
|
<p class="faded-text no-margin u-text-center">Sentry v<span id="app-version"></span></p>
|
||||||
|
</div>
|
||||||
<div class="columns six">
|
<div class="columns six">
|
||||||
<p class="no-margin">This app was built using:</p>
|
<p class="no-margin u-text-center">Developed by Bit Goblin free of charge.</p>
|
||||||
<p class="no-margin">
|
</div>
|
||||||
Node.js <span id="node-version"></span>,
|
<div class="columns three">
|
||||||
Chromium <span id="chrome-version"></span>,
|
<p class="no-margin u-text-center"><a href="https://git.metaunix.net/BitGoblin/Sentry">Source code</a></p>
|
||||||
and Electron <span id="electron-version"></span>.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
const appInfo = require('./package.json');
|
||||||
|
|
||||||
// All of the Node.js APIs are available in the preload process.
|
// All of the Node.js APIs are available in the preload process.
|
||||||
// It has the same sandbox as a Chrome extension.
|
// It has the same sandbox as a Chrome extension.
|
||||||
window.addEventListener('DOMContentLoaded', () => {
|
window.addEventListener('DOMContentLoaded', () => {
|
||||||
@ -6,7 +8,5 @@ window.addEventListener('DOMContentLoaded', () => {
|
|||||||
if (element) element.innerText = text
|
if (element) element.innerText = text
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const type of ['chrome', 'node', 'electron']) {
|
replaceText('app-version', appInfo.version);
|
||||||
replaceText(`${type}-version`, process.versions[type])
|
});
|
||||||
}
|
|
||||||
})
|
|
||||||
|
Loading…
Reference in New Issue
Block a user