hyper icon indicating copy to clipboard operation
hyper copied to clipboard

not creating config in right place on linux

Open xenoterracide opened this issue 4 years ago • 4 comments

  • [x] I am on the latest Hyper.app version

  • [x] I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Linux manjaro 5.10.56-1-MANJARO #1 SMP PREEMPT Thu Aug 5 10:51:27 UTC 2021 x86_64 GNU/Linux

  • Hyper.app version: 3.1.2

  • Link of a Gist with the contents of your .hyper.js:

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): I don't know how to get this on startup, I'm not sure if it happens otherwise

  • The issue is reproducible in vanilla Hyper.app: probably? this is the AUR bin distribution, I don't believe they've modified the AUR PKGBUILD in any way, or any meaningful way, it looks like it's just extracting and installing. https://aur.archlinux.org/packages/hyper-bin

So the documentation says that on linux it should be ~/.config/Hyper/.hyper.js but if I go to hamburger -> edit -> preferences it's creating ~/.hyper.js

also I'm not sure that *either location is correct, as it doesn't seem to be loading my settings.

xenoterracide avatar Aug 11 '21 19:08 xenoterracide

I'm seeing the same behavior on Mac with hyper installed from Hombrew. The docs say that ~/Library/Application Support/Hyper/.hyper.js is where I should expect the config, but ~/.hyper.js is created every time I restart Hyper.

Even if I manually create ~/Library/Application Support/Hyper/.hyper.js, ~/.hyper.js gets created and seems to be the only config file loaded.

wren avatar Aug 29 '21 04:08 wren

On MacOS, I have the same behavior after installing it with the .dmg file.

luc-heyday avatar Aug 31 '21 21:08 luc-heyday

I've confirm that issue on macOS with Hyper 3.1.3 as well. It seems this issue influenced to plugin installations as well.

I add plugins: ["hyperpower"] to ~/.hyper.js but the plugin is not installed (other configuration like font is applied). Moving it ~/Library/Aplication Support/Hyper/.hyper.js doesn't help (other configuration like font is NOT applied in this case).

~~Note that using Hyper 3.0.0 solves this issue but Hyper 3.0.2 thus it seems this issue has introduced from https://github.com/vercel/hyper/pull/3610?~~ (I'm not sure but I could not reproduce it anymore...)

Does anyone know workaroud for installing plugins...?

lambdalisue avatar Sep 30 '21 02:09 lambdalisue

looks like they have used some odd method of defining the config location. its awfully static. see: hyper/app/config/paths.ts:14 it doesn't even dynamically look for your config in the advertised locations before setting. feels like false advertising but I'm gonna try and fix it...

Lite5h4dow avatar Dec 09 '22 23:12 Lite5h4dow

Any news @Lite5h4dow ?

kev-landry avatar Apr 10 '23 19:04 kev-landry