From 938118bd45b4876d8d1803a97c1dd87e21b84a08 Mon Sep 17 00:00:00 2001 From: Geolffrey Mena Date: Thu, 13 Jun 2024 16:07:56 -0600 Subject: [PATCH] chore: new readme --- .github/workflows/publish-web.yml | 37 ------------------------------- .github/workflows/publish.yml | 8 +++---- src/main/index.js | 2 +- src/render/core/settings.js | 3 +++ src/render/index.scss | 6 ++++- src/render/index.web.scss | 2 +- webpack/plugins/pluginCopy.js | 2 +- 7 files changed, 14 insertions(+), 46 deletions(-) delete mode 100644 .github/workflows/publish-web.yml diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml deleted file mode 100644 index d87a0637e..000000000 --- a/.github/workflows/publish-web.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: CD-Web - -on: - push: - branches: - - "master" - - "v0.3.0" - -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Check out Git repository - uses: actions/checkout@v2 - - - name: Install Node.js in ${{ matrix.os }} - uses: actions/setup-node@v2 - with: - node-version: 14.x - - - name: Install - run: npm ci && npm i wrtc@0.4.7 ipfs@0.60.2 level-js@6.1.0 --no-save - - - name: Build - run: npm run build:web - env: - WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }} - CI: "" - - - name: Publish - run: npm run publish - env: - IPFS_DEPLOY_CLOUDFLARE__API_TOKEN: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__API_TOKEN }} - IPFS_DEPLOY_CLOUDFLARE__ZONE: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__ZONE }} - IPFS_DEPLOY_CLOUDFLARE__RECORD: ${{ secrets.IPFS_DEPLOY_CLOUDFLARE__RECORD }} - IPFS_DEPLOY_PINATA__API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__API_KEY }} - IPFS_DEPLOY_PINATA__SECRET_API_KEY: ${{ secrets.IPFS_DEPLOY_PINATA__SECRET_API_KEY }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9151ff4ef..39ef9087e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ on: push: branches: - "master" - - "v0.3.0" - "v1.0.0" jobs: @@ -22,15 +21,14 @@ jobs: - name: Install Node.js in ${{ matrix.os }} uses: actions/setup-node@v2 with: - node-version: 14.x + node-version: 18.x - - name: Build/release - uses: samuelmeuli/action-electron-builder@v1 + - name: Release + uses: x6Pnda/action-electron-compiler@v1 with: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings) github_token: ${{ secrets.GH_TOKEN }} release: true env: - WATCHIT_PUBLIC_KEY: ${{ secrets.WATCHIT_PUBLIC_KEY }} CI: "" diff --git a/src/main/index.js b/src/main/index.js index e41efc4e3..09d45b37d 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -36,7 +36,7 @@ logger.setLogLevel(logger.LogLevels.DEBUG); process.env.appPath = appPath; const backend = require("./core"); -const indexSplash = `file://${path.join(__dirname, "../build/splash.png")}`; +const indexSplash = `file://${path.join(__dirname, "../build/splash2.png")}`; const indexUrl = `file://${path.join(__dirname, "../build/index.html")}`; const gotTheLock = app.requestSingleInstanceLock(); diff --git a/src/render/core/settings.js b/src/render/core/settings.js index 9e539c02e..242169a2b 100755 --- a/src/render/core/settings.js +++ b/src/render/core/settings.js @@ -9,6 +9,9 @@ export default { gateways: () => { return [ 'https://ipfs.io', + 'https://storry.tv', + "https://nftstorage.link", + 'https://4everland.io', 'https://dweb.link', 'https://gw.watchit.movie/' ] diff --git a/src/render/index.scss b/src/render/index.scss index 6734ea57b..17e47b0e9 100644 --- a/src/render/index.scss +++ b/src/render/index.scss @@ -21,5 +21,9 @@ } .movies-box { - height: calc(100% - 11rem); + height: calc(100% - 11rem) !important; +} + +.movie-box { + height: calc(100% - 3.9rem) !important; } \ No newline at end of file diff --git a/src/render/index.web.scss b/src/render/index.web.scss index 01336f912..63bbaa33f 100644 --- a/src/render/index.web.scss +++ b/src/render/index.web.scss @@ -20,5 +20,5 @@ } .movies-box { - height: calc(100% - 7rem); + height: calc(100% - 7rem) !important; } \ No newline at end of file diff --git a/webpack/plugins/pluginCopy.js b/webpack/plugins/pluginCopy.js index f832cd0f9..096176493 100644 --- a/webpack/plugins/pluginCopy.js +++ b/webpack/plugins/pluginCopy.js @@ -8,7 +8,7 @@ const config = { { from: join(rootDir, './public/icon512.png'), to: '' }, { from: join(rootDir, './public/favicon.ico'), to: '' }, { from: join(rootDir, './public/manifest.json'), to: '' }, - { from: join(rootDir, './public/splash.png'), to: '' }, + { from: join(rootDir, './public/splash2.png'), to: '' }, ] }