Commit Graph

57 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
2333171de7 Many packager improvements; Windows signing! (#413)
* Many packager improvements; Windows signing!

* Windows signing works now! (Certs are on an external USB stick that
must be plugged into the build machine during build. We can't do the
same for OS X because certs need to exist in the login Keychain to be
found.)

Fixes #219

* Signing is now optional (so OS X and Windows contributors can run
`npm run package` without errors)

* zip, dmg, and deb arguments are now passed in as e.g. "--package=dmg"

* Print a huge warning when signing is disabled so we're less likely to
ship unsigned binaries to users.

* Make console.logs during packaging consistent and parallel
("creating..." followed by "created.")

* More aggressive signing warnings

* Warn when building OS X app on non-OS X platform (because signing
will never work on non-OS X platforms)
* Warn when building Windows app on non-Windows platform (because
signing doesn't work yet on non-Windows platforms)
2016-04-14 22:32:36 -07:00
Feross Aboukhadijeh
33663bef3e Linux build: Fix incorrect log output (#381)
Now we use a function closure to capture the `destArch` variable so the
for loop can't change it.
2016-04-10 21:22:34 -07:00
grunjol
e75cd45ec0 packge all linux versions (#379) 2016-04-10 19:54:52 -07:00
Feross Aboukhadijeh
45f6cc5247 Preload sound files for instant playback (#374)
* rm dist at start of build

* renderer style

* preload sound files for instant playback

The first time a sound file is played, the Audio object is cached.

5s after startup, all sound files are automatically preloaded.
2016-04-10 16:46:46 -07:00
Alex
f9141dd39c 32 bit build for Linux (#369)
* Add 32 bit arch for Linux

* Fix trailing spaces
2016-04-10 16:38:35 -07:00
Feross Aboukhadijeh
cc324024ba Add ISSUE_TEMPLATE 2016-04-06 21:29:25 -07:00
grunjol
0921f89eb7 Linux .deb file: update symlink on package update
* overwrite symlink on update

* fix size and list definition
2016-04-07 00:48:00 -03:00
Feross Aboukhadijeh
2509c0c951 Windows: Fix iconUrl path 2016-04-05 04:00:45 -07:00
Feross Aboukhadijeh
eddd81e8d7 Merge pull request #295 from feross/win
Windows Installer improvements
2016-04-04 19:58:29 -07:00
Feross Aboukhadijeh
361e811e93 Windows: Final .exe name: WebTorrentSetup-vX.X.X.exe 2016-04-04 19:36:06 -07:00
Feross Aboukhadijeh
663e607797 Windows: Add valid iconUrl – for building on non-Windows platforms 2016-04-04 18:42:46 -07:00
Feross Aboukhadijeh
82c9e8f8ab Windows packager: use Github URL for remoteRelease 2016-04-04 18:23:27 -07:00
Feross Aboukhadijeh
5d2b5c1c81 OS X: Name update file with "-darwin.zip" 2016-04-04 17:58:59 -07:00
Feross Aboukhadijeh
c20a809014 Windows: use remote releases URL for updates 2016-04-04 17:55:08 -07:00
Feross Aboukhadijeh
b7858a03b5 Windows: don't generate .msi 2016-04-04 17:54:58 -07:00
Feross Aboukhadijeh
27bf803539 Windows: name Setup.exe with version number 2016-04-04 17:54:50 -07:00
grunjol
6c275a33ea follow debian package name convention 2016-04-04 20:25:23 -03:00
Feross Aboukhadijeh
3599ec077b Name the .deb file consistently
Instead of "webtorrent-desktop_0.2.0-1_amd64.deb", name it
"WebTorrent-v0.2.0.deb"
2016-04-04 15:31:24 -07:00
grunjol
27727a7a97 Linux: create Debian package 2016-04-02 09:20:00 -03:00
DC
c8da083526 Make npm run package work on Mac and Linux 2016-03-28 23:09:07 -07:00
Feross Aboukhadijeh
25db4eec9d Update package.js for electron-packager v6 2016-03-28 13:55:18 -07:00
Feross Aboukhadijeh
849365f839 package .zip files for Linux 2016-03-28 01:17:57 -07:00
Romain Beaumont
391a2004f4 add binary, fix #247
cmd.js is mostly taken from node_modules/electron-prebuilt/cli.js (what the node_modules/.bin/electron symlink points to)
2016-03-28 02:26:13 +02:00
Feross Aboukhadijeh
180d756dc0 OS X packager: Fix missing DMG background image
Remove previous DMG file. This somehow fixes the issue.
2016-03-25 17:50:29 -07:00
Feross Aboukhadijeh
82c8ad7562 windows build: don't use implicit package.json values 2016-03-25 03:37:18 -07:00
Feross Aboukhadijeh
ad09012587 Windows installer: include icon url, setup icon, loading gif 2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
8b5de572f1 package: conditionally require darwin packages 2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
20c6b81047 simplify arguments to npm run package 2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
aecead4a2d Windows: Create installer .exe file 2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
7b02edca0f OS X packager: build to dist/ folder 2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
32ad0f0926 Package: remove optionalDependency "appdmg" from final bundle 2016-03-23 20:27:38 -07:00
Feross Aboukhadijeh
219e717021 OS X: pick a better bundle ID
The old bundle ID ended in .app, which OS X will interpret as an
executable app. This meant that our preferences folder was treated like
an app, lol.
2016-03-23 19:32:54 -07:00
Feross Aboukhadijeh
f7029c811c fix zip bundle
Before this change, the zip command would include the full path on my
machine in the zip file, i.e. /Users/feross/…
2016-03-22 00:02:16 -07:00
Feross Aboukhadijeh
20d5d5d60d Sign the app before producing the .zip file 2016-03-21 22:43:17 -07:00
Feross Aboukhadijeh
02ad7f947d OS X: Sign apps, build .DMG and .ZIP assets 2016-03-21 20:21:36 -07:00
Feross Aboukhadijeh
45b36fb7a1 config.COPYRIGHT -> APP_COPYRIGHT 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
1022d616d2 Unpack icon files so setting browserWindow.icon works 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
f1c27f2a69 config.COPYRIGHT 2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
0f263b89e5 OS X: open magnet links in WebTorrent 2016-03-19 17:09:05 -07:00
Feross Aboukhadijeh
f613486bb8 Fix merge mistake 2016-03-19 16:42:17 -07:00
Feross Aboukhadijeh
1430537ea8 Cleanup build script; Run plist update function for all builds 2016-03-19 16:06:22 -07:00
Feross Aboukhadijeh
89d421b46d Merge pull request #158 from feross/osx-dock
Dock icon should accept all file types
2016-03-19 16:00:43 -07:00
Feross Aboukhadijeh
e9db07e855 style 2016-03-19 03:27:57 -07:00
DC
91680cb53d Fix Windows packaging
* Work around a Chrome bug by avoiding Windows-specific backslash paths
* Change the name of the program from "Streaming torrent client" to "WebTorrent"
2016-03-19 03:27:48 -07:00
Feross Aboukhadijeh
3b30ce599f OS X: add copyright statement to About window 2016-03-19 02:49:04 -07:00
Feross Aboukhadijeh
309e509a76 Dock icon should accept all file types (fix #156) 2016-03-19 02:48:45 -07:00
Feross Aboukhadijeh
33a9e7e93d OS X: Register app as owner of .torrent files
Saw these keys/values in Transmission’s Info.plist.
2016-03-19 01:45:11 -07:00
Nate Goldman
f4dc0018dd enable os x file drop, add osx torrent file icon
- fixes #131
- partially addresses #77 for osx (now handles .torrent files)
2016-03-10 21:51:32 -08:00
Feross Aboukhadijeh
e03ed8c374 fix build 2016-03-10 19:12:40 -08:00
Feross Aboukhadijeh
f21d7dd732 Move webtorrent icons into static/ 2016-03-10 19:11:49 -08:00