Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Feb 25, 2018
1 parent 4781680 commit c8e715b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion app/package-info.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export function getProductName(): string
export function getCompanyName(): string
export function getVersion(): string
export function getBundleID(): string
5 changes: 0 additions & 5 deletions app/package-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ function getProductName() {
: productName
}

function getCompanyName() {
return appPackage.companyName
}

function getVersion() {
return appPackage.version
}
Expand All @@ -27,7 +23,6 @@ function getBundleID() {

module.exports = {
getProductName,
getCompanyName,
getVersion,
getBundleID,
}
7 changes: 1 addition & 6 deletions script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit c8e715b

Please sign in to comment.