Commit graph

696 commits

Author SHA1 Message Date
Brendan Forster
e3219a1954 bundle the license in the static folder and pull that in 2017-05-29 15:26:06 -03:00
Markus Olsson
8e8913387f Show output from main process when running npm start 2017-05-17 15:04:15 +02:00
Markus Olsson
2773bc189f Update the icon url 2017-05-16 10:36:27 +02:00
joshaber
3959bca94d Share the Widnows identifer name 2017-05-12 14:32:51 -04:00
joshaber
a11f432541 Use the product name for the nuget package 2017-05-12 14:27:27 -04:00
William Shepherd
fe5a7d9ef9 Merge pull request #1440 from desktop/installer-jiff
Installer jiff
2017-05-12 10:38:49 -05:00
Josh Abernathy
0eda2a4264 Merge pull request #1441 from desktop/uniqueier-app-id
Uniqueier app id
2017-05-12 11:29:01 -04:00
Markus Olsson
b31429e32d Revert "Only clean up certificate when packaging on appveyor"
This reverts commit a39e0339f5.
2017-05-12 08:11:28 +02:00
Markus Olsson
974c8a4b23 Revert "🎨 Cleanup"
This reverts commit 27fae6655d.
2017-05-12 08:11:27 +02:00
Markus Olsson
9567ff44b4 Revert "Whoops"
This reverts commit 47d2cce333.
2017-05-12 08:11:25 +02:00
Markus Olsson
a11985bb6a Revert "🎨 Cleanup"
This reverts commit 2f12512a41.
2017-05-12 08:11:23 +02:00
Markus Olsson
f7f0a8850a Revert "My kingdom for types"
This reverts commit 8fc80297dd.
2017-05-12 08:11:20 +02:00
Markus Olsson
2112882fbf Revert "omggg"
This reverts commit 92422722be.
2017-05-12 08:11:10 +02:00
Markus Olsson
0613b315b3 Everything is painful 2017-05-11 22:55:16 +02:00
Markus Olsson
af951f9ecc Use a more unique AppID than 'desktop' 2017-05-11 22:31:09 +02:00
Markus Olsson
062f4fab0d Download the icon from our CDN 2017-05-11 22:19:17 +02:00
Markus Olsson
92422722be omggg 2017-05-11 21:33:13 +02:00
Markus Olsson
8fc80297dd My kingdom for types 2017-05-11 21:27:21 +02:00
Markus Olsson
2f12512a41 🎨 Cleanup 2017-05-11 21:22:55 +02:00
Markus Olsson
47d2cce333 Whoops 2017-05-11 21:22:48 +02:00
Markus Olsson
27fae6655d 🎨 Cleanup 2017-05-11 21:21:02 +02:00
Markus Olsson
a39e0339f5 Only clean up certificate when packaging on appveyor 2017-05-11 21:20:38 +02:00
Markus Olsson
d8e76a6e18 Move the splash screen to the logos directory
It's not copied as part of the build step
2017-05-11 21:16:43 +02:00
Markus Olsson
32843e9054 Add a splash screen gif for the installer 2017-05-11 21:11:01 +02:00
Brendan Forster
bbf62d3987 bump installer icon to newest version 2017-05-09 09:35:02 +10:00
Markus Olsson
a22d3168cf Clean before copying 2017-04-28 08:34:18 +02:00
Markus Olsson
456c27845e Imports go at the top 2017-04-28 08:26:13 +02:00
Markus Olsson
293cd9969e 🎨 Cleanup 2017-04-27 22:18:33 +02:00
Markus Olsson
ffa661b2d8 Manually copy 7zip, install dependencies if needed 2017-04-27 22:17:02 +02:00
Markus Olsson
5b390b0c1a 🎨 Cleanup 2017-04-27 22:16:24 +02:00
Markus Olsson
7325d1e301 Copy git environment, bundle dugite 2017-04-27 22:16:12 +02:00
Markus Olsson
81467eab4e Only build the renderer in script/start 2017-04-27 21:15:24 +02:00
Markus Olsson
101012bd2d doh 2017-04-27 20:44:51 +02:00
Markus Olsson
3a49e54aab 🎨 cleanup 2017-04-27 20:43:17 +02:00
Markus Olsson
a84eb4becb Merge branch 'master' into tjugondag-knut 2017-04-18 11:35:47 +02:00
Markus Olsson
35b648b648 Only copy the dependencies we need 2017-04-17 23:50:36 +02:00
joshaber
ab42db66c2 Test forkiness this way 2017-04-17 17:20:45 -04:00
joshaber
469f0fec3f Don't try to setup the keychain on a fork 2017-04-17 17:08:34 -04:00
Markus Olsson
06cfe88c39 Allow starting in prod env 2017-04-17 22:23:45 +02:00
joshaber
e76592d122 Add override for wicg-focus-ring 2017-04-11 23:08:47 -04:00
Markus Olsson
4b13c8d318 Merge remote-tracking branch 'origin/master' into shouts-out 2017-04-11 12:19:38 +02:00
joshaber
97ae591e07 Logo everyone! 2017-04-10 10:40:30 -04:00
joshaber
db7e93158b Add the license overrides 2017-04-10 10:26:28 -04:00
joshaber
03c32e5027 Error if we have a missing or non-permissive license 2017-04-10 10:26:22 -04:00
joshaber
493b5c6cb7 But only exit if there's an error too 2017-04-05 22:39:33 -04:00
joshaber
31da638275 Move the packaging into its own function 2017-04-05 15:34:19 -04:00
joshaber
1b34963fa3 Write out our license dump 2017-04-05 15:33:46 -04:00
joshaber
48fdccd26a Define isProductionBuild at the top 2017-04-05 15:33:31 -04:00
Brendan Forster
fa1ad97d41 make this error message more specific 2017-03-29 15:12:01 +11:00
Brendan Forster
82b8e3216f move local varable closer to where it's needed 2017-03-29 15:11:43 +11:00
Brendan Forster
7c775bf943 iconUrl won't work when it's pointing to the filesystem 2017-03-29 15:11:10 +11:00
Brendan Forster
7429cfe478 these parameters have been renamed and will be obsoleted in a future update 2017-03-29 15:08:20 +11:00
Brendan Forster
4791ce443c bugfix - dump the returned JSON 2017-03-08 14:13:19 +11:00
joshaber
df54dc41a5 Add a copyright 2017-02-13 14:56:01 -05:00
joshaber
ebb7377e49 Use our bundle ID 2017-02-13 14:55:55 -05:00
Josh Abernathy
7ff153cb02 Merge pull request #914 from desktop/just-let-me-debug
Just let me debug
2017-02-08 10:09:53 -05:00
iAmWillShepherd
a32f855620 Remove unnecessary function 2017-02-07 16:09:06 -06:00
iAmWillShepherd
6858fc0aec Revert changes 2017-02-07 15:16:04 -06:00
iAmWillShepherd
552853c190 Add debug script 2017-02-07 15:15:33 -06:00
iAmWillShepherd
3d4f700eaa Add dev dependencies 2017-02-07 15:11:48 -06:00
Brendan Forster
7cb05f594c add user path resolution to script helpers 2017-02-07 14:48:22 +01:00
Brendan Forster
cf21a55ffd log files are now in a new location 2017-02-07 14:41:21 +01:00
Brendan Forster
7dfb9877ba move appveyor test execution into batch file so result can be set as environment variable 2017-01-30 14:48:35 +01:00
Brendan Forster
ff1d7276a0 add npm tasks for setup and inspecting test failures 2017-01-25 13:40:55 +01:00
joshaber
543af3b053 Let's just not bother with whitespace 2016-11-18 12:53:06 -05:00
joshaber
11f540ea05 Encode the asset name 2016-11-16 14:53:29 -05:00
joshaber
6b480e232e Quote them paths 2016-11-11 12:49:22 -05:00
joshaber
17f072d3be Copy static resources more generally 2016-11-02 11:01:19 -04:00
joshaber
aac708dc04 Use the variable 2016-10-12 09:52:28 -04:00
joshaber
785d5d3e5f Write a different productName to our package too 2016-10-10 17:08:46 -04:00
joshaber
a2103c573d Use a different product name when in dev mode 2016-10-10 17:08:37 -04:00
joshaber
9372d1f9d7 Use dist-info instead of accessing the package json directly 2016-10-10 16:53:42 -04:00
Markus Olsson
7b8d7e4d95 Revert "Enable asar bundling in build" 2016-10-04 22:57:30 +02:00
Kevin Sawicki
5d2a2040b2 Unpack the git kitchen sink 2016-10-03 11:25:23 -07:00
Kevin Sawicki
d94c52e897 Enable asar and unpack .node files 2016-10-03 11:18:34 -07:00
Kevin Sawicki
b50621d597 Upgrade to electron-packager@8.1 2016-10-03 09:13:16 -07:00
joshaber
c310d3a261 Don't create delta packages
Central isn’t setup to provide delta packages so this makes deployment
fail.
2016-09-28 10:58:22 -04:00
joshaber
01e8a542d0 Remove unnecessary spaces 2016-09-28 10:57:56 -04:00
Brendan Forster
96bd65dab3 use published packages to create delta package 2016-09-27 14:26:19 +10:00
Brendan Forster
1397965468 when packaging locally we might not have the certificate, so let's opt-in 2016-09-27 11:47:48 +10:00
joshaber
1fc02fb2e8 Explicitly set build-version
This was removed in
https://github.com/desktop/desktop/pull/307/files#r76084401 because we
thought `build-version` was inferred by `electron-packager`. But it
turns out it only infers `app-version`:
https://github.com/electron-userland/electron-packager/pull/449
2016-09-23 12:18:34 -04:00
joshaber
31293c0adc Merge branch 'master' into ask-that-pass 2016-09-19 09:57:09 -04:00
Markus Olsson
87f7ffe1b2 Start using the gemoji db instead of scraped json 2016-09-16 21:21:12 +02:00
joshaber
8ac8e60065 Clean up all the Windows lols 2016-09-15 21:51:34 -04:00
Josh Abernathy
fcb066aee0 Get this on the website 2016-09-15 21:41:56 -04:00
joshaber
705e723fb8 Don't need these anymore 2016-09-15 15:41:26 -04:00
joshaber
0790a31498 Use a trampoline to launch AskPass on macOS 2016-09-15 15:36:21 -04:00
joshaber
20df49a09b Provide our own set of code signing requirements
This means both the main process and renderer can access our creds.
2016-09-14 15:23:32 -04:00
joshaber
1067a5f983 Merge remote-tracking branch 'origin/master' into emoju 2016-09-08 22:48:51 -04:00
Josh Abernathy
8789a69254 Merge pull request #335 from desktop/move-to-npm
so long submodules, hello npm package
2016-09-08 22:45:42 -04:00
Brendan Forster
49a0be96df it's an error, so it should be logged as such 2016-09-09 10:44:11 +10:00
Brendan Forster
54e9d81a7c test for icon and use it with installer 2016-09-08 14:25:05 +10:00
Brendan Forster
ba3def2b48 don't copy over the old distribution 2016-09-08 12:00:36 +10:00
joshaber
a49d2d97f9 Include emoji in the app bundle 2016-09-02 16:45:19 -04:00
joshaber
de975cc375 Merge branch 'master' into clome 2016-08-26 10:04:15 -04:00
Kevin Sawicki
36aa4c4596 Update ignore pattern from electron-prebuilt 2016-08-25 15:47:22 -07:00
joshaber
b622389f1b Merge branch 'master' into clome 2016-08-25 10:13:19 -04:00
joshaber
b7b6ed181a Register for the old URL protocol 2016-08-24 15:25:41 -04:00
Kevin Sawicki
0173fb5764 Remove version options now defaulting to package.json version 2016-08-24 08:48:53 -07:00
Josh Abernathy
7d774daa19 🙈 2016-07-27 18:04:49 -04:00
joshaber
6e59700333 Print a useful error message. 2016-07-27 09:42:26 -04:00
joshaber
21a17fa2a2 Return null if the binary doesn't exist. 2016-07-27 09:41:48 -04:00
joshaber
32d4856f1e Split our package.json into two different packages. 2016-07-21 14:31:30 -04:00
joshaber
43866fade1 Remove ohnogit 2016-07-15 18:35:07 -07:00
joshaber
01a92870ac Don't bundle vendor. 2016-07-05 16:25:59 -04:00
Brendan Forster
eacb7c0786 list the names of the files published to central 2016-07-05 13:32:36 +10:00
Brendan Forster
ffef11db2f implement certificate setup and cleanup and pass arguments to signtool 2016-07-05 13:05:20 +10:00
joshaber
fe60e15924 Don't dereference symlinks during packaging.
Fixes #100
2016-07-03 22:17:47 -04:00
joshaber
15f38b357e Remove git before we copy it again. 2016-06-30 23:06:45 -04:00
joshaber
6f819b40f1 Be quiet Webpack 2016-06-30 23:04:10 -04:00
joshaber
0d2265fa5c Don't use the tmpdir
It just slows us down.
2016-06-30 21:13:16 -04:00
joshaber
f0480c1f6d Don't copy object files 2016-06-30 21:12:47 -04:00
Brendan Forster
fa9cccb0bd words are hard 2016-06-30 09:35:53 +10:00
Brendan Forster
d24cdc34e8 just use fs-extra for copying 2016-06-30 09:18:37 +10:00
Brendan Forster
3436abb4a8 make including the embedded git work across multiple platforms 2016-06-28 11:17:04 +10:00
Markus Olsson
5841043988 Fix path to generated octicons file 2016-06-27 17:13:54 +02:00
joshaber
41921bb527 Copy git into our app 2016-06-23 11:37:39 -04:00
joshaber
4c0b5c02f0 Ignore all the git fixtures. 2016-06-22 15:10:24 -04:00
joshaber
2d58f51ecc Copy the npmrc for the app bundling too.
To ensure we get the Electron binaries.
2016-06-22 15:10:15 -04:00
Josh Abernathy
2cd3c321bf Merge pull request #50 from desktop/sass
Sassy styles
2016-06-22 12:07:32 -04:00
Markus Olsson
b7d50dd19d Merge pull request #49 from desktop/sign-for-os-x
Sign on macOS
2016-06-20 13:32:52 +02:00
Markus Olsson
3551d88a67 We're not copying the icons to the build dir any more 2016-06-17 01:32:59 +02:00
joshaber
47fea48838 Only setup the key when building on Travis 2016-06-16 15:43:16 -07:00
joshaber
045b6e65e4 Fix the command path 2016-06-16 15:43:05 -07:00
joshaber
4b47276da9 Fix the download call 2016-06-16 15:35:23 -07:00
joshaber
9dcde259ec Download the certificate on macOS 2016-06-16 15:17:50 -07:00
Markus Olsson
0a2f11f19d We don't have to copy static now, all resources should be require()d 2016-06-17 00:15:20 +02:00
joshaber
1338f8c4ae Make the sign 2016-06-16 14:49:03 -07:00
joshaber
518b23eefb Send the size and hash too 2016-06-16 13:01:27 -07:00
joshaber
9674c23ef4 Publish all the Windows artifacts 2016-06-16 12:42:35 -07:00
Josh Abernathy
6896c521ac Merge pull request #43 from desktop/octicons
Octicons
2016-06-15 11:28:49 -07:00
Markus Olsson
b9e1632228 Auto-generated notice 2016-06-15 19:47:16 +02:00
Markus Olsson
dc85dd9942 iHeardYouLikedTheCamelCase 2016-06-15 19:38:56 +02:00
Markus Olsson
acd31b0373 📖 2016-06-14 20:22:47 +02:00
Markus Olsson
8e43ee098f Automatically download latest version of the sprites 2016-06-14 20:20:11 +02:00
Markus Olsson
89bc8aa37c Can't use semicolons any more 😢 2016-06-14 13:47:28 +02:00
Markus Olsson
d0b8b9bbad 🎨 2016-06-14 13:44:34 +02:00
Markus Olsson
cf266ee3ce Use single quotes in generated typescript to keep linter happy 2016-06-14 13:44:30 +02:00
Markus Olsson
1dbfc72386 Let's make it a self-containing type 2016-06-13 20:40:13 +02:00
Markus Olsson
e489a78866 Add an initial generate script for octicons
This will require you to have the sprite svg in the current working
directory. Awful, just awful
2016-06-13 16:28:16 +02:00
joshaber
a4b87b8300 Tell Central about the artifacts too. 2016-06-10 13:08:45 -04:00
joshaber
0f2fddb0a1 Don't need the explicit return. 2016-06-10 12:52:57 -04:00
joshaber
7fa91c16b3 We say context now. 2016-06-09 16:36:30 -04:00
joshaber
493446bf00 Stringify the JSON before calculating the HMAC. 2016-06-07 15:35:48 -04:00
joshaber
5c66d9be10 Return the promise 2016-06-07 12:43:59 -04:00
joshaber
e790758c32 Tell Central about the deployment. 2016-06-07 12:39:03 -04:00
joshaber
63113f8c63 Continue doing some stuff after uploading. 2016-06-07 12:38:43 -04:00
joshaber
2256d9f80f Log when we're not publishing. 2016-06-07 12:37:43 -04:00
joshaber
a7adb223ae Merge branch 'master' into oauth 2016-06-01 10:26:11 -04:00
joshaber
87d2c111a8 Merge branch 'master' into oauth 2016-05-27 13:25:23 -04:00
joshaber
93797a59a1 Merge branch 'master' into publish 2016-05-27 12:19:07 -04:00
joshaber
6b5cc2ab27 Use the node 2016-05-27 10:46:23 -04:00
joshaber
9324a95cd6 Register for our URL protocol. 2016-05-26 17:00:55 -04:00
joshaber
bef45a2fba Done testing publish 2016-05-25 21:33:04 -04:00
joshaber
dcffa1904b Take the first 8 characters to match AppVeyor. 2016-05-25 21:21:36 -04:00
joshaber
e1ea50cda4 Shorty SHA 2016-05-25 21:19:15 -04:00
joshaber
05ae5c9a2d I dunno 2016-05-25 21:04:59 -04:00
joshaber
e76928e94f Revert "Revert "Get the SHA from the environment.""
This reverts commit d38fddd630.
2016-05-25 21:03:51 -04:00
joshaber
d38fddd630 Revert "Get the SHA from the environment."
This reverts commit e22b0f7a6f.
2016-05-25 18:18:22 -04:00
joshaber
86630b96aa Revert "Stop testing."
This reverts commit 32b02dff08.
2016-05-25 18:18:05 -04:00
joshaber
32b02dff08 Stop testing. 2016-05-25 17:43:24 -04:00
joshaber
2eaea6ac2d Prefix release 2016-05-25 17:43:10 -04:00
joshaber
e22b0f7a6f Get the SHA from the environment. 2016-05-25 17:39:02 -04:00
joshaber
cd5fc30d51 Revert "Log the bucket"
This reverts commit ba21e3f181.
2016-05-25 17:29:54 -04:00
joshaber
ba21e3f181 Log the bucket 2016-05-25 17:25:31 -04:00
joshaber
8d077e561d Set Up The Bomb here too 2016-05-25 17:17:52 -04:00
joshaber
185254c3a8 s/release/publish 2016-05-25 17:02:04 -04:00
joshaber
03df5f70c4 Test releasing 2016-05-25 17:01:53 -04:00
joshaber
49e781b7ed Set Us Up The Installer 2016-05-25 16:59:01 -04:00
joshaber
d77a98097c Pull these out into their own functions. 2016-05-25 16:56:26 -04:00
joshaber
bcd04b346a Let us then try publishing? 2016-05-25 16:49:06 -04:00
joshaber
5c9d90ecab Expose some of the artifact paths. 2016-05-25 16:48:45 -04:00
joshaber
182eaf8879 Launch the app after starting the dev server. 2016-05-25 14:47:13 -04:00
joshaber
ab60145302 Move the zip up a level. 2016-05-25 12:18:15 -04:00
joshaber
592aceec40 Log the output dir. 2016-05-25 11:10:30 -04:00
joshaber
9e5baefeec Move up a level 2016-05-25 11:03:03 -04:00
joshaber
87d19611ab Remind ourselves that we'll need to sign the app bundles. 2016-05-25 10:48:47 -04:00
joshaber
922b50ecb0 First shot at making Windows installers. 2016-05-25 10:47:51 -04:00
joshaber
de5d6c000a Package for OS X 2016-05-25 10:37:27 -04:00
joshaber
81e79dd532 Rename package => build. 2016-05-25 10:22:54 -04:00
joshaber
3f33e43ace Just log the node environment 2016-05-24 15:30:29 -04:00
joshaber
60cbfa635d Log whether we're building for production or development 2016-05-24 15:20:23 -04:00
joshaber
e93b06901e The Tale Of Two Webpacks 2016-05-24 15:00:52 -04:00
joshaber
8dc8d74fb1 Package for release or debug. 2016-05-24 14:48:10 -04:00
joshaber
9de9f2527d Fix the comment. 2016-05-24 11:08:05 -04:00
joshaber
b58ebc1160 Install only the production dependencies for packaging. 2016-05-24 10:56:56 -04:00
joshaber
3613377cb4 Better TODOs 2016-05-23 15:24:09 -04:00
joshaber
a18b8d3b2b Launch on Windows too 2016-05-23 15:16:40 -04:00
joshaber
5e6d0a157b Call our run script instead of using electron 2016-05-23 15:12:47 -04:00
joshaber
fd86d1bbaf s/out/dist 2016-05-23 15:01:29 -04:00
joshaber
3a4eca82fc Merge branch 'master' into packaging 2016-05-23 14:34:59 -04:00
Markus Olsson
4a30b00c71 Use npm magic "env" command instead
See https://docs.npmjs.com/cli/run-script
2016-05-18 13:52:42 +02:00
joshaber
25000a1396 Note that prune should be true. 2016-05-16 17:32:55 -04:00
joshaber
4344501c67 Back to the flattened structure 2016-05-16 17:22:43 -04:00
joshaber
75fd9a3e99 Package an app. 2016-05-16 15:00:56 -04:00
joshaber
23c7b47a26 First 2016-05-11 12:16:32 -04:00