()
| 136 | } |
| 137 | |
| 138 | export function getUpdatesURL() { |
| 139 | // It is also possible to use a `x64/` path, but for now we'll leave the |
| 140 | // original URL without architecture in it (which will still work for |
| 141 | // compatibility reasons) in case anything goes wrong until we have everything |
| 142 | // sorted out. |
| 143 | const architecturePath = getDistArchitecture() === 'arm64' ? 'arm64/' : '' |
| 144 | return `https://central.github.com/api/deployments/desktop/desktop/${architecturePath}latest?version=${version}&env=${getChannel()}` |
| 145 | } |
| 146 | |
| 147 | export function shouldMakeDelta() { |
| 148 | // Only production and beta channels include deltas. Test releases aren't |
no test coverage detected