GithubHelp home page GithubHelp logo

bitcoder0 / fixpackagemanagerseeallversions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forestrf/fixpackagemanagerseeallversions

1.0 0.0 0.0 222 KB

Allows viewing the button `See All Versions` in the Package Manager, which was hidden after Unity 2021 by design.

License: MIT License

C# 100.00%

fixpackagemanagerseeallversions's Introduction

FixPackageManagerSeeAllVersions

Allows viewing the button See All Versions in the Package Manager, which was hidden after Unity 2021 by design.

This is needed because updating packages sometimes introduces new bugs, requiring to go back to a previous version. Without this button, such task must be done manually by editing the Packages/manifest.json file.

How to use

Drag and drop the folder FixPackageManagerSeeAllVersions anywhere in the Assets folder of your Unity project.

Open the package manager, click on the cog button next to the search toolbar, click Advanced Project Settings and toggle on See All Versions

Image showing the feature

How it works

The button is only shown if the setting See All Versions is true. This setting is hidden and set to false if Unsupported.IsDeveloperBuild() returns false. Using Harmony that method is patched so that it returns always true instead of going inside Unity and ultimately return false. That means this solution can lead to side effects, but was the simplest one and I expect such side effects to not be problematic. Hopefully.

Harmony patches the method after opening Unity or recompiling code and should takes less than a second.

Other

It makes use of https://github.com/pardeike/Harmony to patch Unity.

If you are already using Harmony for something else, make sure only one copy of the 0harmony.dll exists. Just remove all but one of them and that should be enough.

fixpackagemanagerseeallversions's People

Contributors

forestrf avatar

Stargazers

 avatar

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.