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

Support older versions of macOS #423

Open
ok-coder1 opened this issue Jul 28, 2024 · 29 comments
Open

Support older versions of macOS #423

ok-coder1 opened this issue Jul 28, 2024 · 29 comments
Labels
bug Something doesn't work as expected fixed in source Bug has been fixed in source-code, but has not been released yet

Comments

@ok-coder1
Copy link

Does it work with older versions of macOS?

I am using macOS Sierra 10.12.6.

The latest version does not work.

@theRookieCoder
Copy link
Collaborator

Can you describe what you mean by "it doesn't work".

@ok-coder1
Copy link
Author

ok-coder1 commented Jul 29, 2024

Ferium v4.7.0 on macOS 10.12.6:
dyld: cannot load 'ferium' (load command 0x80000034 is unknown)

@theRookieCoder theRookieCoder changed the title Does it work with older versions of macOS? Support older versions of macOS Jul 30, 2024
@theRookieCoder theRookieCoder added the bug Something doesn't work as expected label Jul 30, 2024
@theRookieCoder
Copy link
Collaborator

This will require some changes in the build action. For now, you can compile it from source to make it work.

@ok-coder1

This comment was marked as off-topic.

@ok-coder1

This comment was marked as off-topic.

@theRookieCoder

This comment was marked as off-topic.

@ok-coder1

This comment was marked as off-topic.

@ok-coder1

This comment was marked as resolved.

1 similar comment
@ok-coder1

This comment was marked as resolved.

@ok-coder1
Copy link
Author

It's not that hard with Rust, just run curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh to install the toolchain, then run cargo install ferium to download the source code and install the program. Sure it's not that fast, but it should get you up and running <30 mins.

Crate ring@0.17.8 does not build as it needs macOS 10.13, but I have macOS 10.12.6.

@ok-coder1
Copy link
Author

It's been more than 2 months, any update?

@Nekkowe
Copy link

Nekkowe commented Oct 17, 2024

Your best bet is switching to an operating system that's still being actively maintained.
Sierra is not receiving security patches anymore (as of December 2019). It's not safe to use.

macOS Sierra is over seven years out of date, and macOS in general is a pain to develop for at the best of times. Only a vanishingly small number of people still use Sierra and would benefit from the work required to get ferium running on it. And if a depencency (like ring, apparently) is dependent on a later version of macOS, it could take a lot of time and effort to get & keep ferium working on your version of mac.

You might be out of luck here. This is just my personal opinion, but I don't think it's reasonable to expect someone else to invest time into getting this working on Sierra for - in all likelihood - just you alone.

I don't know your situation, but it looks to me like you should absolutely either switch to an up-to-date version of macOS, or move to a different operating system altogether.

@ok-coder1
Copy link
Author

switch to an up-to-date version of macOS

The latest I can upgrade to officially is 10.13, which has also reached is end-of-life.

move to a different operating system altogether

I could, but that's not possible. (Boot Camp is only for Windows 7/8 on my macOS, and anyways I don't have enough storage space for it)

Using Virtual Machines might be possible, but the frame rate will be around 2 FPS.

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented Oct 18, 2024

Rustup seems to have had the same issue, lowering the deployment target in their CI worked for them. I will try that too.

@theRookieCoder
Copy link
Collaborator

@ok-coder1
Copy link
Author

ok-coder1 commented Oct 18, 2024

@ok-coder1 could you test this build https://github.com/gorilla-devs/ferium/actions/runs/11402652147/artifacts/2073737987

Users-iMac:~ User$ cd Downloads/
Users-iMac:Downloads User$ cd binaries-macos-latest
Users-iMac:binaries-macos-latest User$ ls
ferium			ferium-macos-arm.zip	ferium-macos-x64.zip
Users-iMac:binaries-macos-latest User$ ./ferium 
Fast CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and Github Releases

Usage: ferium [OPTIONS] <COMMAND>

Commands:
  add       Add mods to the profile
  scan      Scan the profile's output directory (or the specified directory) for mods and add them to the profile
  complete  Print shell auto completions for the specified shell
  list      List all the mods in the profile, and with some their metadata if verbose [aliases: mods]
  modpack   Add, configure, delete, switch, list, or upgrade modpacks
  modpacks  List all the modpacks with their data
  profile   Create, configure, delete, switch, or list profiles
  profiles  List all the profiles with their data
  remove    Remove mods and/or repositories from the profile. Optionally, provide a list of names or IDs of the mods to remove [aliases: rm]
  upgrade   Download and install the latest compatible version of your mods [aliases: download, install]
  help      Print this message or the help of the given subcommand(s)

Options:
  -t, --threads <THREADS>
          Sets the number of worker threads the tokio runtime will use. You can also use the environment variable `TOKIO_WORKER_THREADS`
  -p, --parallel-network <PARALLEL_NETWORK>
          Specify the maximum number of parallel network requests to perform
      --github-token <GITHUB_TOKEN>
          Set a GitHub personal access token for increasing the GitHub API rate limit. You can also use the environment variable `GITHUB_TOKEN` [aliases: gh]
      --curseforge-api-key <CURSEFORGE_API_KEY>
          Set a custom Curseforge API key. You can also use the environment variable `CURSEFORGE_API_KEY` [aliases: cf]
  -c, --config-file <CONFIG_FILE>
          Set the file to read the config from. This does not change the `cache` and `tmp` directories. You can also use the environment variable `FERIUM_CONFIG_FILE` [aliases: config, conf]
  -h, --help
          Print help
  -V, --version
          Print version
Users-iMac:binaries-macos-latest User$ 

Looks like it worked! Thanks a lot!

@ok-coder1
Copy link
Author

ok-coder1 commented Oct 18, 2024

You could release this as a point update, like in rustup.

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented Oct 18, 2024

Well that was easier than I expected, hopefully it doesn't cause any other issues.

Fixed in d9a1017

@theRookieCoder
Copy link
Collaborator

I don't think I will be dedicating a release to this, I have huge changes pending that I want to release together. Let me know if the CI build causes any issues in the meantime.

@ok-coder1
Copy link
Author

I don't think I will be dedicating a release to this, I have huge changes pending that I want to release together. Let me know if the CI build causes any issues in the meantime.

Okay.

@theRookieCoder theRookieCoder added the fixed in source Bug has been fixed in source-code, but has not been released yet label Oct 19, 2024
@ok-coder1 ok-coder1 reopened this Oct 19, 2024
@ok-coder1
Copy link
Author

ok-coder1 commented Oct 19, 2024

Not released yet, so opening.

@ok-coder1 ok-coder1 reopened this Oct 19, 2024
@ok-coder1
Copy link
Author

asciicast

Ferium does not remove through the ID for some reason now.

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented Nov 1, 2024

You are trying to remove a mod using its slug, that is not (and never was) supported.

@ok-coder1
Copy link
Author

You are trying to remove a mod using its slug, that is not (and never was) supported.

WDYM never was? I remember removing a few mods using their slugs when I first got it to work.

@ok-coder1
Copy link
Author

ok-coder1 commented Nov 1, 2024

Actually, now that I think of it, I think I removed mods (probably one word ones like Sodium) using their name, not slugs.

@theRookieCoder
Copy link
Collaborator

I removed mods (probably one word ones like Sodium) using their name, not slugs.

Yes precisely, only removing by ID and name is supported.

@ok-coder1
Copy link
Author

Can you please add this feature of removing mods using slugs?

@theRookieCoder
Copy link
Collaborator

#439

@ok-coder1
Copy link
Author

#439

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something doesn't work as expected fixed in source Bug has been fixed in source-code, but has not been released yet
Development

No branches or pull requests

3 participants