From 9245a0f327c3a99a9d84b4a10778dd4f970adcb2 Mon Sep 17 00:00:00 2001 From: Ganesh Rathinavel Medayil <182092+ganeshrvel@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:32:25 +0530 Subject: [PATCH] Revert "Release 3.2.26" --- README.md | 48 +------------------ app/constants/index.js | 2 - .../HomePage/components/FileExplorer.jsx | 17 ------- .../HomePage/styles/FileExplorer.js | 9 ---- app/enums/events.js | 3 -- package.json | 2 +- 6 files changed, 2 insertions(+), 79 deletions(-) diff --git a/README.md b/README.md index 60ede43f..d5ae6be7 100644 --- a/README.md +++ b/README.md @@ -296,53 +296,7 @@ $ set UPGRADE_EXTENSIONS=1 && npm run dev ### Troubleshooting -#### Error while building the app - `No module named 'distutils'` - -To resolve this issue, install Python setuptools: - -```shell -brew install python-setuptools -``` - -#### Error: npm version issue due to node-gyp bug - -If you encounter an error message like: - -```txt -Error: This project requires npm version >=6.x <=8.16.0. You have version 10.24.0. -Please downgrade your npm, this is due to a bug in node-gyp. -GitHub issue: https://github.com/ganeshrvel/openmtp/issues/367. -command: npm install -g npm@8.16.0 -``` - -Follow these steps: - -1. If you use `nvm`, switch to Node.js version `16.19.0`: - - ```shell - nvm install 16.19.0 - nvm use 16.19.0 - ``` - -2. Then, install the compatible npm version: - - ```shell - npm install -g npm@8.16.0 - ``` - -#### For non-nvm users - -If you don't use `nvm`, you can directly install Node.js version `16.19.0` from the [official website](https://nodejs.org/en/download/releases/), or you can use a package manager like `brew` to install the correct version: - -```shell -brew install node@16 -``` - -After installation, ensure npm is downgraded to the required version: - -```shell -npm install -g npm@8.16.0 -``` +#### Your device is not recognized #### **node-mac-permissions** throws `Speech framework is not compatible with macOS < 10.15` diff --git a/app/constants/index.js b/app/constants/index.js index d461a0da..7a134db5 100644 --- a/app/constants/index.js +++ b/app/constants/index.js @@ -56,5 +56,3 @@ export const DELETE_KEIS_SMARTSWITCH_URL = `https://farazfazli.medium.com/how-i- export const USB_HOTPLUG_MAX_ATTEMPTS = 6; export const USB_HOTPLUG_MAX_ATTEMPTS_TIMEOUT = 15000; // in ms - -export const GANESHR_PORTFOLIO_URL = 'https://www.ganeshrvel.com/?c=openmtp'; // in ms diff --git a/app/containers/HomePage/components/FileExplorer.jsx b/app/containers/HomePage/components/FileExplorer.jsx index 478db98e..26bc7df8 100644 --- a/app/containers/HomePage/components/FileExplorer.jsx +++ b/app/containers/HomePage/components/FileExplorer.jsx @@ -67,7 +67,6 @@ import { import { BUY_ME_A_COFFEE_URL, DEVICES_LABEL, - GANESHR_PORTFOLIO_URL, SUPPORT_PAYPAL_URL, USB_HOTPLUG_MAX_ATTEMPTS, USB_HOTPLUG_MAX_ATTEMPTS_TIMEOUT, @@ -1986,11 +1985,6 @@ class FileExplorer extends Component { }); }; - _handlePortfolioUrlTap = () => { - analyticsService.sendEvent(EVENT_TYPE.GANESHR_PORTFOLIO_URL, {}); - openExternalUrl(GANESHR_PORTFOLIO_URL); - }; - render() { const { classes: styles, @@ -2067,17 +2061,6 @@ class FileExplorer extends Component { maxWidthDialog="sm" helpText="If the progress bar freezes while transferring the files, restart the app and reconnect the device. This is a known Android MTP bug." > - - {`Are you building a product and looking for expert tech talent to drive it forward? `} - - Let’s connect - - ! - -
{`I've invested a significant amount of my time and energy into developing and maintaining this OpenSource application.`} diff --git a/app/containers/HomePage/styles/FileExplorer.js b/app/containers/HomePage/styles/FileExplorer.js index 16d9f8cc..db4c5530 100644 --- a/app/containers/HomePage/styles/FileExplorer.js +++ b/app/containers/HomePage/styles/FileExplorer.js @@ -13,15 +13,6 @@ export const styles = (theme) => ({ supportBtnsBoldText: { fontWeight: 'bold', }, - buildProduct: { - marginTop: 10, - fontSize: 13, - fontWeight: 500, - }, - connectPortfolioUrl: { - cursor: `pointer`, - color: theme.palette.secondary.main, - }, socialMediaShareTitle: { marginTop: 10, fontSize: 11, diff --git a/app/enums/events.js b/app/enums/events.js index 1d212005..b3c56561 100644 --- a/app/enums/events.js +++ b/app/enums/events.js @@ -151,7 +151,4 @@ export const EVENT_TYPE = { // actions EXTERNAL_DRAG_FILES_DROPPED: 'EXTERNAL_DRAG_FILES_DROPPED', EXTERNAL_DRAG_FILES_CANCELLED: 'EXTERNAL_DRAG_FILES_CANCELLED', - - // actions - GANESHR_PORTFOLIO_URL: 'GANESHR_PORTFOLIO_URL', }; diff --git a/package.json b/package.json index d90289a7..7abca258 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "openmtp", "productName": "OpenMTP", - "version": "3.2.26", + "version": "3.2.25", "description": "OpenMTP | Android File Transfer for macOS", "scripts": { "build": "yarn lint && concurrently \"yarn build-main\" \"yarn build-renderer\"",