diff --git a/.eslintrc.js b/.eslintrc.js index c120f3c1..f06e496d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -60,6 +60,7 @@ module.exports = { "jsx-a11y/control-has-associated-label": "off", "react/button-has-type": "off", "max-classes-per-file": "off", + "jest/no-standalone-expect": "off", }, parserOptions: { ecmaVersion: 2020, diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yaml b/.github/ISSUE_TEMPLATE/1-bug-report.yaml index 137f40f1..da1ca48c 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yaml @@ -26,7 +26,8 @@ body: id: replication attributes: label: Steps to Reproduce - description: Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant. + description: Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. + Include code to reproduce, if relevant. placeholder: | 1. Go to '...' 2. Click on '....' @@ -50,5 +51,6 @@ body: id: additional-context attributes: label: Additional Context - description: Any other context that you may share about the issue. You may add your log files here. + description: Any other context that you may share about the issue such as logs. + To get the logs, follow these steps `Open BSManager -> Go to settings -> Scroll down -> Open Logs`. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index cb856695..7dccb6a7 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -lank_issues_enabled: true +blank_issues_enabled: false contact_links: - name: Discord Support url: https://discord.gg/uSqbHVpKdV diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ab5d0f71..fe246cc2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,11 +22,29 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.11.0 cache: "npm" - run: npm ci - run: npm run package + # Install and setup Flatpak for Ubuntu + - name: Install flatpak packages (Ubuntu only) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install -y flatpak flatpak-builder + + - name: Setup flatpak repo (Ubuntu only) + if: matrix.os == 'ubuntu-latest' + run: | + flatpak remote-add --if-not-exists --user \ + flathub https://flathub.org/repo/flathub.flatpakrepo + + # Build Flatpak package + - name: Build Flatpak (Ubuntu only) + if: matrix.os == 'ubuntu-latest' + run: | + env DEBUG="@malept/flatpak-bundler" \ + npx electron-builder --config electron-builder.config.js --publish never --linux flatpak + - name: Upload artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index cec2a02a..ad87bd1f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.11.0 cache: "npm" - run: npm ci - run: npm run lint diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index 3a7b1b25..828fb605 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -18,11 +18,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.11.0 cache: "npm" - run: npm ci - run: npm run build diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml index 25a280e0..0996f1ae 100644 --- a/.github/workflows/release-linux.yaml +++ b/.github/workflows/release-linux.yaml @@ -20,13 +20,27 @@ jobs: - name: Check out Git repository uses: actions/checkout@v4 + - name: Install flatpak packages + run: sudo apt-get install -y flatpak flatpak-builder + + - name: Setup flatpak repo + run: | + flatpak remote-add --if-not-exists --user \ + flathub https://flathub.org/repo/flathub.flatpakrepo + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.11.0 cache: "npm" - run: npm ci - - run: npm run publish:linux + - run: npm run build + + - name: Build deb + run: npx electron-builder --config electron-builder.config.js --publish always --linux deb --x64 + + - name: Build flatpak + run: env DEBUG="@malept/flatpak-bundler" npx electron-builder --config electron-builder.config.js --publish always --linux flatpak - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/README.md b/README.md index ac37a98d..6b47a043 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,10 @@ -->
Refer to Linux wiki
+