# 小派开发者工具

# Get the Utility

  1. Choose the appropriate download for your system:

  2. Installation: After the installation is complete, press the WIN + R to open and run, enter cmd and press Enter to enter the command prompt, and then you can use the Developer utility command.

# Prerequisites

# Developer Account

You will need a developer account to use the developer utility, you can find how to became a Pimax develop here

# Find Your App ID

  • Log in to the pimax developer portal with your pimax developer center account and navigate to My Apps (opens new window).

  • Find the app in your app list .

  • After entering, look for App ID. The following image shows an example of this page:

appid

# Get build ID

You will need a build ID to download existing builds. You can find it in a few different ways:

  • Get the build ID from the output when you successfully upload an app build using the utility.

  • View the build ID on the build by viewing the app details in the developer center. The build number will be displayed as follows.:

buildid

# Command Reference

Following are some commands we can use in various situations.

# Check the version of the developer tools

pimax-dev-util version

# Get help

pimax-dev-util help

# Login to the developer account

pimax-dev-util login -u <username> -p <password>

# Upload task build

You need to log in to upload, select the address of the application you want to upload, where < appid > can be viewed in the developer center:

  • Upload a pc application, currently only zip files with deflate as compression method are support.

  • Please don't add extra layers to the zip package.

    Good example : myapp.zip/startup.exe

    Bad example: myapp.zip/appfolder/startup.exe (where appfolder is a wrong example, in this case, the Startup Path under Build Information in the developer center should be set to appfolder\app.exe (note the backslash) )

pimax-dev-util upload-pc-build -a <appid> -d <zipfilepath>
parameter describe
-a < appid > must. Specifies the ID of the application.
-d < zipfilepath > must. Specifies the path to zipped file of your application. Note: Currently this command only supports zip format with deflate as compression method
  • Upload an all-in-one application, currently only apk files are received:
pimax-dev-util upload-apk-build -a <appid> -d <apkfilepath>
parameter describe
-a < appid > must. Specifies the ID of the application.
-d < apkfilepath > must. Specifies the path to the apk application file to upload.

Your build id will be displayed when the upload is complete:

commondbuildid

# Example

Need to upload a pc application:

pimax-dev-util login -u myusername -p mypassword
pimax-dev-util upload-pc-build -a 123456 -d d:\\app.zip