mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
fix: Add package-lock.json to git & disable protocol register for dev env (#815)
* Add package-lock.json to git & disable protocol register for dev env Disable package-lock file for travis * Disable package-lock.json just for travis
This commit is contained in:
parent
c0fb4c6a9b
commit
0b9c5e200f
3
.gitignore
vendored
3
.gitignore
vendored
@ -29,10 +29,9 @@ installer/win/Symphony-x64-cache
|
||||
installer/win/Symphony-x64-SetupFiles
|
||||
installer/win/Symphony-x86-cache
|
||||
installer/win/Symphony-x86-SetupFiles
|
||||
package-lock.json
|
||||
library
|
||||
*.log
|
||||
js/translation/*_missing.json
|
||||
out
|
||||
lib
|
||||
build
|
||||
build
|
||||
|
@ -1,6 +1,7 @@
|
||||
env:
|
||||
global:
|
||||
- ELECTRON_QA="true"
|
||||
- npm config set package-lock false
|
||||
|
||||
os:
|
||||
- osx
|
||||
@ -20,10 +21,12 @@ addons:
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
|
||||
install:
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- npm install
|
||||
- npm test
|
||||
|
||||
cache:
|
||||
|
15237
package-lock.json
generated
Normal file
15237
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,7 +50,9 @@ handlePerformanceSettings();
|
||||
setChromeFlags();
|
||||
|
||||
// Electron sets the default protocol
|
||||
app.setAsDefaultProtocolClient('symphony');
|
||||
if (!isDevEnv) {
|
||||
app.setAsDefaultProtocolClient('symphony');
|
||||
}
|
||||
|
||||
/**
|
||||
* Main function that init the application
|
||||
|
Loading…
Reference in New Issue
Block a user