signal-desktop/appveyor.yml

33 lines
821 B
YAML
Raw Normal View History

2017-05-03 21:43:04 +00:00
platform:
- x64
cache:
- '%LOCALAPPDATA%\electron\Cache'
- node_modules -> package.json
2017-05-03 21:43:04 +00:00
install:
- systeminfo | findstr /C:"OS"
2017-05-03 21:43:04 +00:00
- set PATH=C:\Ruby23-x64\bin;%PATH%
2019-08-21 22:50:50 +00:00
- ps: Install-Product node 12.4.0 x64
- ps: .\build\install-yarn.ps1
- yarn install --frozen-lockfile
2017-05-03 21:43:04 +00:00
build_script:
2018-05-07 19:53:20 +00:00
- yarn generate
- yarn lint-windows
- yarn lint-deps
- node build\grunt.js
2019-08-19 22:26:45 +00:00
- yarn test-node
- type package.json | findstr /v certificateSubjectName > temp.json
- move temp.json package.json
New design for import/install, 'light' import (#2053) - A new design for the import flow. It features: - Icons at the top of every screen - Gray background, blue buttons, thinner text - Simpler copy - A new design for the install flow. It features: - Immediate entry into the QR code screen - Animated dots to show that we're loading the QR code from the server - Fewer screens: 1) QR 2) device name 3) sync-in-progress - When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow. - Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow. - A new design for the (dev-only) standalone registration view - When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows. - The device name (chosen on initial setup) is now shown in the settings panel - At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports. - `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export. - `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import. - On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast. - Disappearing messages are now excluded when exporting - Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
- yarn prepare-beta-build
2019-08-21 22:50:50 +00:00
- node_modules\.bin\electron-builder --config.extraMetadata.environment=%SIGNAL_ENV% --publish=never --config.directories.output=release
2017-05-03 21:43:04 +00:00
test_script:
- node build\grunt.js test
- set NODE_ENV=production
- node build\grunt.js test-release:win
2017-05-03 21:43:04 +00:00
environment:
SIGNAL_ENV: production