Add 32/64-bit info after version number in about dialog on Windows/Linux
This commit is contained in:
parent
de154ab407
commit
522de4ad92
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,12 @@
|
|||
<label id="changelog" class="zotero-text-link" value="&zotero.whatsNew;"/>
|
||||
</hbox>
|
||||
<script>
|
||||
document.getElementById('version').textContent = Zotero.version;
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
var version = Zotero.version;
|
||||
if (!Zotero.isMac) {
|
||||
version += ` (${Services.appinfo.is64Bit ? '64' : '32'}-bit)`;
|
||||
}
|
||||
document.getElementById('version').textContent = version
|
||||
</script>
|
||||
<vbox>
|
||||
<div id="about-text" xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue