Giter Club home page Giter Club logo

crackunityhub's Introduction

CrackUnityHub

效果

image-20200920025022069

操作方法

方案1

下载 Release 中的 工具压缩包,解压得到 CrackHub.exe 文件,然后 双击执行exe 即可。

方案2

自己手动修改,请搭建 Node.js 和 asar 环境,然后按照下面的修改逻辑修改即可。

代码修改逻辑

  1. 先解包:asar extract app.asar app

  2. 修改 build\services\licenseService\licenseClient.js 中的 getLicenseInfo 方法为如下代码:
    	getLicenseInfo(callback) {
            licenseInfo.activated = true;
            licenseInfo.flow = licenseCore.licenseKinds.PRO;
            licenseInfo.label = licenseCore.licenseKinds.PRO;
            licenseInfo.offlineDisabled = false;
            licenseInfo.transactionId = licenseCore.getTransactionId();
            licenseInfo.startDate = new Date('1993-01-01T08:00:00.000Z');
            licenseInfo.stopDate = licenseCore.getInfinityDate();
            licenseInfo.displayedStopDate = false;
            licenseInfo.canExpire = false;
            const licenseInfoString = JSON.stringify(licenseInfo);
            if (callback !== undefined) {
                callback(undefined, licenseInfoString);
            }
            return Promise.resolve(licenseInfoString);
        }
  3. 修改 build\services\localAuth\auth.js 中的 getDefaultUserInfo 方法为如下代码:
    	static getDefaultUserInfo() {
            return {
                accessToken: '',
                displayName: 'anonymous',
                organizationForeignKeys: '',
                primaryOrg: '',
                userId: 'anonymous',
                name: 'anonymous',
                valid: false,
                whitelisted: true
            };
        }
  4. 最后打包即可:asar pack app app.asar

crackunityhub's People

Contributors

tylearymf 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.