Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto open last project directory or open project via command line #6

Closed
amenk opened this issue Nov 29, 2022 · 9 comments
Closed

Auto open last project directory or open project via command line #6

amenk opened this issue Nov 29, 2022 · 9 comments

Comments

@amenk
Copy link

amenk commented Nov 29, 2022

I am a bit lazy to always open the project after reopening the tool.

I tried

./magento2-upgrade-gui-1.3.1_aa651f98e6ea2127c1f61208920bea4d.AppImage ~/my/projects/example.com

but that does not work.

As an alternative it would be nice if the last open project ist loaded automatically.

@amenk
Copy link
Author

amenk commented Nov 29, 2022

As a workaround I can bookmark the project-dir in my GNOME-file-chooser :-)

@peterjaap
Copy link
Contributor

@amenk aah I was just about to build this last weekend and I got side-tracked, but I share your pain! I use the bookmark-workaround in GNOME file chooser as well for now, but this is definitely something I want/need as well ;)

@peterjaap
Copy link
Contributor

@amenk
Copy link
Author

amenk commented Nov 29, 2022

Thanks you so much

@amenk
Copy link
Author

amenk commented Dec 2, 2022

Works well ...
but some small issue. When using https://github.com/TheAssassin/AppImageLauncher to integrate the app image, it seems to add the parameter --no-sandbox which causes error messages.

@peterjaap
Copy link
Contributor

I'm not familiar with that tool. What kind of error messages and how can we fix it?

@amenk
Copy link
Author

amenk commented Dec 2, 2022

The error message (amongst other file-not-founds)

image

I think just parameters like --no-sandbox should not be threated like a folder name and ignore :-)

@peterjaap peterjaap reopened this Dec 6, 2022
@peterjaap
Copy link
Contributor

peterjaap commented Dec 7, 2022

Right, we need a small lib like yargs to actually parse arguments instead of just grabbing the first string in argv; 400c465#diff-16f022ec89282b37542e3374910a5e4a4cf37596abf8f723f0d7f8ab1096f853R34

@amenk
Copy link
Author

amenk commented Dec 9, 2022

Tested, works well - thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants