Get version number from package.json on app start

This is easy to miss when prepping a new release so I figured we might as well automate it
This commit is contained in:
CakeLancelot
2023-02-09 05:32:21 -06:00
parent 5da0da1981
commit d554b6b968
6 changed files with 25 additions and 6 deletions

View File

@@ -151,7 +151,7 @@
</button>
</div>
<div class="modal-body">
<p class="text-monospace">Version 1.4</p>
<p id="of-aboutversionnumber" class="text-monospace">APP_VERSION_NUMBER</p>
<p>
©2020-2023 OpenFusion Contributors<br />OpenFusion
is licensed under MIT.<br />
@@ -447,13 +447,14 @@
</div>
</div>
</div>
<div id="of-versionnumber">
<div id="of-versionnumberdiv">
<a
id="of-versionnumber"
class="text-monospace text-secondary"
href="#of-aboutmodal"
data-toggle="modal"
data-target="#of-aboutmodal"
>v1.4</a
>v0</a
>
</div>
</section>