Skip to content

Migrating from v1.1.1 to v0.1.3

Zyrouge edited this page Oct 27, 2023 · 1 revision

This migration requires changes to main configuration file and application's source configuration files and thus requires you to edit them manually.

Editing the main configuration file

  • Open ~/.config/pho/config.json in an text editor.
  • In every record's value of Installed, you should append config.pho.json at the end. It should look something like below.
{
  ...
  "Installed": {
    "<app-id>": "<app-installed-dir>/config.pho.json"
  }
}

Editing the application's source configuration file

This only applies to applications installed using pho install github command.

Every application's configuration source file must be manually edited.

  • Open the application's directory.
  • Open source.pho.json and edit it to suit the below format.
{
  "UserName": "<github-username>",
  "RepoName": "<github-reponame>",
  "Release": "<latest|prerelease|any>"
}