diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f726d5aaff36a..0df1f8444ca4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: "yarn" - run: yarn run ci - - run: yarn run lint - name: Get Version Number id: getPackageInfo uses: jaywcjlove/github-action-package@main diff --git a/src/renderer/helpers/api/local.js b/src/renderer/helpers/api/local.js index e9120cd17603a..786626a08dd8a 100644 --- a/src/renderer/helpers/api/local.js +++ b/src/renderer/helpers/api/local.js @@ -83,6 +83,9 @@ async function createInnertube({ withPlayer = false, location = undefined, safet const clientVersion = randomArrayItem(YOUTUBE_IOS_CLIENT_VERSIONS) const iosVersion = randomArrayItem(IOS_VERSIONS) + console.debug('clientVersion: ', clientVersion) + console.debug('iosVersion: ', iosVersion) + init.headers.set('x-youtube-client-version', clientVersion) // We can't set the user-agent here, but in the main process we take the x-user-agent and set it as the user-agent