From c8e715b6217d6627131bf0608feeec1bfc84c141 Mon Sep 17 00:00:00 2001 From: mathieudutour Date: Sun, 25 Feb 2018 09:26:54 +0200 Subject: [PATCH] fix build --- app/package-info.d.ts | 1 - app/package-info.js | 5 ----- script/build.ts | 7 +------ 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/app/package-info.d.ts b/app/package-info.d.ts index 5f169d7f8..ca44fc87a 100644 --- a/app/package-info.d.ts +++ b/app/package-info.d.ts @@ -1,4 +1,3 @@ export function getProductName(): string -export function getCompanyName(): string export function getVersion(): string export function getBundleID(): string diff --git a/app/package-info.js b/app/package-info.js index b63ebe090..0e51b58b3 100644 --- a/app/package-info.js +++ b/app/package-info.js @@ -13,10 +13,6 @@ function getProductName() { : productName } -function getCompanyName() { - return appPackage.companyName -} - function getVersion() { return appPackage.version } @@ -27,7 +23,6 @@ function getBundleID() { module.exports = { getProductName, - getCompanyName, getVersion, getBundleID, } diff --git a/script/build.ts b/script/build.ts index 7aa8a1353..839f8a1d4 100755 --- a/script/build.ts +++ b/script/build.ts @@ -9,12 +9,7 @@ import * as packager from 'electron-packager' const legalEagle: LegalEagle = require('legal-eagle') -import { - getBundleID, - getCompanyName, - getProductName, - getVersion, -} from '../app/package-info' +import { getBundleID, getProductName, getVersion } from '../app/package-info' import { getReleaseChannel, getDistRoot, getExecutableName } from './dist-info'