mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-31 20:41:05 +08:00
Update URL for resolving Electron headers, atom.io is going away
This commit is contained in:
parent
af83444a63
commit
b1ed7fbb8e
4 changed files with 9 additions and 5 deletions
|
@ -6,7 +6,11 @@ module.exports = grunt => {
|
|||
const done = this.async();
|
||||
const dmgPath = path.join(grunt.config('outputDir'), 'Mailspring.dmg');
|
||||
createDMG({
|
||||
appPath: path.join(grunt.config('outputDir'), 'Mailspring-darwin-x64', 'Mailspring.app'),
|
||||
appPath: path.join(
|
||||
grunt.config('outputDir'),
|
||||
`Mailspring-darwin-${process.arch}`,
|
||||
'Mailspring.app'
|
||||
),
|
||||
name: 'Mailspring',
|
||||
background: path.resolve(
|
||||
grunt.config('appDir'),
|
||||
|
|
|
@ -15,7 +15,7 @@ module.exports = grunt => {
|
|||
}
|
||||
|
||||
const orig = process.cwd();
|
||||
process.chdir(path.join(grunt.config('outputDir'), 'Mailspring-darwin-x64'));
|
||||
process.chdir(path.join(grunt.config('outputDir'), `Mailspring-darwin-${process.arch}`));
|
||||
|
||||
spawn(
|
||||
{
|
||||
|
|
4
app/package-lock.json
generated
4
app/package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mailspring",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mailspring",
|
||||
"version": "1.10.3",
|
||||
"version": "1.10.4",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@bengotow/slate-edit-list": "github:bengotow/slate-edit-list#b868e108",
|
||||
|
|
|
@ -18,7 +18,7 @@ const npmEnvs = {
|
|||
npm_config_target: npmElectronTarget,
|
||||
npm_config_arch: process.arch,
|
||||
npm_config_target_arch: process.arch,
|
||||
npm_config_disturl: 'https://atom.io/download/electron',
|
||||
npm_config_disturl: 'https://electronjs.org/headers',
|
||||
npm_config_runtime: 'electron',
|
||||
npm_config_build_from_source: true,
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue