Code Monkey home page Code Monkey logo

windowpet's Issues

[Option] pets not climbing

Hi,

would be awesome that pets not climbing, web exploration is more complicate for mooving on tabs ...

Doesn't work correctly on linux

It works fine on windows(baremetal/vm), however I cannot run on linux.
Env: NixOS(Gnome X11/Wayland AppImage-version baremetal)
, PopOS(Cosmic/Gnome Wayland AppImage-version vm)
, Debian(KDE Wayland deb-version vm)

NixOS derivation
{ lib, fetchurl, appimageTools }:

let
  pname = "window-pet";
  version = "0.0.7";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "https://github.com/SeakMengs/WindowPet/releases/download/v${version}/window-pet_${version}_amd64.AppImage";
    hash = "sha256-Sdyb4+3nPmWu8/6Mb9ZP8N6OclVBIdHcTgqlNOl9sww=";
  };
  appimageContents = appimageTools.extract { inherit name src; };
in appimageTools.wrapType2 rec {
  inherit name src;

  extraInstallCommands = ''
    mv $out/bin/{${name},${pname}}

    install -m 444 \
        -D ${appimageContents}/${pname}.desktop \
        -t $out/share/applications
    substituteInPlace \
        $out/share/applications/${pname}.desktop \
        --replace 'Exec=AppRun' 'Exec=${pname}'
    cp -r ${appimageContents}/usr/share/icons $out/share
  '';

  meta = with lib; {
    description = "Pet overlay app built with tauri and react that lets you have adorable companion such as pets, anime characters on your screen.";
    homepage = "https://github.com/SeakMengs/WindowPet";
    license = licenses.mit;
    platforms = [ "x86_64-linux" ];
    maintainers = [ maintainers.ravenz46 ];
    mainProgram = "window-pet";
  };
}
Error on X11
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Error on NixOS wayland
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][06:20:10][INFO][window_pet] app started
libEGL warning: egl: failed to create dri2 screen

(WebKitWebProcess:13037): GStreamer-WARNING **: 15:20:12.036: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
[2024-02-03][06:20:12][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
[2024-02-03][06:20:12][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
Error on PopOS and Debian wayland
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][08:38:23][INFO][window_pet] app started
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][08:38:25][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
[2024-02-03][08:38:25][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded

Provide a Flatpak

Title, basically, also a .rpm would be really good since I'm currently using Fedora, although a flatpak is distro agnostic so that would save some time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.