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

Commit

Permalink
Merge pull request #5 from AgoraIO-Community/dev/fix
Browse files Browse the repository at this point in the history
Dev/fix
  • Loading branch information
zhangtao1104 authored Jul 13, 2022
2 parents 0a0fbf3 + 36d20ff commit 8762c48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [4.0.0-beta.2](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2022-07-13)


### Bug Fixes

* download addon version issue ([19d542c](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/19d542c7d9ceba9226ac25ad4f6a4c361d47f31b))

# 4.0.0-beta.1 (2022-07-11)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-agora-rtc-ng",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"description": "electron-agora-rtc-ng",
"main": "js/AgoraSdk.js",
"types": "types/AgoraSdk.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion scripts/getConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ logger.info(`process.env.INIT_CWD ${process.env.INIT_CWD}`);

const getArgvFromPkgJson = () => {
const projectDir = path.join(INIT_CWD, "package.json");
const { agora_electron = {}, version } = require(projectDir);
const { agora_electron = {} } = require(projectDir);
const { version } = require(path.join(process.env.INIT_CWD, "package.json"));
const {
prebuilt = true,
platform = process.platform,
Expand Down

0 comments on commit 8762c48

Please sign in to comment.