mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-07-19 14:37:00 +00:00
Allow for channel update to stable
This commit is contained in:
parent
fad2c2bfa2
commit
a2ded729d1
4 changed files with 33 additions and 4 deletions
|
@ -95,7 +95,13 @@ export default class Main {
|
|||
{
|
||||
label: 'About',
|
||||
click: async () => {
|
||||
let aboutMessage = `Version: ${Main.application.getVersion()}\nRelease channel: ${Updater.releaseChannel}\n`;
|
||||
let aboutMessage = `Version: ${Main.application.getVersion()}\n`;
|
||||
|
||||
if (Updater.getCommit()) {
|
||||
aboutMessage += `Commit: ${Updater.getCommit()}\n`;
|
||||
}
|
||||
|
||||
aboutMessage += `Release channel: ${Updater.releaseChannel}\n`;
|
||||
|
||||
if (Updater.releaseChannel !== 'stable') {
|
||||
aboutMessage += `Release channel version: ${Updater.getChannelVersion()}\n`;
|
||||
|
@ -446,6 +452,7 @@ export default class Main {
|
|||
Main.logger = log4js.getLogger();
|
||||
Main.logger.info(`Starting application: ${app.name} | ${app.getAppPath()}`);
|
||||
Main.logger.info(`Version: ${app.getVersion()}`);
|
||||
Main.logger.info(`Commit: ${Updater.getCommit()}`);
|
||||
Main.logger.info(`Release channel: ${Updater.releaseChannel} - ${Updater.getChannelVersion()}`);
|
||||
Main.logger.info(`OS: ${process.platform} ${process.arch}`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue