Support absolute paths to updater resources
See original GitHub issue- Version:
"electron": "1.7.4",
"electron-builder": "19.13.0",
"electron-updater": "2.4.4",
- Target: Mac and Windows
In a previous version of the electron-updater, the latest-mac.json
file contained a fully qualified path to download the next application version, for example:
{
"version": "0.1.12",
"releaseDate": "2017-07-25T17:28:28.808Z",
"url": "https://desktop-release.notion-static.com/Notion-0.1.12-mac.zip"
}
However the new latest-mac.yml
and the old windows latest.yml
do not provide a full url:
version: 0.1.12
releaseDate: '2017-07-25T17:28:28.820Z'
githubArtifactName: Notion-0.1.12-mac.zip
path: Notion-0.1.12-mac.zip
sha512: >-
RlrpWxGYKbPKvs/ja8/J1ZoRJ3T1Xt0G0Ey9S3kh6/rDb1vgG2HbSSHRm9SJ7zIkW96IZB/kl5flxxPr7W/74g==
This is problematic for me because we moved S3 buckets and our new one sits behind cloudflare. The old mac applications were able to update, but the newer mac apps and all the windows apps were not able to make the transition over to the new bucket.
My point is, it would be really nice if we use fully qualified urls 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[Question] What is the reason to drop support for absolute ...
My understanding is that some complex platforms that unify different static analyzers can be affected by this change. In most cases such ...
Read more >How to get absolute path to file in /resources folder of your ...
The proper way that actually works: URL resource = YourClass.class.getResource("abc"); Paths.get(resource.toURI()).toFile();.
Read more >How to set an absolute path in TypeScript | Towards the Cloud
Absolute file paths can help organize the imports in your TypeScript projects by improving the way import locations are fetched by the ...
Read more >Classic SysAdmin: Absolute Path vs Relative Path in Linux/Unix
In other words we can say absolute path is a complete path from start of actual filesystem from / directory.
Read more >File path formats on Windows systems | Microsoft Learn
As result, the first is an absolute path from the root directory of drive C: , whereas the second is a relative path...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can we also have an option to generate absolute urls in latest.yml? It would be nice to avoid editing yml files between building and publishing.
@liliakai For what? Why your new version is not hosted on the same server where old version?