You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JetBrains Toolbox does not keep the PhpStorm app in the /Applications/ folder, it's actually stored in the user's directory like for mine that may be something like /Users/sc0ttkclark/Applications/.
How
It may be possible to check for apps in both directories without having to make this JetBrains Toolbox specific.
The logic in https://github.com/Automattic/studio/blob/trunk/src/lib/is-installed.ts could be updated to have the function isInstalled check if the process.platform != 'win32' and in that case it would check if the fs.existsSync( appPaths[ key ] ) OR fs.existsSync( userPathPrefix + appPaths[ key ] ).
Something like that could perhaps be done.
The text was updated successfully, but these errors were encountered:
What
Currently the PhpStorm app when installed by JetBrains Toolbox does not get set to installed via the logic in https://github.com/Automattic/studio/blob/trunk/src/hooks/use-check-installed-apps.tsx
Why
JetBrains Toolbox does not keep the PhpStorm app in the
/Applications/
folder, it's actually stored in the user's directory like for mine that may be something like/Users/sc0ttkclark/Applications/
.How
It may be possible to check for apps in both directories without having to make this JetBrains Toolbox specific.
The logic in https://github.com/Automattic/studio/blob/trunk/src/lib/is-installed.ts could be updated to have the function
isInstalled
check if theprocess.platform != 'win32'
and in that case it would check if thefs.existsSync( appPaths[ key ] )
ORfs.existsSync( userPathPrefix + appPaths[ key ] )
.Something like that could perhaps be done.
The text was updated successfully, but these errors were encountered: