Updating glide browser resets the default profile #89
Replies: 2 comments
-
|
This is not intended behaviour, I suspect something in the nix build is messing things up, as this behaviour does not happen for me on macOS. Can you share any more details about how you're running glide with nix? |
Beta Was this translation helpful? Give feedback.
-
|
I used flake from here: https://github.com/aca/glide-browser.nix { stdenv, fetchurl, steam-run, bash, undmg, ... }:
stdenv.mkDerivation rec {
pname = "glide-browser";
version = "0.1.52a";
src = fetchurl {
url = "https://github.com/glide-browser/glide/releases/download/${version}/glide.linux-x86_64.tar.xz";
sha256 = "sha256-v3bJLQ+3A4DTBIafQAMHyPdkL+71cpnQlabJYAskUgI=";
};
sourceRoot = ".";
nativeBuildInputs = [ undmg ];
installPhase = ''
mkdir -p $out/bin $out/lib/glide
cp -r glide/* $out/lib/glide/
chmod +x $out/lib/glide/glide
# Create a wrapper for glide to pass arguments
cat > $out/bin/glide <<EOF
#!/bin/sh
cd $out/lib/glide
exec ${steam-run}/bin/steam-run ${bash}/bin/bash -c "GTK_IM_MODULE=\$GTK_IM_MODULE $out/lib/glide/glide \"\$@\""
EOF
chmod +x $out/bin/glide
# Create a wrapper for glide-browser to pass arguments
cat > $out/bin/glide-browser <<EOF
#!/bin/sh
cd $out/lib/glide
exec ${steam-run}/bin/steam-run ${bash}/bin/bash -c "GTK_IM_MODULE=\$GTK_IM_MODULE $out/lib/glide/glide \"\$@\""
EOF
chmod +x $out/bin/glide-browser
'';
meta = with stdenv.lib; {
description = "Glide Browser";
homepage = "https://github.com/glide-browser/glide";
platforms = [ "x86_64-linux" ];
};
}You can call the above glide.nix pkg as:
@aca Looping you in, if this issues occured to you as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I update glide browser (from one ver to another) or change my nix pkg build at first launch glide creates new profile as sets it as default. If i remember correctly I think it showed some warning on "installed version is different"
Ik glide might be at alpha stage, although for me its stable.
here is what profiles.ini has below:
Just wanted to know if this is intended behavior, and if this will be resolved in future version when glide gets more stable?
Beta Was this translation helpful? Give feedback.
All reactions