Giter Site home page Giter Site logo

midcoard / minecraftnativesdownloader Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 1.86 MB

Generate minecraft natives especially for unsupported platforms.

License: GNU Affero General Public License v3.0

Java 96.48% C 3.52%
arm64 lwjgl m1 macos minecraft natives

minecraftnativesdownloader's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ”ญ Iโ€™m currently studying in UESTC.

Metrics

minecraftnativesdownloader's People

Contributors

midcoard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minecraftnativesdownloader's Issues

Not working โ€” NixOS gen61 x86_64

Running NixOS gen61 on x86_64. Downloader assumes amd64 and fails.

natives = util.execute "natives" ''
  #!${nixpkgs.bash}/bin/bash
  ${nixpkgs.jdk17}/bin/java -jar ${builtins.fetchurl https://github.com/MidCoard/MinecraftNativesDownloader/releases/download/1.1/MinecraftNativesDownloader-1.1.jar} --path ${fp /* this is downloaded version info path */}
  ls
  exit 1
'';
[nathan@nathanlaptopv:~/stuff/minix]$ nix build .#default.natives -o result.natives --impure 
warning: Git tree '/home/nathan/stuff/minix' is dirty
error: builder for '/nix/store/ism9a3hc95kicrlsw79q2hzv2wrnnlk6-natives.drv' failed with exit code 1;
       last 4 log lines:
       > Exception in thread "main" java.lang.IllegalArgumentException: Unknown architecture: amd64
       >        at top.focess.minecraft.minecraftnativesdownloader.platform.Architecture.parse(Architecture.java:25)
       >        at top.focess.minecraft.minecraftnativesdownloader.MinecraftNativesDownloader.main(MinecraftNativesDownloader.java:90)
       > /nix/store/qi9if4d5j6qw0xvf08kck2ajqg44dxy4-a: line 3: ls: command not found
       For full logs, run 'nix log /nix/store/ism9a3hc95kicrlsw79q2hzv2wrnnlk6-natives.drv'.

[nathan@nathanlaptopv:~/stuff/minix]$ uname -a
Linux nathanlaptopv 6.6.27 #1-NixOS SMP PREEMPT_DYNAMIC Sat Apr 13 11:07:41 UTC 2024 x86_64 GNU/Linux

[nathan@nathanlaptopv:~/stuff/minix]$ sudo nix-env -p /nix/var/nix/profiles/system --list-generations | tail -1
  61   2024-05-05 22:45:05   (current)```

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.