Commit Graph

57 Commits (5078e1e7d8877ef67d8efc3a68866874e7f3488a)

Author SHA1 Message Date
lilia 5078e1e7d8
Reset bundleVersion 8 years ago
lilia a2667f784b
CI builds zip for all platforms
// FREEBIE
8 years ago
lilia e1282f9b3b
Bump to 1.0.5 8 years ago
lilia 2d65ae3689
Disable build script publishing in ci
Travis and AppVeyor configs will handle publishing ci builds

// FREEBIE
8 years ago
lilia 6977928e99
Build only .zip on mac 8 years ago
lilia aaee025409
Rename script 8 years ago
lilia 693a59809e
Fix setting environment var on windows
Use platform-specific commands to set NODE_ENV after yarn install but
before yarn travis-build.

// FREEBIE
8 years ago
lilia 81d8b78d05
Switch to grunt-sass + node-sass-import-once
These modules together allow us to import css files from third party
components without maintaining symlinks that essentially rename them as
sass partials, which doesn't work on windows.

// FREEBIE
8 years ago
lilia d6c0fbe9a3
WIP Travis build
// FREEBIE
8 years ago
lilia 689827ee2f
Bump bundleVersion
// FREEBIE
8 years ago
lilia e83ceba570
Bump bundleVersion for app store 8 years ago
lilia f716f70bf4
Add icon path for linux
// FREEBIE
8 years ago
lilia 6468038401
Add bundleVersion to mac config
This corresponds to CFBundleVersion in the mac build. It must be
incremented every time we upload a new build to the app store for the
current release version.

// FREEBIE
8 years ago
lilia 4c3977e13b
Change mac output dir in asar script
// FREEBIE
8 years ago
lilia 0c8e769c2a
Exclude some build files from native modules
In practice this removes about 1MB of extraneous build resoures from the
spellchecker module in a packaged build.

// FREEBIE
8 years ago
lilia 38b292ef9e
Setup for mas build
// FREEBIE
8 years ago
lilia 6c49687126
Bump version 8 years ago
lilia 7ef901d628
yarn remove icon-gen 8 years ago
lilia 7d47b53dc3
Generate icons with electron-icon-maker
Either icon-gen or local scaling of images was producing a corrupted and
glitchy .icns file. With this module, we need only provide a 1024px
image and it handles the scaling and generation of all other icon
assets.

// FREEBIE
8 years ago
lilia c9537ff9a9
Add asar for inspeting asar contents 8 years ago
lilia 429cc46cf9
yarn add --dev electron-publisher-s3
// FREEBIE
8 years ago
lilia 9f873e21a2
yarn upgrade electron-builder 8 years ago
lilia 8732127b1d
yarn upgrade icon-gen 8 years ago
lilia a885123ab3
Upgrade dev dependencies
Including multiple major version upgrades.

// FREEBIE
8 years ago
lilia 90ad83a91d
Add yarn.lock
Remove grunt-preen due to its dependency on module incompatible with
current node.

// FREEBIE
8 years ago
lilia 77d5ef2f68
Add spellcheck
As of Electron 1.6.5, this requires disabling the sandbox in order to
get access to the `webFrame` api.

// FREEBIE
8 years ago
lilia eefcaf0bcc
Bump version 8 years ago
lilia de3816b094
Get standalone registration working in development
Whisper.events.trigger('openStandalone') to open the standalone
registration view.

// FREEBIE
8 years ago
lilia 1c8d3fb41a
Bump version 8 years ago
lilia ab9f5beead
Fix release script
// FREEBIE
8 years ago
lilia e7e030a5e2
Build expiration date
Add the buildExpiration config and add it to the renderer's config
object. Use grunt to write the build expiration to
config/local-production.json which will override the default value (no
expiration) in production. Finally, run this grunt task as part of the
build process.

// FREEBIE
8 years ago
lilia 4963af60c9
Use default output dir: ./dist 8 years ago
lilia 7e1bee1082
Configure app/build using node config
Add environment-specific configs under `./config` and integrate with the
build system. Also changes package.json `files` from blacklist to
whitelist.

// FREEBIE
8 years ago
lilia 6a49036da9
Bump to 1.0.1 8 years ago
lilia 81a40bb548
Remove spaces from windows installer name
Spaces in the file name get escaped to %20. Then the percent sign gets
escaped again on the way to s3 upload, such that the object name on s3
ends up as %2520. To fix this, we can simply omit spaces from our
artifact names.

// FREEBIE
8 years ago
lilia 32be90c728
Fix missing icons on linux
Move these to where the build expects them to be.

In theory electron-builder should generate these from a build/icon.icns
but that doesn't seem to be working.

// FREEBIE
8 years ago
lilia 9e39442ea8
Setup publishing to s3 8 years ago
lilia a99890d254
Generate ico and icns from png
`npm run icon-gen` builds icon files from png files in the images
directory, outputting to build/icon.{ico,icns} (the expected location
for electron-builder).

// FREEBIE
8 years ago
lilia 2bbd0d58c6
Separate development and production environments
Set NODE_ENV at run time or build time to switch the app between dev and
production modes.

At build time, the current NODE_ENV will be included in the packaged
app's package.json file. At runtime we read NODE_ENV from package.json,
but also allow the local environment variable to override. A query
string parsed by a preload script exposes the value to the renderer,
which then determines whether we use the staging or production server.
Additionally, different environments have different user data
directories.

// FREEBIE
8 years ago
lilia beb058aed6
Add productName to package.json
This defines the display name of the packaged app. It can contain
spaces.

// FREEBIE
8 years ago
lilia 584d29f4a4
Exclude some files from inclusion in packaged app
This adds and extends the default `files` config from electron-builder
such that it adds all and only the necessary files to our app.asar.

// FREEBIE
8 years ago
lilia dcc6f599a2
Auto-update hourly 8 years ago
lilia 83d827c127
Configure electron-builder
// FREEBIE
8 years ago
lilia 995ccda9e4
Add electron and electron-builder dev dependencies
// FREEBIE
8 years ago
lilia e6e8f02fb7
Populate required fields in package.json
// FREEBIE
8 years ago
lilia 2cf7ea0a94
Hello Electron
In package.json, define our main entry point for electron, and add a
node script to start it up.

Add main.js from Electron/electron-quick-start with two modifications.
1. Load background.html instead of index.html
2. Disable node integration in the renderer

At this point we can load the background page in a window
with `npm start`, though it currently breaks on missing chrome app APIs.

// FREEBIE
8 years ago
lilia 79ad09ba47 Update jshint 8 years ago
lilia c442a02cb6 Add build support for expiring old releases
Builds expire after 90 days.
9 years ago
Sam Lanning b7fd862aa6 Create tx task which performs 'tx pull' followed by 'locale-patch'
// FREEBIE
9 years ago
lilia a229075016 Update project/repo names in package.json
// FREEBIE
9 years ago