Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

small fix: relative path for data_dir #512

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 24, 2023

  1. fix: relative path for data_dir

    client.ts uses "require()" for config loading and "fs.writeFile()" for
    writing. Two functions use different basepaths ("require()" searches
    files under the parent dir of the current .js file while another one
    uses cwd), so they may not be the same path. This may cause oicq to
    refresh user data every time it boot, since it cannot find the original
    config file.
    JulianDroske committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    1a2a90f View commit details
    Browse the repository at this point in the history