@duanluan/codex-plus-plus-launcher 0.1.13 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,7 +23,7 @@ npm install -g @duanluan/codex-plus-plus-launcher
23
23
 
24
24
  postinstall 只安装入口和快捷方式,不会自动启动 Codex++、管理工具或 Codex 进程。
25
25
 
26
- Windows/npm 路线默认把“更新 Codex++”收敛成“更新这个 wrapper 包”。也就是说,用户获取最新 Codex++ 能力的主要方式是升级 `@duanluan/codex-plus-plus-launcher`;wrapper 在发版时会重新同步并打包当时最新的上游 GitHub Release,而不是要求用户单独运行上游 `.exe` / `.dmg` 安装器。
26
+ Windows/npm 路线默认把“更新 Codex++”变成“更新这个 wrapper 包”。也就是说,用户获取最新 Codex++ 能力的主要方式是升级 `@duanluan/codex-plus-plus-launcher`;wrapper 在发版时会重新同步并打包当时最新的上游 GitHub Release,而不是要求用户单独运行上游 `.exe` / `.dmg` 安装器。
27
27
 
28
28
  ## 常用命令
29
29
 
@@ -1 +1 @@
1
- __version__ = "0.1.13"
1
+ __version__ = "1.2.0"
@@ -11,7 +11,7 @@ import tempfile
11
11
  import time
12
12
  from dataclasses import dataclass
13
13
  from datetime import datetime, timezone
14
- from pathlib import Path
14
+ from pathlib import Path, PureWindowsPath
15
15
  from typing import Any
16
16
 
17
17
  from codex_plus_plus_launcher import __version__
@@ -741,7 +741,7 @@ def install_windows_shortcuts(paths: RuntimePaths, mode: str = "real") -> Instal
741
741
  start_menu_dir = Path(os.environ.get("APPDATA", str(Path.home() / "AppData" / "Roaming"))) / "Microsoft" / "Windows" / "Start Menu" / "Programs"
742
742
  desktop_link = desktop_dir / "Codex++.lnk"
743
743
  start_menu_link = start_menu_dir / "Codex++.lnk"
744
- shortcut_target = Path(os.environ.get("SystemRoot", r"C:\Windows")) / "System32" / "wscript.exe"
744
+ shortcut_target = Path(str(PureWindowsPath(os.environ.get("SystemRoot", r"C:\Windows")) / "System32" / "wscript.exe"))
745
745
  arguments = f'"{launcher_script}"'
746
746
  working_directory = paths.home
747
747
  description = "Launch Codex++"
@@ -45,7 +45,7 @@ function packageBuildArgs(key) {
45
45
  function main() {
46
46
  const root = packageRoot();
47
47
  const upstreamDir = process.env.CODEXPP_UPSTREAM_DIR || path.join(os.tmpdir(), 'CodexPlusPlus-upstream-build');
48
- const ref = process.env.CODEXPP_UPSTREAM_REF || 'v1.1.7';
48
+ const ref = process.env.CODEXPP_UPSTREAM_REF || 'v1.2.0';
49
49
  const key = process.env.CODEXPP_SIDECAR_PLATFORM || platformKey();
50
50
  const outDir = path.join(root, 'upstream-bin', key);
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duanluan/codex-plus-plus-launcher",
3
- "version": "0.1.13",
3
+ "version": "1.2.0",
4
4
  "description": "Install and launch Codex++ from npm",
5
5
  "bin": {
6
6
  "cxpp": "npm/cxpp.js",
@@ -1,16 +1,16 @@
1
1
  {
2
- "version": "v1.1.7",
3
- "html_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/tag/v1.1.7",
4
- "asset_name": "CodexPlusPlus-1.1.7-macos-arm64.dmg",
5
- "asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.1.7/CodexPlusPlus-1.1.7-macos-arm64.dmg",
6
- "windows_asset_name": "CodexPlusPlus-1.1.7-windows-x64-setup.exe",
7
- "windows_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.1.7/CodexPlusPlus-1.1.7-windows-x64-setup.exe",
8
- "macos_x64_asset_name": "CodexPlusPlus-1.1.7-macos-x64.dmg",
9
- "macos_x64_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.1.7/CodexPlusPlus-1.1.7-macos-x64.dmg",
10
- "macos_arm64_asset_name": "CodexPlusPlus-1.1.7-macos-arm64.dmg",
11
- "macos_arm64_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.1.7/CodexPlusPlus-1.1.7-macos-arm64.dmg",
12
- "source_zip_url": "https://github.com/BigPizzaV3/CodexPlusPlus/archive/refs/tags/v1.1.7.zip",
13
- "install_spec": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.1.7/CodexPlusPlus-1.1.7-macos-arm64.dmg",
14
- "commit": "333c2b0c0d0167fa181df1690140f14c863dad6f",
2
+ "version": "v1.2.0",
3
+ "html_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/tag/v1.2.0",
4
+ "asset_name": "CodexPlusPlus-1.2.0-macos-arm64.dmg",
5
+ "asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.2.0/CodexPlusPlus-1.2.0-macos-arm64.dmg",
6
+ "windows_asset_name": "CodexPlusPlus-1.2.0-windows-x64-setup.exe",
7
+ "windows_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.2.0/CodexPlusPlus-1.2.0-windows-x64-setup.exe",
8
+ "macos_x64_asset_name": "CodexPlusPlus-1.2.0-macos-x64.dmg",
9
+ "macos_x64_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.2.0/CodexPlusPlus-1.2.0-macos-x64.dmg",
10
+ "macos_arm64_asset_name": "CodexPlusPlus-1.2.0-macos-arm64.dmg",
11
+ "macos_arm64_asset_url": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.2.0/CodexPlusPlus-1.2.0-macos-arm64.dmg",
12
+ "source_zip_url": "https://github.com/BigPizzaV3/CodexPlusPlus/archive/refs/tags/v1.2.0.zip",
13
+ "install_spec": "https://github.com/BigPizzaV3/CodexPlusPlus/releases/download/v1.2.0/CodexPlusPlus-1.2.0-macos-arm64.dmg",
14
+ "commit": "68f72e36db03c3052145e8fd1601847ac0f54d17",
15
15
  "repository": "BigPizzaV3/CodexPlusPlus"
16
16
  }