Matt Hardcastle
7e5026a365
Merge pull request #16141 from MattHardcastle/bad-status-code
...
Error bad status while downloading launcher
2019-09-09 08:56:00 -07:00
Matt Hardcastle
3074ff96e0
Merge pull request #16150 from MattHardcastle/add-signing-2.0-rebase
...
Add signing 2.0 rebase
2019-09-07 09:09:11 -07:00
Matt Hardcastle
dba61180be
Revert "Percent decode URL from Thunder"
...
This reverts commit 4e6198d784
.
If Thunder is properly configured this wouldn't be required.
2019-09-06 15:11:44 -07:00
Matt Hardcastle
d8fec15842
Error bad status while downloading launcher
2019-09-06 14:25:51 -07:00
Shannon Romano
42ad7d5efb
Merge pull request #16147 from MattHardcastle/updater-to-resource
...
Support updater in Contents/{MacOS,Resources}
2019-09-06 12:49:31 -07:00
dante ruiz
768ac08d11
Add entitlements for Launcher and Interface
2019-09-06 11:20:16 -07:00
dante ruiz
c2e0e6a976
Change Launcher config.json location
...
Launcher `config.json` can not be inside Interface's app bundle, as it
will break signing.
2019-09-06 11:20:06 -07:00
Matt Hardcastle
b239ad1ae3
Support updater in Contents/{MacOS,Resources}
...
Codesigning fails when binaries are in the `Resources` directory. This
change moves updater and ensures HQLauncher can handle the updater at
both paths.
2019-09-06 10:37:24 -07:00
Matt Hardcastle
4e6198d784
Percent decode URL from Thunder
...
URLs from Thunder's API may be percent encoded.
2019-09-05 16:01:16 -07:00
Shannon Romano
19c7502998
Merge pull request #16138 from MattHardcastle/check-zip-size
...
Check macOS Launcher's zip size before unzipping
2019-09-05 14:43:57 -07:00
Shannon Romano
b3c7ca6e8f
Merge pull request #16127 from amerhifi/master
...
case DEV-492: Ensure launcher cannot be pinned
2019-09-05 14:29:38 -07:00
amerhifi
9e69b79e2a
adding the space back
2019-09-05 13:41:51 -07:00
amerhifi
2a3b99daa6
removing flags
2019-09-05 13:40:29 -07:00
Matt Hardcastle
43237e1409
Check macOS Launcher's zip size before unzipping
...
The Launcher can download an error page rather than the full Launcher.
When this happens, the error page file is passed directly to unzip,
which promptly fails with the following message:
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of NewHQLauncher.zip or
NewHQLauncher.zip.zip, and cannot find NewHQLauncher.zip.ZIP, period.
This change improves the error message by checking the size of the
Launcher download and failing if the Launcher is smaller than the
smallest Launcher we've released. The smallest Launcher we've had is
308KB, so I picked 250KB as the limit because it's a nice rounder number
below that.
2019-09-05 12:35:24 -07:00
amer cerkic
fe3879db4d
Merge branch 'master' of https://github.com/highfidelity/hifi
2019-09-03 10:57:45 -07:00
Matt Hardcastle
cba258b8c4
Error handling for Launcher's update
...
Before this change the update helper app in the Mac version of HQ
Launcher silently ignored errors. This change adds error handling to aid
troubleshooting.
2019-09-03 09:18:32 -07:00
amerhifi
08ca702c82
remove space
2019-08-30 14:16:11 -07:00
amerhifi
a5923ac9aa
adding unpinnable options to any dlg process and main app so that user cannot accidentaly pin the launcher
2019-08-30 14:15:03 -07:00
Matt Hardcastle
b8d2e73cf7
Don't cache when fetching Thunder's build info
...
I was mistaken when I added the EphemeralSession to stop local caching.
Using an EphermeralSession doesn't stop Foundation from caching a
request. Setting a request cache policy controls caching.
2019-08-29 16:49:21 -07:00
Ryan Huffman
5fe7be403b
Add HIFI_THUNDER_URL to win32 launcher
2019-08-28 11:16:03 -07:00
Shannon Romano
7d7db56782
Merge pull request #16094 from huffman/fix/win-launcher-button-labels
...
DEV-396: Fix login and next button labels in launchers
2019-08-26 15:40:33 -07:00
Matt Hardcastle
ce25ee5377
Add HIFI_THUNDER_URL environment variable
2019-08-26 09:10:19 -07:00
Ryan Huffman
2e0410c6bc
Fix login and next button labels in launchers
2019-08-23 15:36:07 -07:00
Shannon Romano
264abe7d0c
Merge pull request #16046 from huffman/feat/mac-launcher-tags
...
DEV-316: Add build tags to Mac launcher
2019-08-23 13:41:52 -07:00
Ryan Huffman
cf64492185
Fix default_tag in win32 launcher not working
2019-08-23 08:47:35 -07:00
Ryan Huffman
328896b9ed
Fix calls to setFailed in win32 launcher
2019-08-23 08:47:35 -07:00
Ryan Huffman
da1b2e9ec8
Add method for overriding builds API url in win32 launcher
2019-08-23 08:47:34 -07:00
Ryan Huffman
83bc5e3fd6
Add build tags to Windows launcher
2019-08-23 08:44:37 -07:00
Ryan Huffman
1eaba67f67
Remove use of build version in mac launcher settings
2019-08-22 15:07:12 -07:00
Shannon Romano
e328fc3766
Merge pull request #16087 from mattr1x/add-mac-user-agent-launcher
...
Add platform to Mac Launcher's user-agent string
2019-08-22 11:30:44 -07:00
Matt Hardcastle
fa8db8c6ee
Add platform to Mac Launcher's user-agent string
2019-08-22 09:10:38 -07:00
Ryan Huffman
a73f69c62a
Add platform to UserAgent on win launcher
2019-08-22 09:09:07 -07:00
Ryan Huffman
cc5565d30f
Add version to UserAgent on Win launcher
2019-08-21 16:13:31 -07:00
Matt Hardcastle
c987106d96
Add User-Agent string to macOS Launcher
...
Before this change, the mac HQ launcher didn't set a User-Agent string.
This change adds a User-Agent header – HQLauncher/$version – to each
HTTP request the mac launcher makes.
The approach I took was to add the User-Agent header to each HTTP
request. There is room for improvement. Most of the session
initialization could be rolled up into a helper class that sets the
User-Agent headers and other configuration parameters. Making that
change would be too much overhead for this quick task.
Jira: https://highfidelity.atlassian.net/browse/DEV-417
2019-08-21 13:29:56 -07:00
Ryan Huffman
b8887aa01e
Fix mac launcher not correctly reading interface version
...
The logic to convert the interface output assumed that the output would
be null terminated, but it was not.
2019-08-19 10:02:38 -07:00
Ryan Huffman
73c120b154
Add mac launcher logging around latest build
2019-08-19 10:00:29 -07:00
Ryan Huffman
5916fb42ac
Fix mac launcher not correctly reading interface version
...
The logic to convert the interface output assumed that the output would
be null terminated, but it was not.
2019-08-19 09:59:16 -07:00
Ryan Huffman
5ae6a323ac
Cleanup macos launcher download spam
2019-08-19 09:58:22 -07:00
Ryan Huffman
8642f2aaf8
Fix mac launcher not handling networking failures when requesting builds
2019-08-16 17:07:35 -07:00
Ryan Huffman
322ba3ad55
Add env variable to adjust builds URL in mac launcher
2019-08-16 17:07:35 -07:00
Ryan Huffman
1e65908e43
Add build tags to Mac launcher
2019-08-16 17:07:35 -07:00
Matt Hardcastle
cff4f9da19
Use execve to "launch" Interface on macOS
...
Co-authored-by: dante ruiz <dante@highfidelity.io>
2019-08-07 16:41:24 -07:00
luiscuenca
ecd078f6d3
Retry self copy if the old launcher is still shutting down.
2019-08-06 16:39:31 -07:00
dante ruiz
7ab8a6b8d1
fixing typo
2019-08-05 13:16:08 -07:00
Andy Howell
a0d52f6f24
Merge pull request #15985 from danteruiz/auto-updater
...
DEV-264: Lilypad Launcher (Mac): Auto-update Launcher
2019-08-05 09:36:01 -07:00
dante ruiz
b9106b9ade
making requested changes
2019-08-02 11:26:41 -07:00
luiscuenca
9fbacd49da
Delete testing code
2019-07-30 14:19:26 -07:00
luiscuenca
677e0218ef
Pass a string as parameter to continue action
2019-07-30 07:29:47 -07:00
luiscuenca
8fde82dafc
Renamed variables
2019-07-29 07:57:54 -07:00
luiscuenca
5e81f3684f
fix self install flow and progress bar
2019-07-27 20:57:43 -07:00