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

Trying to make the helper work on Linux #22

Open
cbaconnier opened this issue Jun 25, 2024 · 0 comments
Open

Trying to make the helper work on Linux #22

cbaconnier opened this issue Jun 25, 2024 · 0 comments

Comments

@cbaconnier
Copy link

cbaconnier commented Jun 25, 2024

Hey!
I discovered this helper today and this is excellent ! I'm pretty sure this could be used as a vim plugin to evaluate our selection directly on tinkerwell.
But as I'm using Linux, I first need to make this work on my machine.

So far, I haven't been in luck. It seems that using url schema: :// to open the app doesn't work quit well with app images.
I tried passing them as arguments, with no luck. It looks like it's not recognized.

/home/clement/Applications/Tinkerwell-4.16.0_d8dc131b5c52a8a1f8d647de8cb37b7d.AppImage \
  --cwd="L2hvbWUvY2xlbWVudC9Qcm9qZWN0cy90ZXN0cy90aGlua2VyaW5n" \
  --scope="YToxOntzOjQ6InRlc3QiO3M6MTE6ImhlbGxvIHdvcmxkIjt9"
/home/clement/Applications/Tinkerwell-4.16.0_d8dc131b5c52a8a1f8d647de8cb37b7d.AppImage  \
"tinkerwell://?cwd=L2hvbWUvY2xlbWVudC9Qcm9qZWN0cy90ZXN0cy90aGlua2VyaW5n&scope=YToxOntzOjQ6InRlc3QiO3M6MTE6ImhlbGxvIHdvcmxkIjt9"

Neither using directly with the binary

/tmp/.mount_TinkerdAli0c/tinkerwell \
  --cwd="L2hvbWUvY2xlbWVudC9Qcm9qZWN0cy90ZXN0cy90aGlua2VyaW5n" \
  --scope="YToxOntzOjQ6InRlc3QiO3M6MTE6ImhlbGxvIHdvcmxkIjt9"

# ... also tried with tinkerwell:// arg

Any idea on that would be appreciated. Thanks !

Content of base64 encoded values:
L2hvbWUvY2xlbWVudC9Qcm9qZWN0cy90ZXN0cy90aGlua2VyaW5n: /home/clement/Projects/tests/thinkering
YToxOntzOjQ6InRlc3QiO3M6MTE6ImhlbGxvIHdvcmxkIjt9 : a:1:{s:4:"test";s:11:"hello world";}

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

1 participant