140 Commits
Author SHA1 Message Date
Majd Alfhaily 74e7588c6d Add v2 suffix to module path (#190) v2.1.0 2023-05-29 13:27:28 +00:00
Majd Alfhaily 67e557e9a7 Add golangci-lint linter (#188) 2023-05-27 21:21:13 +00:00
Majd Alfhaily bf33e0d1c4 Improve tests for http package (#187) 2023-05-27 20:03:29 +00:00
Majd Alfhaily 95c3aa6629 Refactor API interfaces (#185)
- Move logging to command level.
- Simplify and unify interfaces for `appstore` package.
- Move sinf replication from "Download" API to "ReplicateSinf" API.
- Handle retries and command specific logic in the command level.
- Rename "Info" API to "AccountInfo".
2023-05-27 18:48:22 +02:00
Majd Alfhaily cf926d7911 Set build version using linker flags (#183) 2023-05-20 15:54:56 +00:00
Majd Alfhaily 9a361cf7a0 Remove .github/FUNDING.yml (#179) 2023-05-14 08:56:47 +00:00
Majd Alfhaily 574d5b5148 Add storefront code for Georgia (GE) (#177) 2023-05-05 19:49:05 +00:00
Majd Alfhaily 5abc5d1777 Expose Lookup API (#172) 2023-04-09 18:34:46 +00:00
Majd Alfhaily 8762eaf192 Refactor API to return output to caller (#171)
* Refactor auth.info implementation to return output

* Refactor auth.revoke implementation to return output

* Refactor auth.login implementation to return output

* Refactor search implementation to return output

* Refactor purchase implementation to return output

* Refactor download implementation to return output
2023-04-09 18:24:10 +00:00
Majd Alfhaily 4f3115d60f Fix macOS release step v2.0.3 2023-04-08 23:26:29 +02:00
Majd Alfhaily 0e38e43d8b Fix linux release step 2023-04-08 23:09:47 +02:00
Majd Alfhaily 73e9bd90d1 Update changelog for v2.0.3 release (#170) 2023-04-08 21:06:23 +00:00
Majd Alfhaily e76dbf044e Refactor purchase flow (#169) 2023-04-08 22:56:52 +02:00
Majd Alfhaily d82e819d4e Update dependencies (#164) 2023-03-11 20:05:31 +00:00
Majd Alfhaily 19ac47d098 Simplify GitHub workflows (#163) 2023-03-11 19:06:25 +01:00
ViRb3andMajd Alfhaily fece9ea79c Support purchase of Arcade games (#153)
Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
2023-03-06 21:21:29 +01:00
ViRb3andMajd Alfhaily 1b31ee6556 Rework filename generation (#154)
Co-authored-by: Majd Alfhaily <majd@alfhaily.me>
2023-03-05 01:20:08 +01:00
ViRb3 fbd9d74729 Disable client timeout (#157) 2023-02-18 16:31:49 +01:00
ViRb3 8d2467491e Always apply user agent (#155) 2023-02-16 21:35:06 +01:00
Majd Alfhaily 4eba914bff Fix typo and update changelog (#143)
* Fix typo in README.md
* Update CHANGELOG.md
2023-01-23 20:17:01 +00:00
Majd Alfhaily 56cc64fcef Set default output path to current working directory (#142) v2.0.2 2023-01-23 20:05:46 +00:00
Majd Alfhaily 7813e78e3c Add storefront code for Albania (AL) (#141) 2023-01-23 19:52:27 +00:00
Itay Brenner 50a1e546ef Fix Sinf patch when app contains a Watch App (#140)
* Fix Sinf patch
* Add test case for Downloading with Watch App
* Update pkg/appstore/appstore_download_test.go
2023-01-23 20:41:58 +01:00
Majd Alfhaily 094ff93693 Add storefront code for Mongolia (#134) v2.0.1 2023-01-06 22:04:09 +00:00
Majd Alfhaily 5d014266e3 Publish sha256 hash for Linux & Windows releases (#133) 2023-01-06 22:56:10 +01:00
Majd Alfhaily 8dd1a8508d Update demo (#126) 2022-12-08 23:26:12 +00:00
Majd Alfhaily dff5a5ad0b Update CHANGELOG.md v2.0.0 2022-12-08 19:54:19 +01:00
Majd Alfhaily 6356b522df Update release workflow 2022-12-08 19:54:18 +01:00
Majd Alfhaily a2cb7c653e Set min macOS version to 10.15 when building (#124) v2.0.0-rc.4 2022-12-07 23:10:20 +00:00
Majd Alfhaily 2f154ad4f9 Disable timeout for downloading files (#123) v2.0.0-rc.3 2022-12-07 17:46:07 +00:00
Majd Alfhaily a3b322c8da Fix reading from stdin on Windows (#121) v2.0.0-rc.2 2022-12-05 22:04:44 +00:00
Majd Alfhaily 5386d36275 Add CHANGELOG.md (#120) 2022-12-05 21:38:18 +00:00
Majd Alfhaily 7e21c8571a Checkout source code as first step in release job (#119) v2.0.0-rc.1 2022-12-05 20:44:32 +00:00
Majd Alfhaily ff582bb97b Fix generating sha256 hash in release workflow (#118) 2022-12-05 18:20:34 +00:00
Majd Alfhaily 98bd6f0e45 Fix reading version in release workflow (#117) 2022-12-05 18:12:43 +00:00
Majd Alfhaily 40d1f700b5 Run unit and integration tests on PRs only (#116) 2022-12-05 17:55:04 +00:00
Majd Alfhaily a2ce1c4213 Update GitHub release workflow 2022-12-05 18:46:02 +01:00
Majd Alfhaily d42ba7ef4b Show progress bar on download 2022-12-05 18:46:02 +01:00
Majd Alfhaily 721e23fd8a Update README.md 2022-12-05 18:46:02 +01:00
Majd Alfhaily 15dbfe423a Update GitHub workflows 2022-12-05 18:46:02 +01:00
Majd Alfhaily f77b0d94d9 Fix building for windows 2022-12-05 18:46:02 +01:00
Majd Alfhaily 99c1bf1013 Wire CLI commands with logic 2022-12-05 18:46:02 +01:00
Majd Alfhaily 1a71cf89b4 Unify error names 2022-12-05 18:46:02 +01:00
Majd Alfhaily 3088cde9ba Remove DevfileFamily argument 2022-12-05 18:46:02 +01:00
Majd Alfhaily 5d6e83c2e9 Pass structs as args 2022-12-05 18:46:02 +01:00
Majd Alfhaily 001ee4ca12 Implement IsNotExist and MkdirAll 2022-12-05 18:46:02 +01:00
Majd Alfhaily 0e57952e06 Increase test coverage for http package 2022-12-05 18:46:02 +01:00
Majd Alfhaily 12db867c54 Implement appstore download logic 2022-12-05 18:46:02 +01:00
Majd Alfhaily d5c4f88533 Automatically renew credentials when needed 2022-12-05 18:46:02 +01:00
Majd Alfhaily 65439346eb Implement appstore purchase logic 2022-12-05 18:46:02 +01:00